Is it possible to boot Fedora 38 XFCE from an iso file in a multiboot usb pendrive?
by fredmyra from LinuxQuestions.org on (#6EV7X)
Hi there !
I have for many years maintained a couple usb pendrives with a basic installation of one OS, responsible for GRUB and a number of iso files with Live versions of Linux distros.
I have now finally decided to try a little harder to put Fedora into one of these. I tried a few years ago and failed, but now I have a bit more experience and thought maybe I can succeed. My searching yielded just one menu entry for booting an LIve Iso, @ https://samwhelp.github.io/note-abou...o-by-grub.html:
Code:menuentry "Fedora 38 ISO / Xfce" --class Fedora {
set iso_file="/opt/iso/fedora/38/Fedora-Xfce-Live-x86_64-38-1.6.iso"
search --set=iso_partition --no-floppy --file $iso_file
probe --set=iso_partition_uuid --fs-uuid $iso_partition
set img_dev="/dev/disk/by-uuid/$iso_partition_uuid"
loopback loop ($iso_partition)$iso_file
set boot_option=""
#set boot_option="quiet splash"
linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$iso_file root=live:CDLABEL=Fedora-Xfce-Live-38-1-6 rd.live.image rhgb $boot_option
initrd (loop)/images/pxeboot/initrd.img
}But it has not worked so far. I get the error:
Code:No server is specifiedI have never booted via pbx and I am not interested in doing it.
Would it be possible to boot the image from the eltorito folder on the iso, when the iso sits in a multiboot usb pendrive ?
Does any one know a way to do what I am trying to do?
I have for many years maintained a couple usb pendrives with a basic installation of one OS, responsible for GRUB and a number of iso files with Live versions of Linux distros.
I have now finally decided to try a little harder to put Fedora into one of these. I tried a few years ago and failed, but now I have a bit more experience and thought maybe I can succeed. My searching yielded just one menu entry for booting an LIve Iso, @ https://samwhelp.github.io/note-abou...o-by-grub.html:
Code:menuentry "Fedora 38 ISO / Xfce" --class Fedora {
set iso_file="/opt/iso/fedora/38/Fedora-Xfce-Live-x86_64-38-1.6.iso"
search --set=iso_partition --no-floppy --file $iso_file
probe --set=iso_partition_uuid --fs-uuid $iso_partition
set img_dev="/dev/disk/by-uuid/$iso_partition_uuid"
loopback loop ($iso_partition)$iso_file
set boot_option=""
#set boot_option="quiet splash"
linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$iso_file root=live:CDLABEL=Fedora-Xfce-Live-38-1-6 rd.live.image rhgb $boot_option
initrd (loop)/images/pxeboot/initrd.img
}But it has not worked so far. I get the error:
Code:No server is specifiedI have never booted via pbx and I am not interested in doing it.
Would it be possible to boot the image from the eltorito folder on the iso, when the iso sits in a multiboot usb pendrive ?
Does any one know a way to do what I am trying to do?