From 6c196e4288536bbcd6d1e697d519e74344063f02 Mon Sep 17 00:00:00 2001 From: lub Date: Tue, 28 Jan 2020 19:01:56 +0100 Subject: [PATCH] make grub-install more explicit --- post-debootstrap-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index 5df17bc..d00d8da 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -40,7 +40,7 @@ apt-get -y install linux-image-amd64 # install grub apt-get -y install grub-efi-amd64 update-grub -grub-install +grub-install --target=x86_64-efi --efi-directory=/boot/efi/ --bootloader-id=GRUB # edit uuids in fstab root_uuid=$(blkid --output value "/dev/mapper/root-unlocked" | head -n1)