From 0b551d729e51b4e966629d39658a3ce3c9931b05 Mon Sep 17 00:00:00 2001 From: mintsuki <36459316+mintsuki@users.noreply.github.com> Date: Sun, 2 Mar 2025 00:22:27 +0100 Subject: [PATCH] Do not force install GRUB on BIOS when not chosen as bootloader (#3206) --- archinstall/lib/installer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 10bb8513..e413fe95 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -821,9 +821,6 @@ class Installer: if part in self._disk_encryption.partitions: self._prepare_encrypt() - if not SysInfo.has_uefi(): - self._base_packages.append('grub') - if ucode := self._get_microcode(): (self.target / 'boot' / ucode).unlink(missing_ok=True) self._base_packages.append(ucode.stem) @@ -1153,7 +1150,7 @@ class Installer: ) -> None: debug('Installing grub bootloader') - self.pacman.strap('grub') # no need? + self.pacman.strap('grub') grub_default = self.target / 'etc/default/grub' config = grub_default.read_text()