By Bryce / Last Updated March 2, 2021

The symptom “error: no such partition. grub rescue” on Windows 10

“Previously, I had installed Ubuntu Linux and Windows 10 on my laptop. I uninstalled Ubuntu and delete the related partition. After that, when I boot my PC, I get 'error: no such partition. Entering rescue mode. grub rescue>_’ on a black screen. What’s wrong with Windows 10? Why can’t I boot it? How can I fix no such partition error?”

Error No Such Partition Grub Rescue

How do I fix error no such partition grub rescue on Windows 10?

Error no such partition entering rescue mode grub rescue is common after Ubuntu Linux is removed from dual boot PC. The error occurs mainly out of misconfigured bootloader or wrong active partition. To fix no such partition error, go to the first part, you have Windows installation or repair disc; otherwise, refer to the second part.

▶ Part 1 Fix no such partition with Windows installation or repair disc
▶ Part 2. Fix no such partition with a bootable USB drive

Part 1 Fix no such partition with Windows installation/repair disc

With Windows 10 installation/repair disc, you can run Startup Repair or go to Command Prompt to repair Windows 10.

✔ Run Startup Repair

Step 1. Insert the Windows 10 installation CD/DVD in your computer.

Windows Installation Cd

Step 2. Reboot the PC; press a functional key to enter BIOS and boot from the installation disc.

Step 3. Choose a language, a time, a currency and a keyboard or another input way. Then, click “Next”.

Windows 10 Setup

Step 4. In this windows, click “Repair your computer”.

Step 5. In Choose an option window, choose Troubleshoot.

Step 6. Choose “Advanced options” and “Startup Repair”.

Then, wait patiently for Windows automatic repair to complete.

✔ Access Command Prompt to fix the error manually

When Startup Repair not working, you can go to Command Prompt (Boot from Windows 10 installation disc, go to “Repair your computer” > “Troubleshoot” > “Advanced options > Command Prompt” and run commands to fix bootloader or set active partition.

① Rebuild BCD

  • bootrec /fixmbr

  • bootrec /fixboot

  • bootrec /rebuildbc

② Restore boot sector code

  • diskpart

  • list volume

Here all volumes will be listed, locate the Windows installation CD/DVD and keep the drive letter of it in mind.

  • exit

  • <drive letter>: cd boot dir

  • bootsect /nt60 SYS /mbr

  • exit

Then, you can remove the CD/DVD from the disk tray and reboot the PC to see if the error no such partition grub error resolved.

③ Set active partition

Or you can set right partition as active from Command Prompt to fix the error. The commands are given below:

  • diskpart

  • list part

  • select partition x

  • active

  • exit

Then, disconnect the Windows 10 installation disc and restart your computer to check whether no such error disappear.

Part 2. Fix no such partition with a bootable USB drive

If Startup Repair or Command Prompt is not available as you don’t have Windows installation or repair disc, it’s time to employ a third-party bootable USB creator, AOMEI Partition Assistant Standard to repair boot failure for Windows 10. Free download it on a working PC and create a bootable USB drive. Then, insert the bootable USB into the PC that’s stuck in no such partition grub rescue issue, boot the PC from the USB drive and repair OS.

Step 1. After booting from the bootable USB drive successfully, you’ll in the main interface of AOMEI Partition Assistant Standard. Right click the system hard drive and choose “Rebuild MBR”.

Step 2. Choose a type for MBR based on the current OS of the hard drive.

Step 3. Click “Apply” and “Proceed” to execute the operation.

Note: AOMEI Partition Assistant has many other fuancitons available, such as surface test, check/ repair bad sector and so on.

Further reading: how to fix error no such partition grub rescue on Linux Ubuntu

We have discussed how to deal with error no such partition grub rescue on Windows 10. Actually, the error can also happen after resizing Ubuntu partition, restoring Ubuntu OS to an old version or reinstall Ubuntu OS. Then, how to fix no such partition error on Ubuntu?

Step 1. Boot Ubuntu from a bootable live CD/DVD. Run “grub rescue>ls” to list all partitions. Then, you can run the following commands to list file system of partition

  • grub rescue> ls (hd0,1)

  • grub rescue> ls (hd0,2)

  • grub rescue> ls (hd0,…)

Note: Remember the partition whose file system is normal rather than unknown (here is hd0 msdos3).

Step 2. Run commands below:

  • grub rescue> set root=(hd0,3)

  • grub rescue> set prefix=(hd0,3)/boot/grub

  • grub rescue>insmod(hd0,3) /boot/grub/normal.mod

  • grub rescue> normal

Step 3. Then, reboot your computer and enter Ubuntu Linux; then run the following commands:

  • sudo update-grub

  • sudo grub-install /dev/sda

Step 4. You can reboot your PC to see if the issue is resolved.