add manual grub-install

master
lub 5 years ago
parent d2831227b7
commit 8a89924e18

@ -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)

Loading…
Cancel
Save