Multi ISO boot with grub
GPT partition table:
- fat32 1gb
- ext4 remaining
- Mount the (fat32) efi partition of the usb drive to
/mnt - Run
grub-install --force --removable --target=x86_64-efi --boot-directory=/mnt/boot --efi-directory=/mnt /dev/sdX(replace/dev/sdXwith the path of the usb drive)
- Copy
update.shto the ext4 partition EFI-partition-idwith the uuid of the (fat32) efi partition of the usb drive- Copy iso files to the ext4 partition
- Run
sudo ./update.shwhile in the ext4 partition (rerun this when changing the iso files)
This script was tested with debian live images and manjaro live images