Restore MBR

Tom Horsley tomhorsley at adelphia.net
Sat Nov 25 04:25:18 UTC 2006


On Fri, 24 Nov 2006 19:24:47 -0800
Timothy Payne <tim at tmpco.com> wrote:

> On Fri, 2006-11-24 at 20:33 -0500, Sam Varshavchik wrote:
> > Timothy Payne writes:
> > 
> > > I'm attempting to duel boot with Windows on one drive, and as expected
> > > Windows had to cut in line and be first.  I tried to just upgrade my FC
> > > 6 to update the boot loader, but it won't since no kernel has been
> > > upgraded.  I have found several examples on the web but no luck.  Any
> > > ideas to restore my FC 6 MBR would be appreciated.
> > > 
> > > I've been working from the FC CD via Linux rescue.
> > 
> > chroot /mnt/sysimage
> > /sbin/grub-install
> > 
> 
> Thanks but it just asked for more info.  Do I need to give it hd0?
> 
> Tim...
> 

The instructions I've used a few times when nasty operating
systems have hijacked my MBR go like this:

Boot off fedora dvd.

Type linux rescue, answer all the questions, might as well skip
mounting any partitions.

grub
root (hd0,0)
setup (hd0)
quit
exit

(Of course, that assumes hd0 is your boot disk and the very 1st
partition on it is the boot partition - usually the case, but doesn't
have to be).




More information about the users mailing list