This is not strictly a server-specific topic but this is something that probably becomes more of a problem with server and automated provisioning environments. Though in my case it's my home lab.
Most of my home lab gear is fairly old (6-10 years), some of which has very early UEFI implementations so I left all of it booting in legacy/BIOS boot mode to avoid the hassle. Now I'm starting to replace it with newer old gear (bargains/refurbs etc) which support UEFI so I may as well switch over where I can.
I have a home-made iPXE network boot and provisioning infrastructure - basically an iPXE menu with presets that I can either choose interactively or set on the boot server by making an entry in a YAML file for the MAC address and the iPXE menu option with any additonal command line flags. I often install stuff, blow them away, or boot from iSCSI (and less-so these days Fiber Channel) volumes. Network booting into iPXE gives me the flexibility to manage booting in a completely head-less environment and lets me store everything in version control and it has always worked really well... until UEFI has come along.
The problem I have is that whenever I insert a bootable USB, an old disk with an installation on, install a new OS on disk etc, the UEFI boot order which was always configured to PXE from the onboard NICs gets overridden by whatever has just been inserted/installed.
It's incredibly annoying not having a static boot order.
Even if PXE fails then it would always just pick the next available device anyway but I just cannot get PXE to remain as the first option in any of the BIOS screens of the newer machines I've been playing with (old refurb ex-office desktop PCs and an older SuperMicro X11 board etc).
Has anyone else experienced this and has any thoughts/solutions?
If I was consistently booting into Linux every time then I would just set boot order back to PXE using efibootmgr. If I was using server-grade kit with IPMI then running `ipmitool chassis bootdev` on a loop across the management network would probably be needed - yuck.
I don't suppose there are any standard mechanisms in UEFI to set an absolutely fixed boot order to attempt PXE boot first under any circumstances?
More generally though having a user-facing operating system being able override the BIOS boot order, and no ability to enforce/override this on the BIOS/UEFI side, seems completely mad.
Cheers, B
Most of my home lab gear is fairly old (6-10 years), some of which has very early UEFI implementations so I left all of it booting in legacy/BIOS boot mode to avoid the hassle. Now I'm starting to replace it with newer old gear (bargains/refurbs etc) which support UEFI so I may as well switch over where I can.
I have a home-made iPXE network boot and provisioning infrastructure - basically an iPXE menu with presets that I can either choose interactively or set on the boot server by making an entry in a YAML file for the MAC address and the iPXE menu option with any additonal command line flags. I often install stuff, blow them away, or boot from iSCSI (and less-so these days Fiber Channel) volumes. Network booting into iPXE gives me the flexibility to manage booting in a completely head-less environment and lets me store everything in version control and it has always worked really well... until UEFI has come along.
The problem I have is that whenever I insert a bootable USB, an old disk with an installation on, install a new OS on disk etc, the UEFI boot order which was always configured to PXE from the onboard NICs gets overridden by whatever has just been inserted/installed.
It's incredibly annoying not having a static boot order.
Even if PXE fails then it would always just pick the next available device anyway but I just cannot get PXE to remain as the first option in any of the BIOS screens of the newer machines I've been playing with (old refurb ex-office desktop PCs and an older SuperMicro X11 board etc).
Has anyone else experienced this and has any thoughts/solutions?
If I was consistently booting into Linux every time then I would just set boot order back to PXE using efibootmgr. If I was using server-grade kit with IPMI then running `ipmitool chassis bootdev` on a loop across the management network would probably be needed - yuck.
I don't suppose there are any standard mechanisms in UEFI to set an absolutely fixed boot order to attempt PXE boot first under any circumstances?
More generally though having a user-facing operating system being able override the BIOS boot order, and no ability to enforce/override this on the BIOS/UEFI side, seems completely mad.
Cheers, B