REFInd: Difference between revisions

imported>Samueldr
m Actually there too
imported>Samueldr
m Add note about AArch64
Line 23: Line 23:
rEFInd can be installed either using the derivation built using <tt>nix</tt> or by [https://www.rodsbooks.com/refind/getting.html downloading a pre-built binary]. rEFInd can then be placed at the default bootloader location (or anywhere else and then configured) in the ESP.
rEFInd can be installed either using the derivation built using <tt>nix</tt> or by [https://www.rodsbooks.com/refind/getting.html downloading a pre-built binary]. rEFInd can then be placed at the default bootloader location (or anywhere else and then configured) in the ESP.


The default boot location is <tt>/EFI/BOOT/BOOTX64.EFI</tt> on the ESP for x64_64.
The default boot location is:


{{note|This requires <tt><nixpkgs></tt> 18.03 or newer, previously rEFInd was marked as broken.}}
* <code>/EFI/BOOT/BOOTX64.EFI</code> on the ESP for <tt>x64_64</tt>
* <code>/EFI/BOOT/BOOTAA64.EFI</code> on the ESP for <tt>AArch64</tt>


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):