How can I boot windows by using Grub rescue?
well I am having really simple query to ask you and I am hoping that users of this particular forum will help me to resolve the issue. can I boot windows by using grub rescue? Does you know any way to restore MBR so that I can boot windows on my computer? for your information I have rebooted my computer by removing Ubuntu partition and rather than of booting into windows it simply booted into grub and prompting that it could not find out the grub partition. any help to resolve the issue will be appreciated. Thanks a lot in advance.
Re: How can I boot windows by using Grub rescue?
As you are not having ubuntu on your computer and you will need to boot your computer through windows recovery console and after that fix your MBR over there. the GRUB menu will be over written by the new MBR itself and after that you will be able to boot into windows. I am assuming that you have installed Windows XP on your computer. after that reinstall ubuntu and you will get new grub as well.
Re: How can I boot windows by using Grub rescue?
Looking at the problem I am suggesting that you should restore Windows bootloader by making use Windows Recovery CD.
you should execute below mentioned commands.
Re: How can I boot windows by using Grub rescue?
In case you are not having Windows CD then you can make use of Ubuntu CD/USB to install Windows-like bootloader. From the terminal you will require to run,
Code:
sudo apt-get install lilo
sudo lilo -M /dev/sda mbr
here sda is assumed as Windows drive in case its not the one then you will need to change the same to reflect the actual drive. if you get any warning at the time of installation of MBR then simply ignore the same. the main thing is that lilo should be installed so that user can boot Windows.
Re: How can I boot windows by using Grub rescue?
If you are running windows Vista or Windows 7 then you should try following thing.
First of all you have to get Windows Vista or Windows 7 DVD.
In order to boot environment you have to boot with Windows 7 installation media.
Simply boot your computer into repair mode.
Now select Command Prompt from the recovery options.
After that you have to run bootrec by using any of the commands.
Code:
/FixMbr
/FixBoot
/RebuildBcd
Re: How can I boot windows by using Grub rescue?
I visited this thread having a similar problem. An autoboot once the CD was removed took me to the grub> prompt.
I was able to get around this by going to the boot menu upon startup (F10 for me) and simply selecting the hard drive to boot up on. This worked for me.
Best,
Davo