Last active
August 29, 2015 14:20
-
-
Save unya/f41b2a35901bc294dca3 to your computer and use it in GitHub Desktop.
The Disappearance of EFI vars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
# Simplified to minimal case | |
dhcp || goto err_dhcp | |
:local | |
echo "IPXE01@${net0/mac:hexraw} EXIT" | |
exit | |
:err_dhcp | |
echo "IPXE01@${net0/mac:hexraw} DHCP Failure" | |
sleep 5 | |
goto local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ingredients | |
- Plain Ubuntu 14.04.2 install, UEFI mode | |
- HW involved - low power Atom and NUC Haswell boxen | |
- ipxe.efi | |
- Firmware configured to first boot from UEFI netboot, then from grub.efi | |
BootCurrent: 0000 | |
Timeout: 1 seconds | |
BootOrder: 0003,0004,0000,0002 | |
Boot0000* ubuntu HD(1,800,100000,a22ec259-773f-4a2c-9dd2-b7c5d980993e)File(\EFI\ubuntu\shimx64.efi) | |
Boot0002 ubuntu HD(1,800,100000,a22ec259-773f-4a2c-9dd2-b7c5d980993e)File(\EFI\Ubuntu\grubx64.efi) | |
Boot0003* UEFI: IPV4 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,2)PCI(0,0)MAC(f07959de54bb,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0..BO | |
Boot0004* UEFI: IPV6 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,2)PCI(0,0)MAC(f07959de54bb,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO | |
Should: | |
- Load normally | |
- `sudo efibootmgr -v` should list BootNNNN variables | |
Result: | |
- System loads | |
- There are no BootNNNN variables and in general the available set is small: | |
* Should boot properly from local disk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment