Re: How to recover Fedora Core 5?

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

 



On Fri, 29 Sep 2006, Vinicius wrote:

Hello,

My original grub.conf uses hd0,5 as device and /dev/VolGroup00/LogVol00 as root.

The grub command "setup (hd0)" doesn't work.

When I run "/sbin/grub-install hd0,5" or "/sbin/grub-install
/dev/VolGroup00/LogVol00", the return is "The file /boot/grub/stage1 not
read correctly". And the floppy disk led turns on and I hear the head moving.

I haven't seen the earlier part of this thread, so maybe I've missed something, but hd0,5 looks like a logical partition inside the extended partition and /dev/VolGroup00/LogVol00 is an LVM logical volume. I'm pretty sure that grub needs to live in the MBR or the boot record of a primary partition. I've been told that recent grubs can have /boot be a logical partition, but have not verified that. grub cannot live in or boot from an LVM volume. The root file system (not /boot) can be a logical volume.

I have /boot as a small primary partition (/dev/hda3 or (hd0,2)). Grub itself is installed in the boot record of that partition, which I made the active boot partition using fdisk. My / filesystem is in /dev/VolGroup00/LogVol00. Thus the grub stanza reads

title Fedora Core (2.6.17-1.2187_FC5)
        root (hd0,2)
        kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.17-1.2187_FC5.img

I haven't had to do it by hand, but I think that would be

	grub-install /dev/hda3

or

	grub-install (hd0,2)

with no options. There's a comment in grub.conf to the effect that, because I have a /boot partition, all paths are relative to /boot.


Thanks for your time,
Vinicius.




--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
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