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

efi stub: ERROR: Failed to load initrd #49

Open
axeprpr opened this issue Sep 14, 2024 · 7 comments
Open

efi stub: ERROR: Failed to load initrd #49

axeprpr opened this issue Sep 14, 2024 · 7 comments

Comments

@axeprpr
Copy link

axeprpr commented Sep 14, 2024

my boot.ipxe

#!ipxe
set webserver http://192.168.132.130:5000
set opts ?vga=791&video=vesafb:ywrap,mtrr&ramdisk_size=16777216&rw&quiet&initrd=initrd
menu Please choose an operating system to boot
    item normal Install Proxmox
    item debug Install Proxmox (Debug Mode)
choose --default normal --timeout 5000 target && goto ${target}
:debug
    set kernel ${webserver}/boot/proxmox/linux26${opts}&splash=verbose&proxdebug
    goto init
:normal
    set kernel ${webserver}/boot/proxmox/linux26${opts}&splash=silent
    goto init
:init
initrd ${webserver}/boot/proxmox/initrd
chain ${kernel}

i have tried both proxmox-ve_7.4-1.iso proxmox-ve_8.2-2.iso.

@morph027
Copy link
Owner

Which system?

I've just tried using the normal syntax within a QEMU UEFI test VM and it works w/ ipxe 1.21.1.

set pve-version 8.1
initrd ${base-url}/proxmox/${pve-version}/initrd.iso.img
chain ${base-url}/proxmox/${pve-version}/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=verbose initrd=initrd.iso.img proxdebug
boot

Screenshot from 2024-09-15 08-45-15

@axeprpr
Copy link
Author

axeprpr commented Sep 15, 2024

i just try your ipxe file like this, but still failed.
i use the latest version of ipxe. wget https://boot.ipxe.org/ipxe.efi

#!ipxe
set webserver http://192.168.132.130:5000/boot/proxmox
initrd ${webserver}/initrd
chain ${webserver}/linux26 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=verbose initrd=initrd proxdebug
boot || shell

image

@morph027
Copy link
Owner

Secure Boot enabled?

@axeprpr
Copy link
Author

axeprpr commented Sep 15, 2024

i use vmware to test this. secure boot is disabled.
image
could you please send me the ipxe.efi file you success booting?

@morph027
Copy link
Owner

I'm also using latest ipxe.efi from the official download link you've posted.

Looking at https://ipxe.org/err/7f048283 and the linked https://ipxe.org/err/7f048200, it might be that the initrd/linux26 files are corrupted (just guessing).

Can you show the ipxe boot snippet used for booting also?

@axeprpr
Copy link
Author

axeprpr commented Sep 18, 2024

I'm also using latest ipxe.efi from the official download link you've posted.

Looking at https://ipxe.org/err/7f048283 and the linked https://ipxe.org/err/7f048200, it might be that the initrd/linux26 files are corrupted (just guessing).

Can you show the ipxe boot snippet used for booting also?

that's weird. there're my pxe file md5 and kernel options:

root@debian:~# md5sum pve-iso-2-pxe-master/pxeboot/*
221e779d8163889cab8295d7fdf90cad  pve-iso-2-pxe-master/pxeboot/initrd
2a855139f729a1a7d4a495d95125bb0f  pve-iso-2-pxe-master/pxeboot/linux26
root@debian:~# md5sum pve-iso-2-pxe-master_7.4/pxeboot/*
bc1912792967ca586b411886a22388db  pve-iso-2-pxe-master_7.4/pxeboot/initrd
c59b55cd7cbbb7984e3bf4a208ea0077  pve-iso-2-pxe-master_7.4/pxeboot/linux26

image

@truatpasteurdotfr
Copy link

disable your secure boot? "missing MZ signature" ...

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

3 participants