Re: LVM and grub

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

 



Timothy Murphy wrote:
I set up an LVM partitioning scheme on one computer,
with /boot on /dev/sda3 outside LVM .
But grub could not access / because LVM was not activated.
This made me wonder:

1. Is there any way of asking grub to activate LVM
(eg run "vchange -a y") before it looks for the / partition?

2. Is there any argument one could add to the kernel line
to the same effect?

In the end I deleted the LVM, and used ordinary partitions,
so the question is purely academic.

With /boot on its own partition, Grub does not need to access the root partition. This is good because Grub does not understand LVM. The thing you have to remember when using a separate /boot partition is that the paths that Grub uses do not start with /boot. You would use something like:

title Fedora (2.6.23.14-115.fc8)
        root (hd0,2)
kernel /vmlinuz-2.6.23.14-115.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.23.14-115.fc8.img

As far as Grub is concerned, your /boot directory is its root directory. This is what the root (hd0,2) is telling Grub.

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

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