how about to use ventoy for installing haiku?
not only ventoy , but other 3rd tool.
these are the words.
Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.
With ventoy, you don’t need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly.
You can copy many files at a time and ventoy will give you a boot menu to select them (screenshot).
You can also browse ISO/WIM/IMG/VHD(x)/EFI files in local disks and boot them.
x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way.
Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen…)
1100+ image files are tested (list), 90%+ distros in distrowatch.com supported (details
I use Ventoy for Linux distros occasionally, BSD didn’t work from it, (for me), so doubt Haiku will, it seems to be a bit specific…even though they say Unix!
This requires specific support from the Linux/Windows/… kernel. It is also slower than normal boot because of the extra indirection (a filesystem inside another filesystem). In Haiku this is not possible currently.
Ventoy doesn’t need changes in the NT or Linux kernels IIRC. Official Windows ISOs from Microsoft do work with it. What changes would be needed for Haiku to support Ventoy?
I didn’t say “changes” but “specific support”. The way Ventoy works is by passing some info to the OS to tell it the root filesystem is loaded in RAM (by the way, this will mean that RAM is not available for other things) instead of loaded from disk.
So we would have to handle that info in the Haiku loader, and convert it to the correct format for the haiku kernel.
Also, yes, it does change your disk images, but it does so in RAM and does not write the changes back to the USB disk. Unless your system is already patched and declares itself to be “Ventoy compatible”. compatible mark . Ventoy If you look at Ventoy sources you will find the specific patches for each supported Linux version: Ventoy/IMG/cpio/ventoy/hook at master · ventoy/Ventoy · GitHub