Re: "/boot" under LVM2 support in lilo or grub

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

 



Greg Hartzog wrote:
I found from poking around the web that lilo, in theory, supports having “/boot” under LVM2 control rather then existing as its own partition.

this would be really nice to see. Most FAQs advise you to partition your
disk. But my PV is about 5TB, which stupid DOS partitioning can't handle
anyway. I think it should be possible to have a small LV containing
the /boot directory. With my PE size of 32M, I don't even have to worry
if it is contiguous, as it will fit into a single PE. The very first
sector of a PV seems to be unused by LVM, thus a Lilo or Grub MBR may be installed. The remaining problem is to set up the mapping for LILO or
Grub to load further stages and the kernel itself.

I looked into the LILO sources and indeed found some fragments dealing
with LVM when trying to get the physical sector numbers of the files to
load (using FIBMAP). But I'm still searching where this is documented.

The Grub development seems to be focused mainly on wired mutiboot
problems with DOS and Windows XY. The whole system fundamentally
depends on the concept of a partition table to solve problems
I will never have :-)

Dieter.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux