Make EFI/BIOS hybrid boot optional by ignoring error
This commit is contained in:
parent
8f794f5f84
commit
cfd568f287
@ -323,7 +323,7 @@ def main():
|
||||
mbrInstall = False
|
||||
chroot(ipth(),["grub-install","--target=i386-efi","--uefi-secure-boot","--efi-directory=/boot/efi","--boot-directory=/boot",grubDisk])
|
||||
chroot(ipth(),["grub-install","--target=x86_64-efi","--uefi-secure-boot","--efi-directory=/boot/efi","--boot-directory=/boot",grubDisk])
|
||||
chroot(ipth(),["grub-install","--target=i386-pc","--boot-directory=/boot",grubDisk])
|
||||
nerr(chroot,ipth(),["grub-install","--target=i386-pc","--boot-directory=/boot",grubDisk])
|
||||
chroot(ipth(),["update-grub"])
|
||||
print("Unmounting ESP ...")
|
||||
call(["umount","-l",ipth("boot/efi")])
|
||||
|
Loading…
Reference in New Issue
Block a user