REFInd: Difference between revisions
imported>9glenda m added efibootmgr as depedency |
imported>IgorM m Fi |
||
Line 31: | Line 31: | ||
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): | ||
<syntaxhighlight> | <syntaxhighlight lang=console> | ||
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> | </syntaxhighlight> | ||
=== Graphical === | === 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: | 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> | <syntaxhighlight lang=console> | ||
sudo nix-shell -p refind efibootmgr | $ sudo nix-shell -p refind efibootmgr | ||
refind-install | $ refind-install | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 47: | Line 47: | ||
A minimal hands-off configuration which allows some time to select an option follows: | A minimal hands-off configuration which allows some time to select an option follows: | ||
<syntaxhighlight> | <syntaxhighlight lang=bash> | ||
# Wait 2 seconds. | # Wait 2 seconds. | ||
timeout 2 | timeout 2 | ||
Line 59: | Line 59: | ||
The <tt>drivers_x64</tt> folder can also be copied next to the rEFInd EFI binary to allow it to handle filesystems not handled by your EFI implementations (though this is untested). | The <tt>drivers_x64</tt> folder can also be copied next to the rEFInd EFI binary to allow it to handle filesystems not handled by your EFI implementations (though this is untested). | ||
<syntaxhighlight> | <syntaxhighlight lang=console> | ||
~/nixpkgs $ ls -l $(nix-build '<nixpkgs>' --no-out-link -A 'refind')/share/refind/drivers_x64 | ~/nixpkgs $ ls -l $(nix-build '<nixpkgs>' --no-out-link -A 'refind')/share/refind/drivers_x64 | ||
total 528 | total 528 |