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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux