0

Do I need to create a special configuration to install an ubuntu server with uefi over network pxe boot? I have on my boot server the default pxelinux.0 file. After installation of a new hardware i have checked the filesystem /sys/firmware/efi/vars/ and the uefi folder has files. With this my system should run under uefi.

Since I have found some instructions in the internet on how to set up a uefi pxe boot server, I am now not quite clear whether this is really needed since it seems to work without it. Ubuntu – Setup PXE Server using pxelinux files only Bios & UEFI Support

2 Answers 2

0

The NBP (you mention pxelinux.0 for pcbios) needs to be different for EFI, so the hardest part of getting it working for both pcbios and efi is to configure DHCP server correctly.

For EFI many use grub, there is also iPXE. I found this guide which mentions all but the dhcp part.

In regards to DHCP this gist uses isc dhcpd, and has a focus on iPXE, but the idea can be applied to grub efi + legacy pxelinux combination as well.

4
  • Does this mean it is not possible to install a linux in uefi mode with (pxelinux.0 for pcbios)? But how can it be that my machine shows that it runs under uefi? Commented Jul 26, 2021 at 18:08
  • pxelinux.0 will most definitely be pcbios, (unless a efi file was taken and then renamed) But it would be totally possible to run installation in pcbios mode, create disk partitions that is efi compatible (FAT32 partition with bootx64.efi, assuming x86_64) BIOS/firmware could then boot from this disk, and everything would be EFI Using pxelinux.0 you will probably not be using EFI, installing to disk and restart, could get you booted in EFI mode. Commented Jul 26, 2021 at 18:19
  • Okay if this is possible what advantage would I have if I also boot with UEFI in PXE mode? Commented Jul 26, 2021 at 18:43
  • EFI is generally faster (especially when disabling legacy support, CSM) and has less limitations, If PXE is something you do often, then having both simplifies the installation. Commented Jul 26, 2021 at 19:31
0

Use Serva PXE server; a single exe that does everything automatically. https://www.vercot.com/~serva/an/WindowsPXE1.html

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.