pxelinux.0 EFI equivalent? Booting to menus for EFI-clients
|
2018-11-02, 15:26
Post: #1
|
|||
|
|||
pxelinux.0 EFI equivalent? Booting to menus for EFI-clients
Hello! I'm having some trouble booting to menus with my EFI-clients. I'm new to EFI and can't figure out how to adapt my current setup.
Running on CentOS 7.5 using latest syslinux and iPXE. I embedded this script and compiled the ipxe.efi: Code: #!ipxe Relevant config for isc-dhcp-server. I have activated all of the "option space ipxe" options: Code: #EFI 32 & 64bit The boot.php chains boot2.php to match the MAC-address with mysql and decide to either sanboot, load the default menu or load the menu to restore/capture an image: PHP Code: <?php PHP Code: --snip-- This works perfectly with BIOS-clients, but obviously not with EFI-clients. I made a test menu as per the wiki: Code: menu Trying this makes the VM crash: PHP Code: if($sanboot->num_rows == '0' && $restore->num_rows == '0' ){ This results in error 2e008081: PHP Code: if($boot->num_rows == '0' && $restore->num_rows == '0' ){ So i think biggest problem is I can't figure out how to boot to menus for EFI-clients. This works ok, but results in kernel panic I guess because it does not use the bootx64.efi: PHP Code: if($sanboot->num_rows == '0' && $restore->num_rows == '0' ){ I bet it's something really basic, but I don't know what to do. Thanks! |
|||
2018-11-28, 16:19
Post: #2
|
|||
|
|||
RE: pxelinux.0 EFI equivalent? Booting to menus for EFI-clients
simple config for detecting efi: http://ipxe.org/howto/chainloading#uefi
You have all kernel cmdline arguments on the initrd, try to move boot=live etc up to the kernel line. Also remember that for efi you will have to add initrd=initrd.img to the kernel cmdline. And finally, why are you involving syslinux at all? Modified kernel and initrd line: PHP Code: if($sanboot->num_rows == '0' && $restore->num_rows == '0' ){ Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)