diff options
author | Karl Hallsby <karl@hallsby.com> | 2022-05-24 23:32:54 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-06 22:43:30 +0200 |
commit | 618f665a5ffc6330bc99c4ac2b1077c1e1a7506c (patch) | |
tree | 7296eb0052701f42ecb750b50bdcc39b4cbf616f /gnu/packages.scm | |
parent | e614cf2907105d1d41653c2316b96d29d807baa8 (diff) | |
download | guix-618f665a5ffc6330bc99c4ac2b1077c1e1a7506c.tar guix-618f665a5ffc6330bc99c4ac2b1077c1e1a7506c.tar.gz |
bootloader: grub: Add removable grub-efi bootloader option.
For single-disk installs (external USBs) and for amnesiac UEFIs, Guix is not
found using its default Grub EFI bootloader location of
/boot/efi/EFI/Guix/grubx64.efi means the Guix install will not be found.
To handle this, we can place the bootloader file in the UEFI specification
location, overwriting any other OS that may have placed a file there. This
location is namely /boot/efi/EFI/BOOT/BOOTX64.efi. Grub has explicit support
for this location/situation with the `--removable` flag.
* gnu/bootloader/grub.scm (install-grub-efi-removable)
(grub-efi-removable-bootloader): New variables.
* doc/guix.texi (Bootloader Configuration): Document it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages.scm')
0 files changed, 0 insertions, 0 deletions