You are not logged in.
Hello
I'm following this tutorial from an old website to make a USB with Grub and boot a lot of Linux distros directly from the ISOs contained on the USB.
But I found a problem, UEFI needs a FAT filesystem, and the last Ubuntu ISO is 6Gb... so it can't be copied to the fat32 partition on the USB...
I think on use a fat32 partition for boot and UEFI, and a ext4 partition for the ISOs on the USB
These are the two commands to install the UEFI and the Bios Grub
# grub-install --target=x86_64-efi --efi-directory=/mnt/multiboot --boot-directory=/mnt/multiboot/boot --removable --recheck
# grub-install --target=i386-pc --boot-directory=/mnt/multiboot/boot --recheck /dev/sdc
And the Archlinux grub menu to load from the ISO on the USB
## ARCHLINUX 2024.08
menuentry 'GNU/Linux Archlinux 2024.08.01 x86_64' --class arch --class gnu-linux --class gnu --class os{
set isofile='/boot/iso/archlinux-2024.08.01-x86_64.iso'
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile archisobasedir=arch archisosearchuuid=2024-08-01-14-36-07-00 earlymodules=loop
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
I need guidance on how to modify the Grub config to use the ISOs on a second partition.
Last edited by laegnur (2024-08-13 10:15:12)
Offline
Change $imgdevpath to the correct identifier for the second partition, as per https://wiki.archlinux.org/title/Multib … figuration.
"The nation-state domesticates the society in the name of capitalism and alienates the community from its natural foundations."
— Democratic Confederalism, Abdullah Öcalan.
Offline
Hello
Thanks for the answer. I didn't know that article on the wiki. I will read it immediately. Many thanks.
Offline