morph027 / pve-iso-2-pxe

Create PXE bootable Proxmox installation
MIT License
419 stars 91 forks source link

Unable to boot uefi ipxe install #15

Closed assid2 closed 3 weeks ago

assid2 commented 4 years ago

I tried the following, but getting a kernel panic not syncing VFS unable to mount root fs on unknown block 0,0

:proxmox-install echo Starting Proxmox Install 6.2.1 set base-url http://172.16.120.52/install/iso/extractedinstall/proxmox-ve_6.2-1 kernel ${base-url}/linux26 initrd ${base-url}/initrd.iso.img

imgargs linux26 initrd=initrd.iso.img vga=791 video=vesafb:ywrap,mtrr ramdisk_size=166777216 linux ext4 maxroot=4 swapsize=4 splash=verbose || shell

boot || shell goto start

morph027 commented 4 years ago

Why did you comment the args?

fulafisken commented 3 years ago

I had this same message. I modified the script to not pipe any errors to dev/null, and then i found out my Arch installation did not have cpio:

Added iso, creating and compressing the new initrd... pve-script.sh: line 59: cpio: command not found

So after installing that, and running the script again, then it works! :) pacman -S cpio

Exellent1988 commented 3 years ago

I didnt get it to work with different PVE Versions: this is my latest test:

:proxmox-64-efi set base-url http://XXX.XXX.XXX.XXX/tools/proxmox kernel ${base-url}/6.4/pxeboot/linux26 initrd ${base-url}/6.4/pxeboot/initrd.iso.img imgargs linux26 initrd=initrd.iso.img vga=791 video=vesafb:ywrap,mtrr ramdisk_size=166777216 linux ext4 maxroot=4 swapsize=4 splash=verbose boot || shell goto start

I still get the kernel panic, but cant see any errors in the script. 🤷🏽

Exellent1988 commented 3 years ago

UPDATE: I got the 6.4 working like this: :proxmox-6 set base-url http://SERVERIP/tools/proxmox initrd ${base-url}/6.4/pxeboot/initrd.iso.img kernel ${base-url}/6.4/pxeboot/linux26 iso vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw quiet splash=silent initrd=initrd.iso.img boot || goto failed goto start