index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | OneLongneck <95297344+OneLongneck@users.noreply.github.com> | 2022-01-26 09:38:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 09:38:01 +0100 |
commit | f0886f3a7f44df4e9bf212df8f54c8984de03d0a (patch) | |
tree | 46ca1e641a171de79034b136c9948c5b397dde0c /archinstall | |
parent | 90e320dd110ee99537e9c55b158fed6edaa53b78 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 438f2119..6a580ac0 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -767,7 +767,7 @@ class Installer: log(f"GRUB uses {boot_partition.path} as the boot partition.", level=logging.INFO) if has_uefi(): self.pacstrap('efibootmgr') # TODO: Do we need? Yes, but remove from minimal_installation() instead? - if not (handle := SysCommand(f'/usr/bin/arch-chroot {self.target} grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB')).exit_code == 0: + if not (handle := SysCommand(f'/usr/bin/arch-chroot {self.target} grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable')).exit_code == 0: raise DiskError(f"Could not install GRUB to {self.target}/boot: {handle}") else: if not (handle := SysCommand(f'/usr/bin/arch-chroot {self.target} grub-install --target=i386-pc --recheck {boot_partition.parent}')).exit_code == 0: |