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

Bug#730502: live-build does not support finding image on lvm



On Wed, Dec 16, 2015 at 08:07:19AM +0100, Evgeni Golov wrote:
> 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.

Well, that would have worked, if my image would have lvm2 inside the 
initrd... Will try to build new ones later today.

Greets
Evgeni

-- 
Bruce Schneier can read and understand Perl programs.


Reply to: