Hello Ben,

Am 10.05.22 um 00:56 schrieb Ben Westover:

>> <https://manpages.debian.org/bullseye/live-boot-doc/live-boot.7.en.html>
>> mentions "findiso" and "fromiso" as well as "live-media|bootfrom" and
>> "live-media-path".

[...]

>> Using the live-media*-Parameters should make it possible to use a
>> squashfs file directly, without having to wrap it into an iso. I haven't
>> tried this myself lately, though.
> 
> From how I understood the explanation of live-media/bootfrom, it looks
> like it wants you to specify a device to look inside /live of. I would
> need to create a separate partition for every squashfs, /live in each.
> 
> I don't believe there are currently any options that allow me to achieve
> my goal without wrapping the squashfs. Thank you for your help!

Like I said, I haven't tried this myself lately, but live-media-path
allows you to change exactly the "/live" part, according to the manpage.

So you could have something like
live-media-path=/mycoolsquashfsgoeshere/ for your custom squashfs and
live-media-path=/officialdebiansquashfsgoeshere/ for an official image,
for example.

You will probably have to combine that with live-media=removable-usb so
it will scan removable USB media only.

I don't see why you would need a different partition for each image, you
should be able to use different live-media-path entries instead (one per
boot menu entry).

Kind Regards,
Stefan Baur

Reply via email to