diff --git a/ubuntu/scripts/setup-bootloader b/ubuntu/scripts/setup-bootloader index aec7f46..d1a0a3e 100644 --- a/ubuntu/scripts/setup-bootloader +++ b/ubuntu/scripts/setup-bootloader @@ -28,6 +28,9 @@ dpkg --configure -a # Ensure the existence of linux-image-generic for non-cloudimg images. apt-get -y install linux-image-generic +dpkg-reconfigure grub-efi-amd64 +update-grub + grub-install \ --target=x86_64-efi \ --efi-directory=/boot/efi \ @@ -35,4 +38,5 @@ grub-install \ --recheck update-initramfs -uk all -update-grub + +efibootmgr -v