Recovering MBR

Phil Schaffner Philip.R.Schaffner at NASA.gov
Thu Jul 1 17:44:25 UTC 2004


On Thu, 2004-07-01 at 11:30 -0500, dsavage at peaknet.net wrote:
> 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.

Having forgotten this key piece of advice in my post to an earlier
thread, I'm sensitive to the fact that you must first have your
installation tree mounted (under /mnt/sysimage for the default approach
with the rescue boot from CD), then chroot to the mount point:

  # chroot /mnt/sysimage

It is also good to have a GRUB boot floppy prepared for such cases:

  # grub-install /dev/fd0

And/or see
http://www.redhat.com/archives/fedora-list/2004-June/msg05739.html

and check out the attachment.

Phil






More information about the fedora-list mailing list