diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-01-14 04:27:54 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 04:27:54 +0700 |
commit | 8c2bced5f041025f573754da253fb5e3a8b4814d (patch) | |
tree | 3ed76f6d9372a0d65ca7ff0a7430903cdc04440f | |
parent | 0c417f6806ed14003f407d47c176e9e996a9c326 (diff) | |
parent | 29338995f63c0c58ef2a2c738b1ac6591e086917 (diff) | |
download | vyatta-cfg-system-8c2bced5f041025f573754da253fb5e3a8b4814d.tar.gz vyatta-cfg-system-8c2bced5f041025f573754da253fb5e3a8b4814d.zip |
Merge pull request #117 from kroy-the-rabbit/efi-boot-fix
install: T1940, fix unbootable EFI, 4kn compatibility
-rwxr-xr-x | scripts/install/install-postinst-new | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-postinst-new b/scripts/install/install-postinst-new index 85eba45f..3a20cac3 100755 --- a/scripts/install/install-postinst-new +++ b/scripts/install/install-postinst-new @@ -140,9 +140,9 @@ install_grub () { bootloader_name="VyOS (RAID disk $I)" ((I++)) fi - mkdosfs -F 32 -n EFI /dev/$part >&/dev/null + mkdosfs -F 32 -s 1 -n EFI /dev/$part >&/dev/null mount /dev/$part $grub_root/boot/efi - output=$(grub-install --no-floppy --recheck --target=x86_64-efi --force-extra-removable --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name" 2>&1) + output=$(grub-install --no-floppy --recheck --target=x86_64-efi --force-extra-removable --root-directory=$grub_root --efi-directory=$grub_root/boot/efi --bootloader-id="$bootloader_name" --no-uefi-secure-boot 2>&1) umount $grub_root/boot/efi ##TODO DO we need these to be in fstab?? # |