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

Re: Boot parameter to specify directory of filesystem.squashfs (other than /boot)



Am 07.05.22 um 04:37 schrieb Ben Westover:
> Package: live-boot
> Severity: wishlist
> Tags: upstream
> X-Debbugs-Cc: kwestover.kw@gmail.com
> 
> Hello,
> 
> I have made a multiboot USB using SYSLINUX. For distributions that use
> dracut, I can specify the rd.live.dir boot parameter to change the
> directory that it looks for filesystem.squashfs in. There are similar
> options for other live systems, like Arch Linux's archisobasedir.
> This is useful to me because I can put each distribution's filesystem in
> its own folder.
> 
> I was not able to find such a parameter for Debian, which limits me to
> only one Debian-based distribution on the drive because the filesystem
> squashfs must be in /boot, and there can only be one.
> If a simple livedir= option could be added to specify the directory, it
> would help me tremendously.

<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".

One way is to stuff your squashfs into an ISO image (nothing else needed
in there, just the subdirectory /live containing your squashfs), and use
one of the iso parameters.

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.

Kind Regards,
Stefan Baur


Reply to: