pve-iso-2-pxe: kernel panic on PXE boot
Hello. After creating the files and attempting to boot via PXE, the kernel panics. Tried both Proxmox VE 6.4 and Proxmox VE 7.0
BIOS legacy (not UEFI), platform Supermicro X8DTU with X5670
PXE configuration in my python script:
:proxmox_6
echo Proxmox VE 6
echo Load kernel...
kernel {{ request.url_root }}images/proxmox/6/linux26
echo Load initrd...
initrd {{ request.url_root }}images/proxmox/6/initrd
imgargs linux26 vga=791 ramdisk_size=16777216 quiet splash=verbose proxdebug
echo Boot
boot || goto special
goto special
:proxmox_7
echo Proxmox VE 7
echo Load kernel...
kernel {{ request.url_root }}images/proxmox/7/linux26
echo Load initrd...
initrd {{ request.url_root }}images/proxmox/7/initrd
imgargs linux26 vga=791 ramdisk_size=16777216 quiet splash=verbose proxdebug
echo Boot
boot || goto special
goto special
In the attachment there is a screenshot of the problem:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 36 (12 by maintainers)
Commits related to this issue
- fix compression settings, refs #21 Signed-off-by: morph027 <stefan.heitmueller@gmx.com> — committed to morph027/pve-iso-2-pxe by morph027 3 years ago
@Exellent1988 Thank you. With this forked version the Proxmox installer is starting.
@fansari try the forked version plz ( the one in the pull request: https://github.com/Exellent1988/pve-iso-2-pxe the where some other errors in the scrypt by morph as well…
On ubuntu 20.04 this script working (but i dont check boot from this pxe files) I’ll check it a little later and write it to the issue
Thanks for debugging. Will have a look later!
well, than the not compressed image is the problem: check your sourcecode, if the mimetype is not found, then the $decompress value will not be set and the initrd.img will be in /tmp/initrd.img. And the iso will pe appendet, to ./initrd, but this is an empty file ATM ( if no mimetype is found). so all your scipt does is more or less renaming the .iso to initrd 😃 for compare, the initrd.img is mine done manually, and initrd is done by the script:
-r--r--r-- 1 root root 1097978170 Jul 26 13:12 initrd.img
-rw-r--r-- 1 root root 1064886784 Jul 23 15:10 initrd
there you see the size difference. I still dont get it to properly boot, now im stuck on finding the iso …Thanks @Exellent1988 for the hint regarding
x-zstd
. I’ve added this and fixed the extracting error too in https://github.com/morph027/pve-iso-2-pxe/commit/f32cc7f9e9d0b5be46752dfb5e8d1c4d963d5894This fork works with Proxmox Backup Server 2.0 too… THX
Can you try the latest commit please?