UEFI boot order, Re: Tip: Remote FAI install
Thomas Lange
lange at cs.uni-koeln.de
Thu Jan 19 20:52:02 CET 2023
Hi
for one-time changes in the boot order, you can use
efibootmgr --bootnext
and set this to the network device. From man efibootmgr:
BootNext - the boot entry which is scheduled to be run on next
boot. This supercedes BootOrder for one boot only, and is
deleted by the boot manager after first use. This allows
you to change the next boot behavior without changing
BootOrder.
But in the end, we want to have a script that changes the boot
order. And we must check if an upgrade of the grub package calls
grub-install again because that may change the order.
First I like to collect the output of efibootmgr. I like to know how
different the network boot options are stored in UEFI BIOS.
Here are two examples:
BootCurrent: 0000
BootOrder: 0000,0001
Boot0000* debian
Boot0001* UEFI: IP4 Intel(R) 82579LM Gigabit Network Connection
BootCurrent: 0001
BootOrder: 0001,0002,001D,0017,0018,0019,001A,001C,0000,001E,001F,0024,001B
Boot0000* Windows Boot Manager
Boot0001* debian
Boot0002* Linux-Firmware-Updater
.
.
Boot001D* PCI LAN
Boot001E Other CD
Boot001F Other HDD
Boot0020* USBR BOOT CDROM
Boot0021* USBR BOOT Floppy
Boot0022* ATA HDD
Boot0023* ATAPI CD
Boot0024* PCI LAN
I wonder why the second machine has two LAN entries, because it's a
Thinkpad laptop with only one ethernet device.
--
regards Thomas
More information about the linux-fai
mailing list