summaryrefslogtreecommitdiffhomepage
path: root/tech/cheatsheet.mdwn
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-16 16:42:50 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-16 16:42:50 -0700
commit31aefdd01efb49758e3624a54bb6a0838ff56581 (patch)
treec620396bbe5ef47849db0aa3d6a44ebe097d75f6 /tech/cheatsheet.mdwn
parentc8f359cd7b02d7cdc987ee6d520d1bd27feff453 (diff)
downloadwiki-31aefdd01efb49758e3624a54bb6a0838ff56581.tar.gz
add mkdirs
Diffstat (limited to 'tech/cheatsheet.mdwn')
-rw-r--r--tech/cheatsheet.mdwn8
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
-/boot/efi/EFI/BOOT/BOOTX64.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.