Thursday, 28 May 2015

How to fully fix the Windows bootloader using a Windows disk

If your system is dual booted with Windows XP/Vista/7/8 and ubuntu and you want to get rid off ubuntu partition. One can simply delete the space allocated to ubuntu from Disk Manager. But this would take away access to windows partition.
When system is restarted, it throws the error!

No Such partition.
Grub rescue>

Here is a simple method to restore Windows loader and start your system with windows.

Also visit: Repair Grub without booting from LiveCD.

XP:


  • Boot on your Windows XP installation CD or XP Recovery console. You will get to a part where it asks if you want to repair or recover. To do so, press "r". If prompted, enter your Windows XP administrator password. This will leave you at at a command line, so type in the following two commands:
fixboot

fixmbr

  • Then type
exit

  • Then remove your XP cd. If everything has gone well, you should come to your XP bootloader.

Windows Vista or 7 or 8

First boot on your Windows Vista/7/8 installation DVD/USB. 
  • When you get to the Regional settings, select your Location/Keyboard setting then click next. On the next page, click on "Repair your computer." On the next page, if it finds your Windows installation, make sure it is UNSELECTED before clicking next. Then click on "Command prompt". 




  • From there, type in the following 2 commands:
bootrec.exe /fixboot

bootrec.exe /fixmbr

  • Now close the two windows and click "Restart." Take out your Windows DVD and hopefully, you will be left with your Windows bootloader.

No comments:

Post a Comment