Re: Restore MBR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-11-24 at 23:25 -0500, Tom Horsley wrote:
> On Fri, 24 Nov 2006 19:24:47 -0800
> Timothy Payne <tim@xxxxxxxxx> 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...


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux