On 11/20/2022 7:14 PM, Tom Horsley wrote:
On Sun, 20 Nov 2022 18:59:41 -0500
Bill Cunningham wrote:

What should I be doing here?
The innards of the iso image were different from f36. I can boot
the .iso file itself directly from a grub2 entry with a little
work. I've got a directory named "images" in a partition with the
UUID of 7ad8f114-5b24-47bb-86c6-0b229519d76c and I use this grub2
gibberish:

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 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 root=live:CDLABEL=Fedora-WS-Live-37-1-7 
iso-scan/filename="$isofile" rd.live.image
     initrd (loop)/images/pxeboot/initrd.img
}

This is all actually on a USB stick where I have grub installed,
but with appropriate modification to uuid and partition numbers
(from the hd0,msdos2 thing) it should work from a hard disk as well.

I've got a slew of different iso files on the USB stick and menu
entries for all of them, so it is handy to do installs as well
as rescue operations. Takes a while to get it set up and working,
but is quite useful once it works. I used this info to build it:

https://wiki.archlinux.org/index.php/Multiboot_USB_drive
_______________________________________________
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
_______________________________________________
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