For Fedora 36 this magical nonsense works to boot the iso image
file stashed on a usb stick:

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
}

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. I guess
the entire internal structure of the iso image is now different?
(Something to do with getting rid of syslinux maybe?)

Anyone know the proper incantation to boot the iso image directly
via grub2?
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to