Re: Restore MBR

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

 



On Sat, 2006-11-25 at 17:06 -0500, fredex wrote:
> On Sat, Nov 25, 2006 at 04:29:07PM -0600, Aaron Konstam wrote:
> > On Sat, 2006-11-25 at 15:21 +0000, Mike Cohler wrote:
> > > Timothy Payne <tim <at> tmpco.com> writes:
> > > 
> > > 
> > > > > chroot /mnt/sysimage
> > > > > /sbin/grub-install
> > > > > 
> > > > 
> > > > Thanks but it just asked for more info.  Do I need to give it hd0?
> > > >
> > > 
> > > /sbin/grub-install mbr
> > > 
> > 
> > mbr is not a proper argument to greub-install
> > Something like hd0 or even /dev/hda will work.
> 
> I had a huge fight with grub a few months ago (on RHEL WS 4) and I found
> that only hd0 worked. Using /dev/hda1 did not produce any error messages,
> but it wouldn't boot either. Once I did it with hd0 it booted just fine.
> go figure.
> 
look at what you used.  /dev/hda1 is the boot sector of the partition.
If you used /dev/hda it puts it on the drive boot sector (MBR) and it
will work.

hd0 works because that is in /boot/grub/devices.map as the boot drive

> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


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

  Powered by Linux