Bug#730502: live-build does not support finding image on lvm
Hi Jay,
On Mon, Nov 25, 2013 at 02:46:20PM -0500, Jay Berkenbilt wrote:
> menuentry "Q Debian Live 64" {
> search --no-floppy --label live-images --set=root
> linux /q-live-64/vmlinuz live-media-path=/q-live-64 hostname=qlive boot=live config
> initrd /q-live-64/initrd.img
> }
I expect this will work if you also add
live-media=/dev/mapper/<vgname>-<lvname>
to the command line, but I did not yet test this in my environment.
When you pass live-media=/dev/mapper/* there is a code-apth to trigger
the native lvm2 initrd script (/scripts/local-top/lvm2) which *should*
take care of everything you need.
I'll try to reproduce this and come back to you again.
Greets
Evgeni
--
Bruce Schneier can read and understand Perl programs.
Reply to: