Debian: Use UUID instead of PARTUUID for esp

I don't know why this was different from Ubuntu.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2020-12-05 17:11:24 -06:00
parent c94ee2cae4
commit a4f8837031

View File

@@ -634,7 +634,7 @@ Step 4: System Configuration
apt install dosfstools apt install dosfstools
mkdosfs -F 32 -s 1 -n EFI ${DISK}-part2 mkdosfs -F 32 -s 1 -n EFI ${DISK}-part2
mkdir /boot/efi mkdir /boot/efi
echo PARTUUID=$(blkid -s PARTUUID -o value ${DISK}-part2) \ echo UUID=$(blkid -s UUID -o value ${DISK}-part2) \
/boot/efi vfat nofail,x-systemd.device-timeout=1 0 1 >> /etc/fstab /boot/efi vfat nofail,x-systemd.device-timeout=1 0 1 >> /etc/fstab
mount /boot/efi mount /boot/efi
apt install --yes grub-efi-amd64 shim-signed apt install --yes grub-efi-amd64 shim-signed