[linux-lvm] [PATCH] LVM support for GRUB

Christoph Hellwig hch at caldera.de
Fri Sep 8 13:57:17 UTC 2000


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

-- 
Always remember that you are unique.  Just like everyone else.



More information about the linux-lvm mailing list