morph027 / pve-iso-2-pxe

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

Unable to boot UEFI #16

Closed robotrash closed 2 years ago

robotrash commented 3 years ago

Boots fine via bios but UEFI it seems to time out

default config:

label 4 menu label ^4) Install Proxmox kernel pve612/linux26 append initrd=pve612/initrd.iso.img vga=791 video=vesafb:ywrap,mtrr ramdisk_size=166777216 linux ext4 maxroot=4 swapsize=4 splash=verbose

There's no feedback from tailf /var/log/messages and no updates on the UEFI boot screen, just restarts.

morph027 commented 3 years ago

ATM, i don't have access to a spare server using UEFI. Will try to reproduce in a PVE UEFI VM.

morph027 commented 3 years ago

No problem here, but i'm using iPXE for UEFI boots only (less trouble).

boospy commented 3 years ago

Here is us UEFI PXE entry:

menuentry 'Proxmox 6.2' --id proxmox62 {
  linuxefi /proxmox62/linux26 ethdevice-timeout=30 vga=791 video=vesafb:ywrap,mtrr ramdisk_size=2000000 linux ext4 maxroot=60 swapsize=16 splash=verbose
  initrdefi /proxmox62/initrd.iso.img
}

You can use "ethdevice-timeout=30". What we observed was that there is a timeout if an NVME slot is also installed. Only with some devices. Therefore we have 2 entries, one with a timeout of 30 seconds and one without. That's how you get around that.

morph027 commented 2 years ago

Closing due to inactivity. Feel free to re-open in case it's still an issue.