diff --git a/debianzfs.sh b/debianzfs.sh index 63a8e8b..2903e54 100755 --- a/debianzfs.sh +++ b/debianzfs.sh @@ -414,9 +414,9 @@ echo REMAKE_INITRD=yes > /etc/dkms/zfs.conf # Install GRUB for UEFI booting apt-get install -y dosfstools -mkdosfs -F 32 -s 1 -n EFI "\${DISK}2" +mkdosfs -F 32 -s 1 -n EFI "\${DISK}" mkdir /boot/efi -BLKID_BOOT="/dev/disk/by-uuid/\$(blkid -s UUID -o value \${DISK}2)" +BLKID_BOOT="/dev/disk/by-uuid/\$(blkid -s UUID -o value \${DISK})" echo "\${BLKID_BOOT} /boot/efi vfat defaults 0 0" >> /etc/fstab mount /boot/efi apt-get install -y grub-efi-amd64 shim-signed