On Sun, 20 Nov 2022 10:47:22 -0500
Tom Horsley wrote:
If I try the same thing with the Fedora 37 iso image file (looking
up
the CDLABEL to use via the isoinfo tool), it doesn't work.
Figured it out. I loop mounted the iso file and found a grub.cfg file
and interpolated the info in there to make this entry for booting the
f37 iso file off disk:
menuentry 'Fedora Workstation Live 64-bit 37 (1.7)' {
set_data_usb_root
set isofile="/images/Fedora-Workstation-Live-x86_64-37-1.7.iso"
loopback loop "$isofile"
linux (loop)/images/pxeboot/vmlinuz ${bootvid} root=live:CDLABEL=Fedora-WS-Live-37-1-7
iso-scan/filename="$isofile" rd.live.image
initrd (loop)/images/pxeboot/initrd.img
}
Mostly just some directory name chages inside the image.
Now I can boot yet another iso image from the collection I have
on my handy utility usb stick.