Get the fix to “Error: no such partition. Grub rescue>” boot error for Windows XP and 7. This error is usually displayed on computers with the Linux distribution Ubuntu installed as it uses the GRUB installer.


Another related issues on PCs with Ubuntu on is the “Cannot find GRLDR” error. You can find more about this particular error on our Wiki at “Cannot find GRLDR: Fix for Windows XP and 7″ article.
There are no other known alternative error message related to this boot error.

Fix Error: no such partition. Grub rescue> in Windows XP and 7

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Fix #1: Rebuild the BCD

You can rebuild the master boot sector with bootrec.exe, the tool available in the Windows Recovery Environment.
  1. Insert your Windows install disc
  2. Press any key at the “Press any key to boot from CD or DVD” message to boot from the disc
  3. Choose Repair your computer after you select the language, time and keyboard method (for Windows 7 users). XP users: Press R to access Recovery Console
  4. Select your Windows installation drive (usually C:\) and click Next. XP users may not have this step.
  5. Select Command Prompt in the System Recovery Options box. Users of XP will need to enter their Administrator password to open Command Prompt
  6. Write the following commands in the Command Prompt:
    bootrec /fixmbr
    bootrec /fixboot
    bootrec /rebuildbcd

Fix #2: Manually configuring the active partition

A very common cause for this error to show up is not having the correct partition set as active. Referring to the description of how the PC boots, the BIOS tries to start the boot loader up from the active partition and the bootloader searches for its configuration data from the active partition as well. If the active partition is corrupted or incorrectly set, many errors including this “Error: no such partition.” can happen.
Use diskpart from the command line to set the correct partiton.
  1. Execute the following commands to see a list of all partitions on your disk:
    diskpart
    list part
  2. Once you’ve determined which of the displayed partition needs to be active (not sure? Easy Recovery Essentials can automatically detect problems with your active partition and automatically reconfigure the correct partition for you, no command line needed), carry out the steps below to make the changes:
  3. select partition x
    active
    quit
  4. Reboot for the changes to take place.

Fix #3: Use Easy Recovery Essentials

Easy Recovery Essentials (Windows recovery and repair disc) can fix this boot error automatically and faster. It works with Windows XP, Vista, 7 or 8.
  1. Download Easy Recovery Essentials. Choose your Windows version (XP, Vista, 7 or 8) before downloading
  2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky!
  3. Boot into Easy Recovery Essentials
  4. Choose the Automated Repair option and click Continue
    Easy Recovery Essentials Repairs Error: no such partition. Grub rescue
    Choose “Automated Repair” in Easy Recovery Essentials
  5. Choose your Windows installation drive’s letter (usually C:\) and click the Automated Repair button
  6. Easy Recovery Essentials will now begin to fix the error automatically
    Easy Recovery Essentials repairs boot errors
    Easy Recovery Essentials Starts the Process
  7. Once the process is complete, click on Restart
  8. Fixed, the “Error: no such partition. Grub rescue>” error is now fixed in Windows XP or Windows 7:
    Windows XP and 7 Boot Screen
    Windows XP and 7 Starting Up
You can download Easy Recovery Essentials from here.

Fix #4: Windows 7 Users: Restore the boot sector code

  1. Boot from your Windows disc
  2. Choose Repair your computer after you select the language, time and keyboard method
  3. Select your Windows installation drive (usually C:\) and click Next
  4. Select Command Prompt in the System Recovery Options box
  5. Determine which drive letter is your Windows install disc by typing these commands in the Command Prompt:
    diskpart
    select disk 0
    list volume
  6. Look for the “CD-ROM” value in “Type” column in the new table and you’ll see your installation drive letter
  7. Now go to the boot folder from your disc using these commands below. Note that we’ll be using D: (second command below) as our installation drive letter; yours may be different.
    exit
    D:
    cd boot
    dir
  8. Verify that you have a bootsect.exe file listed. If so, enter the next command:
    bootsect /nt60 SYS /mbr
  9. Press Enter when the process is complete and then type exit:
    exit
  10. Restart your computer