REFInd: Difference between revisions

imported>Samueldr
m Add note about AArch64
imported>Snuggle
Added instructions for rEFInd's graphical install, as this wasn't clear from the steps given.
Line 28: Line 28:
* <code>/EFI/BOOT/BOOTAA64.EFI</code> on the ESP for <tt>AArch64</tt>
* <code>/EFI/BOOT/BOOTAA64.EFI</code> on the ESP for <tt>AArch64</tt>


=== Text-mode Only ===
Assuming the ESP is mounted at <tt>/boot/</tt>, a minimal installation (text-mode) without configuration can be made using nix this way (this will replace your default bootloader):
Assuming the ESP is mounted at <tt>/boot/</tt>, a minimal installation (text-mode) without configuration can be made using nix this way (this will replace your default bootloader):


Line 33: Line 34:
sudo mkdir -p /boot/EFI/boot/
sudo mkdir -p /boot/EFI/boot/
sudo cp "$(nix-build '<nixpkgs>' --no-out-link -A 'refind')/share/refind/refind_x64.efi" /boot/EFI/boot/bootx64.efi
sudo cp "$(nix-build '<nixpkgs>' --no-out-link -A 'refind')/share/refind/refind_x64.efi" /boot/EFI/boot/bootx64.efi
</syntaxhighlight>
=== Graphical ===
If you have a fairly standard install and would like a full graphical installation with icons and buttons, the below will install refind to its own folder within your ESP:
<syntaxhighlight>
sudo nix-shell -p efibootmgr
refind-install
</syntaxhighlight>
</syntaxhighlight>