path: root/tech/cheatsheet.mdwn
diff options
authorSean Whitton <>2019-11-16 16:37:26 -0700
committerSean Whitton <>2019-11-16 16:37:26 -0700
commit143dcac9a60695bc42c0feaaee444f89cabd9c9b (patch)
treee57a6c3515196ddf6803966595456ed7562ae4ce /tech/cheatsheet.mdwn
parent639a57424fd7a8f42d6fcca7a8c4f604608fccee (diff)
generalise instructions a bit
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
--- a/tech/cheatsheet.mdwn
+++ b/tech/cheatsheet.mdwn
@@ -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/debian/grubx64.efi` to
-`/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.