path: root/tech/cheatsheet.mdwn
diff options
Diffstat (limited to 'tech/cheatsheet.mdwn')
1 files changed, 4 insertions, 4 deletions
diff --git a/tech/cheatsheet.mdwn b/tech/cheatsheet.mdwn
index 57bffa4..afdad6b 100644
--- a/tech/cheatsheet.mdwn
+++ b/tech/cheatsheet.mdwn
@@ -30,14 +30,14 @@ fallback bootloader location, `/boot/efi/EFI/BOOT/BOOTX64.EFI`.
Passing `--force-extra-removable` to grub-install(1) is meant to copy
the right files from `/boot/efi/EFI/debian` to `/boot/efi/EFI/BOOT`.
You can manually create `/boot/efi/EFI/BOOT` and copy the file
-yourself, however, as a fallback: `cp /boot/efi/EFI/debian/grubx64.efi
+yourself, however, as a fallback: `mkdir -p /boot/efi/EFI/BOOT; cp
+/boot/efi/EFI/debian/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI`
If the machine does not support UEFI Secure Boot, but grub-install
installs the Secure Boot shim to `/boot/efi/EFI/*/bootx64.efi`, the
machine may not boot. The proper solution is to `apt-get purge
shim-helpers-amd64-signed shim-signed shim-signed-common
-shim-unsigned`, and grub-install(1) should copy the right file to
+shim-unsigned`, and then grub-install(1) should copy the right file to
`bootx64.efi`. If it doesn't, as a workaround to get the machine to
-boot, `cp /boot/efi/EFI/debian/grubx64.efi
+boot, `mkdir -p /boot/efi/EFI/BOOT; cp /boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/BOOT/BOOTX64.EFI` should work.