Recovering MBR

dsavage at peaknet.net dsavage at peaknet.net
Thu Jul 1 16:30:03 UTC 2004


On Thursday July 1, 2004 at 11:18 a.m. "James Marcinek"
<jmarc1 at jemconsult.biz> wrote
> I have a duel boot system with Fedora 2 and Windows XP installed. Now
> forgive me ahead of time.  I was using GRUB as my bootloader and
> was running fine until last night when I upgraded my Windows XP to XP
> pro. The Windows XP pro upgrade must have overwritten my MBR. How
> should I go about putting GRUB back into play. I would like to keep my
> existing linux install if possible.

James

Use CD #1 or your Rescue CD (whatever works) and run:

# grub-install /dev/hda

on whatever hard disk (hda, sda, ...) your system boots from. This will
overwrite the Windows MBR with Grub's and you'll be back in business.

--Doc
Robert G. (Doc) Savage, BSE(EE), CISSP, RHCE | Fairview Heights, IL
Fedora Core 1 kernel 2.4.22-1.2188.nptl on P-III/M IBM Thinkpad A22p
"Perfection is the enemy of good enough."
                          -- Admiral of the Fleet Sergei G. Gorshkov





More information about the fedora-list mailing list