Nowadays there are always many disk or partition problems during the process of using a laptop or desktop. When an issue appears, usually it is followed by a message which informs you the specific error. Among them, no such partition error in Windows is very common, which is very common in the dual system. In this post, I will introduce you solution to solve the problem.
The other day I was trying to extend my root partition of Ubuntu which I dual boot with Windows 10. The partition extension was successful except that I screwed up the Grub configuration.
When I booted in my laptop after the partition changes, I was welcomed by the Death Screen of Linux saying:
error: no such partition
After googling a bit, I found that there are some assumption and some requirements to fix the error: no such partition grub rescue problem.
No Such Partition
No such partition error always appear when you boot your computer, then an error message "GRUB loading.
Welcome to GRUB! Error: no such partition. Entering rescue mode… grub rescue>" or "error: no such partition.
grub rescue>" is following, just like the following picture shown.
When Does The Error Happen
Now, suppose that there are two systems, Windows 10 and Ubuntu. You may choose to do some disk and partition operations to these two operating system partitions on the same hard disk, especially Ubuntu OS partition.
However, in some circumstances, error no such partition in Windows 10 happens.
- Delete Ubuntu Partition
For a long time, you don't like such a system because you may think this command line based system is difficult to use, so you want to uninstall it for a new partition creation. Or there is only a bit of free disk space left, so you decide to delete such a partition to free up some disk space and extend your other partitions.
- Resize/Merge/Split Partition
When managing your hard drive, such as resize/merge/split Ubuntu partition, perhaps this issue appears when restarting your computer.
- Reinstall Ubuntu OS
Sometimes, you reinstall Ubuntu operating system for some reasons including system breakdown, or system file damage.
- Restore Ubuntu OS to the Old Version
After making an upgrade, some issues often appear, so some of you choose to restore to the old Version, such as Ubuntu 8.X.
Why No Such Partition Grub Rescue Windows 10 Occurs
You may ask that what the specific factors causing such a problem on your computer. I would like to make a detailed analysis of this error.
- Generally speaking, the most common reason of this error is due to a misconfigured boot loader file. While installing Ubuntu in Windows, a part of Grub lives in the Master Boot Record (MBR), while the other parts live in the Linux boot partition. That is to say, although the Ubuntu partition is deleted, Grub is still in MBR. In addition, the active partition is not set correctly. As a result, on the startup of operating system Windows 10, you receive such an error of "no such partition grub rescue".
- When resizing Ubuntu partition, UUID is modified, so Grub can't read the boot information.
- When reinstalling Ubuntu system, you may install it to a new partition, and the original partition has been formatted, but you haven't reinstalled Grub 2.
- While restoring to Ubuntu 8.X, the Grub is the version 1, so Grub 2 is damaged.
How to Fix Ubuntu Grub Rescue in Windows 10 Case 1: When Deleting Ubuntu Partition
As you know, after uninstalling Ubuntu partition, Windows 10 is unable to boot due to boot loader files, so the important thing is to fix MBR and restore the boot sector code. How to do the work? Read on now.
Solution 1: Fix MBR and Restore Boot Sector Code
Rebuild MBR with MiniTool Partition Wizard
In order to fix boot sector and BCD files easily and effectively, you can ask for a third-party tool for help. When searching such a tool online, many kinds of software are listed here.
Among them, MiniTool Partition Wizard is popular in managing partition and disk, now it is recommended to you. As a professional and reliable partition manager, this tool can be used to resize partition, extend partition, copy partition, migrate OS to SSD/HD, convert between NTFS and FAT32, convert disk between MBR and GPT, rebuild MBR, recover partition and so on.
This partition magic owns five editions, including Free Edition, Professional Edition, Server Edition, Enterprise Edition and Technician Edition. Besides, this tool has "Bootable Media" feature which is available when there is no operating system or your OS fails to boot.
Here in this post, MiniTool Partition Wizard Professional Edition is a good choice in Windows 10, which supports such a feature to enable you to rebuild MBR when error no such partition in Windows 10 issue occurs.
The Guidance of Rebuilding MBR with MiniTool Partition Wizard
Step 1: After booting your computer, you will enter the following interface. Click "Partition Wizard" to launch this tool.
Step 2: Then you will enter into the main interface of MiniTool Partition Wizard. Please select the target disk within Windows 10 operating system, and then click "Rebuild MBR" feature from "Check Disk" menu.
Step 3: At last, click "Apply" to execute this change.
With MiniTool Partition Wizard Professional Edition, you can easily rebuild MBR. After restarting your PC, the error no such partition can be fixed.
Rebuild BCD Files with Windows 10 Automatic Repair
In addition to using a third-party tool, there is another way can be used to repair error no such partition grub rescue after deleting Ubuntu issue. When Windows 10 is unable to boot, if you restart system several times, the system will enter into WinRe mode.
Sometimes Win 10 system will go to Automatic Repair interface automatically or you can use a Windows 10 installation disc to go into this recovery environment. Then repair your system according to the step-by-step guidance by grub rescue commands boot Windows.
1. Under "Choose an option" tab, click "Troubleshoot" button.
2. Then click "Advanced options" feature. In the pop-up window, choose "Command Prompt" to start to fix BCD files.
3. Once CMD starts, type the following commands in turn:
4. At last, close Command Prompt and restart your computer.
Then, probably deleted Ubuntu partition grub rescue error will be fixed.
Case 2: When Doing Certain Ubuntu Partition Operations
It is possible that Grub is damaged when managing Ubuntu, such as resize partition and reinstall Ubuntu OS, so you can choose to reinstall or fix Grub. When Ubuntu grub rescue in Windows 10 issue occurs, you can see grub rescue> prompt appears in screen, which means Grub 2 has failed to find the grubfolder, the grub.cfgfile, and/or the associated modules.
It is presented so you can provide the path to the grub folder, load the necessary modules, and provide the proper boot commands. Generally, this prompt occurs due to an incorrect path to the grubfolder, a failure to update Grub 2 after certain system or partition operations, improper designation of the grubfolder location, or a failed installation.
In order to successfully fix grub, please do as the following commands show, a screenshot is provided to you:
For more information, please visit this video:
How to Avoid No Such Partition Error
In order to avoid such an issue to happen again, you should pay attention to the following points:
- If you want to delete Ubuntu OS in a dual system, please do this work in a correct way. Here is a way from one forum:
- If you want to reinstall Ubuntu operating system, please ensure the new system is installed to the original partition.
- You'd better not restore your Ubuntu system to an old version, otherwise, Grub can be damaged.
Category: Data Recovery ServicesCompany about: MiniTool Solution Ltd. is a software development company based in Canada. As a dedicated software development company, MiniTool Solution Ltd. provides customers with complete business software solutions in the data recovery and partition management industry.