Hello again.
The release of Leap 15.1, along updating of other live distros I use, made me rethink about the possibility of a multibooting USB drive (currently I’m using CDs/DVDs, both read-only and RW).
I did take into account Malcolm’s last comment here, though after making my mind I think I’d need a USB just for Linux distributions, both live and installation, and both legacy BIOS and EFI (no 32bit EFI).
Dd is an excellent tool, as previously discussed, but it works for writing only one bootable OS to USB drive, with a special read-only file system. Correct me if wrong please.
So I went again searching, and found more than one reference:
https://en.opensuse.org/SDB:Live_USB_stick#Using_live-fat-stick.2C_live-grub-stick.2C_live-usb-gui_.28Command_line_or_GUI_way.29
https://www.debian.org/releases/stretch/amd64/ch04s03.html.en#usb-copy-flexible
https://wiki.archlinux.org/index.php/Multiboot_USB_drive
https://linuxconfig.org/how-to-create-multiboot-usb-with-linux
In general these methods have a good point, at least for me: they handle the ISOs directly, instead of modifying by extracting them like other tools.
All look alike in some way (specially last 2), as if there could be really a “general” way to do the thing for most of the Linux distributions.
But indeed, all are different. Is this precisely because each distribution is different?
Last link looks like the more general one, a method using Grub(2) and loopback devices. The tricky part is, of course, finding the correct grub parameters for each distribution…
I tried looking into Leap 15.1 ISO installer, but failed to find something similar to what’s needed here. Or perhaps I didn’t search very well…
Do you think this method can work for Leap and many other distros in general? Is there a “general” way or advise to search for a distribution’s correct grub parameters?
There’s also the syslinux method, but I couldn’t find much in-depth information about its usage.
Not sure whether it can also work for both BIOS/UEFI booting, the fact of having to use memdisk to load whole ISO file in RAM sounds not very satisfying…
Thanks.