guix/gnu
Karl Hallsby 618f665a5f
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>
2022-06-06 22:43:30 +02:00
..
bootloader bootloader: grub: Add removable grub-efi bootloader option. 2022-06-06 22:43:30 +02:00
build
home
installer
machine
packages gnu: guile-xapian: Update to 0.2.0. 2022-06-07 01:20:53 +05:30
services services: guix-data-service: Increase timeout for service start. 2022-06-05 23:35:31 +02:00
system
tests tests: childhurd: Make sure "guix build -d" works. 2022-06-05 23:35:30 +02:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: ncftp: Build reproducibly. 2022-06-05 20:27:37 -07:00
machine.scm
packages.scm
services.scm
system.scm system: Fix typo, add doc. 2022-06-06 11:29:51 -04:00
tests.scm