summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-03-12 20:47:57 -0500
committerAndrew Cady <d@jerkface.net>2021-03-12 20:47:57 -0500
commitdf8350fbe02d3ce5da79e50fb7917fc871ad3d54 (patch)
tree63322c61d7516303a1ee3370c8fcb12e969c2d3f
parent512be65a4331f0b0d80fc78294df14d7a66c1c1c (diff)
try to fix efi boot with alternative grub-install commandefi-test
-rwxr-xr-xsrc/partvi4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partvi b/src/partvi
index b718dba..7d8fe5b 100755
--- a/src/partvi
+++ b/src/partvi
@@ -404,5 +404,5 @@ $sudo kpartx -su "$whole"
404 404
405iterate_partitions copy_data_to_mounted_target_filesystems 405iterate_partitions copy_data_to_mounted_target_filesystems
406 406
407loudly $sudo eatmydata -- grub-install --target=i386-pc --recheck --boot-directory="$BOOT_DIR" "$whole" 407loudly $sudo eatmydata -- grub-install --target=i386-pc --recheck --boot-directory="$BOOT_DIR" "$whole"
408loudly $sudo eatmydata -- grub-install --target=x86_64-efi --recheck --removable --efi-directory="$EFI_DIR" "$whole" || true 408loudly $sudo eatmydata -- grub-install --target=x86_64-efi --recheck --removable --efi-directory="$EFI_DIR" --boot-directory="$BOOT_DIR" "$whole" || true