login
Header Space

 
 

Replacing Windows XP bootloader with GRUB bootloader

October 15, 2008 - 7:55am
Submitted by Anonymous on October 15, 2008 - 7:55am.
Linux

I have had to reinstall Windows XP. This however caused the GRUB bootloader in the MBR to be overwritten. Now I just get the normal Windows XP boot instead of GRUB which allowed me to load Linux or Windows. I have the Fedora 8 DVD but when I try and do the grub install it comes up with error messages and I can't seem to place GRUB on the MBR. I have followed the instructions in the GRUB manual but that doesn't work.

Any ideas?

Replacing Windows XP bootloader with GRUB bootloader

October 16, 2008 - 8:53am

well if i got it right u have reinstalled windows xp so your grub bootloader in the MBR is overwritten and you want to recover and reinstall grub .
so for that purpose do
1.insert the fedora 8 dvd or cd whichever is available with you and start with recovery mode.
2.change the root dir by chroot
3.try to find using "find /boot/grub/stage1" this would provide u the path like (hd0,0), use this in next step
4.use the command "root (hd?,?)"
5."setup (hd?)" //use the same hd partition u used above like hd0
6.quit
7.reboot

try it.it all done
if u get any problem do reply

That worked. Thanks

October 19, 2008 - 5:41am
Anonymous (not verified)

That worked.
Thanks

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary