LVM support for GRUB
PATCH 1/1 LVM support for GRUB
Hi,
I've done some work on implementing LVM support in GRUB (a bootloader). This patch does not touch the LVM kernel code or utils but adds support for the LVM on disk format to grub, so you can boot your linux (or *BSD or gnu mach) kernel from a logical volume.
Because I didn't want to implement the full block-mapping algorithm in a bootloader, this patch only supports contiguous lvs (with a #define it can read contiguous that don't have this flag, but ...).
Besides that it has some other limitations:
o the pv on witch the boot lv is has to have no more than 4096 pes (this can be changed with a #define)
o there must not be any free space between the lvs of the boot pv (this will be changed in the future).
The code can be found on ftp.openlinux.org/pub/people/hch/lvm, the filename is grub-current-lvm.diff
Christoph
Signature · 1 line
Always remember that you are unique. Just like everyone else.