Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image created with --make-pxe-live boots in BIOS but not UEFI/IPXE #1443

Open
zerocarbthirty opened this issue Dec 13, 2024 · 1 comment
Open

Comments

@zerocarbthirty
Copy link

zerocarbthirty commented Dec 13, 2024

Hello,

I was able to get an image built that boots via PXELINUX in BIOS mode but I am unable to figure out how to get iPXE/UEFI to boot it.

This is what I am attempting:

:toast
kernel toast/vmlinuz-5.14.0-503.15.1.el9_5.x86_64
initrd toast/initramfs-5.14.0-503.15.1.el9_5.x86_64.img root=live:http://10.0.1.0/uefi/toast/live-rootfs.squashfs.img
boot

The system loads the kernel, the initrd, and then boots.

It then kernel panics unable to mount rootfs.

I tested this with the standard AlmaLinux 9.5 kernel/initrd from the installer and it boots in both BIOS and UEFI with the same files.

Has anyone gotten an image built to boot in both BIOS/UEFI?

@zerocarbthirty
Copy link
Author

Welp, I got it to work like this in IPXE

:toast
kernel toast/vmlinuz-5.14.0-503.15.1.el9_5.x86_64 initrd=initramfs-5.14.0-503.15.1.el9_5.x86_64.img rootflags=loop root=live:http://10.0.1.0/uefi/toast/live-rootfs.squashfs.img rootfstype=auto
initrd toast/initramfs-5.14.0-503.15.1.el9_5.x86_64.img
boot

I'm not 100% sure why this works and the other way doesn't but it may be useful to document this somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant