From 8a89924e180ea56ce5c86100196b413d6dc19648 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 21 Dec 2019 07:25:48 +0100 Subject: [PATCH] add manual grub-install --- post-debootstrap-installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index 8b6be7f..e9e2d5d 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -32,7 +32,9 @@ sed -i 's/DROPBEAR_PORT=.*/DROPBEAR_PORT=222/' /etc/default/dropbear # after cryptsetup, mdadm, ... because of update-initramfs apt-get -y install linux-image-amd64 +# install grub apt-get -y install grub-efi-amd64 +grub-install # edit esp_uuid in fstab esp_uuid=$(blkid --output value "/hardware-setup/hardware/${1}/esp" | head -n1)