Diffstat (limited to 'tech/cheatsheet.mdwn')
1 files changed, 7 insertions, 6 deletions
diff --git a/tech/cheatsheet.mdwn b/tech/cheatsheet.mdwn
index 33accd3..af5c524 100644
@@ -27,16 +27,17 @@ clear whether grub-install(1)'s `--removable` option can work with
Some machines, such as my ThinkPad x220, will only boot from the
fallback bootloader location, `/boot/efi/EFI/BOOT/BOOTX64.EFI`.
Passing `--force-extra-removable` to grub-install(1) is meant to copy
-`/boot/efi/EFI/BOOT/BOOTX64.EFI`. You can manually create
-`/boot/efi/EFI/BOOT` and copy the file yourself, however, as a
+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
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 then `--force-extra-removable` should copy the
-right file to `bootx64.efi`. If it doesn't, should be able to
+shim-unsigned`, and grub-install(1) (both with and without
+`--force-extra-removable`) should copy the right file to
+`bootx64.efi`. If it doesn't, should be able to
`/boot/efi/EFI/debian/grubx64.efi` to `/boot/efi/EFI/BOOT/BOOTX64.EFI`
as a workaround to get the machine to boot.