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

Bug#568502: LVM support should be added



Package: live-initramfs
Version: 1.157.4-2
Severity: wishlist

	Please add LVM support in live-initramfs, so that it will become
	possible to host Live filesystem images on LVM logical volumes.

	To do that, two changes are to be made:

	* the local-top/lvm2 script (of initramfs-tools) should somehow
	  be called earlier, most probably as part of the live-premount/
	  sequence;

	* the script should also consider "$LIVE_MEDIA", like:

  activate_vg "$ROOT"
+ activate_vg "$LIVE_MEDIA"
  activate_vg "$resume"

	FWIW, copying the script's contents into
	/scripts/live-premount/zz_lvm2, making the change above and
	recreating the image (with $ fakeroot... cpio --quiet
	--dereference -o -H newc | gzip -9c > ...) have allowed me to
	create a bootable Debian Live system with the Live image
	residing on a logical volume.

-- 
FSF associate member #7257

Attachment: pgpFgSxq0hd5A.pgp
Description: PGP signature


Reply to: