Score:0

Ubuntu install with pxe boot (UEFI)

in flag

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

Score:0
za flag
Pat

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

Score:0
in flag

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.

live2 avatar
in flag
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?
in flag
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.
live2 avatar
in flag
Okay if this is possible what advantage would I have if I also boot with UEFI in PXE mode?
in flag
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.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.