dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
598 stars 397 forks source link

iso-scan boot failures on Fedora media #2464

Closed FGrose closed 1 year ago

FGrose commented 1 year ago

Describe the bug Failure to boot.

Distribution used Fedora

Dracut version dracut 059-10.fc39

Init system systemd

To Reproduce Enter this GRUB menuentry for a Fedora iso image file on a local hard disk:

menuentry 'Live Fedora 39 Rawhide WS ' --class fedora --class gnu-linux --class gnu --class os { insmod part_gpt insmod ext2 insmod btrfs set root='hd1,gpt4' set isolabel=Fedora-WS-Live-rawh-20230731-n-0 set isofile=Fedora-Workstation-Live-x86_64-Rawhide-20230731.n.0.iso loopback loop ($root)/$isofile linux (loop)/images/pxeboot/vmlinuz iso-scan/filename=$isofile root=live:LABEL=$isolabel ro rd.live.image rd.live.ram initrd (loop)/images/pxeboot/initrd.img }

Expected behavior A successful boot.

Additional context Others have reported such failures, for example, https://forums.fedoraforum.org/showthread.php?330186-Fedora-38-37-36-no-Live-boot-via-grub

The iso image partition layout has changed.

Turns out that #2196 fixes this problem.