On Sat, 27 Aug 2022 00:27:24 +1000
Philip Rhoades via users wrote:
Can anyone suggest what the problem is and how to resolve it?
Don't recognize this problem specifically, but I
have a USB stick with a bunch of iso files on it and a grub
configured to let me boot any of them. I used the info at:
https://wiki.archlinux.org/index.php/Multiboot_USB_drive
to create the usb stick, and it has been a handy thing
to have around (except for that one old computer I have
where the USB ports no longer work :-).
The grub config is full of stuff like this (this is just one
of the iso files I can boot):
set data_usb_uuid="7ad8f114-5b24-47bb-86c6-0b229519d76c"
function set_data_usb_root {
insmod ext2
insmod gzio
insmod part_gpt
insmod part_msdos
load_env bootvid
set root='hd0,msdos2'
search --no-floppy --fs-uuid --set=root ${data_usb_uuid}
}
menuentry 'Fedora Workstation Live 64-bit 36 (1.5)' {
set_data_usb_root
set isofile="/images/Fedora-Workstation-Live-x86_64-36-1.5.iso"
loopback loop "$isofile"
linux (loop)/isolinux/vmlinuz ${bootvid} root=live:CDLABEL=Fedora-WS-Live-36-1-5
iso-scan/filename="$isofile" rd.live.image
initrd (loop)/isolinux/initrd.img
}