I use rEFInd as my EFI Boot Manager. This post is about taking some extreme measures to achieve best possible boot experience across all my machines - both servers, PCs and laptops. Why bother about boot? For me it is important to have the following features available:
- Some pre-boot environment that might be useful, if I brick my main OS.
- Ability to boot alternative syste.
I decided to always reserve 1 GB for EFI partition. Please note those recommendations:
I keep on my EFI partition also firmware files and
I always mount my EFI partition as
/efi using the following entry in
# /dev/sda1 UUID=C043-FAA5 LABEL=EFI /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
This section discusses tools, I have on my EFI partition.
Why I need it? Just to test memory after adding / removing / changing / upgrading memory modules.
Memtest is actually pretty good software to check that computer is properly operating.
Installation - memtest EFI binary should end up in
/EFI/tools directory on EF partition:
pacman -S memtest86+-efi cp /boot/memtest86+/memtest.efi /efi/EFI/tools/memtest86.efi
Note that the destination file MUST be named exactly as
memtest86.efi, otherwise rEFInd will not find it.
EFI version of gdisk can be downloaded from SourceForge.
Installation - extract
gdisk_x64.efi and copy it to EFI partition:
unzip gdisk-efi-1.0.4.zip cp gdisk-efi/gdisk_x64.efi /efi/EFI/tools/
rEFInd will automatically recognize presence of
TBD… (I want to load ISO files, and GRUB allows for this)
For advanced troubleshooting / admin tasks.
To boot various OSes from my OpenWrt NAS.