Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD? Thank you in advance.

share|improve this question

It sounds to me like he has deleted the 100Mb boot partition, or deleted and messed up the Windows boot loader.

If he doesn't have a recovery disk, the best thing you can do is simply download a trial disk and burn it then boot from it.

Windows PE should load (The installation environment) then choose the option to repair your machine.

It should detect the problem and either (I am not to sure which), recreate the partition and copy the boot files or simply copy the boot loader and files to the active/primary partition.

This will most likely delete GRUB, but next time you load, everything should be fine.

The trial link is for Windows 7 Enterprise as that is all I could quickly find. Windows Vista and 7 bootloaders are compatible with each other.

If however it does not automatically fix the problem, you can choose Command Prompt as a repair option, then manually rebuild the boot sector.

Go in to Diskpart and make sure the main Windows drive is active (or recreate the 100Mb partition and set that to active).

Next, type the following:

bootrec /fixboot

bootrec /fixmbr

bootrec /rebuildbcd

This should, scan for errors, fix and rebuild the boot sector and repopulate the menu.

(If you want to read more about Bootrec, click here)

share|improve this answer
It looks more like GRUB is referring to files on the Linux Partition which are no longer there. – Ganesh R. May 26 '10 at 17:40
Running those bootrec commands that Wil mentioned should replace the grub bootloader with the windows bootloader and fix Vista. – John Rabotnik May 26 '10 at 18:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .