Restore MBR

Timothy Payne tim at tmpco.com
Sat Nov 25 19:33:51 UTC 2006


On Fri, 2006-11-24 at 23:25 -0500, Tom Horsley wrote:
> 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).
> 

It worked great, I had found the commands but never in that order.

Thank You !

Tim...




More information about the users mailing list