From 113812ad3df7cd00fadcfbb807a68b54c64d2ead Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Tue, 9 Dec 2014 19:21:52 +0000 Subject: [PATCH] grub: add --target=i386-pc for bios systems From Arch wiki: --target=i386-pc instructs grub-install to install for BIOS systems only. It is recommended to always use this option to remove ambiguity in grub-install. --- src/modules/grub/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/grub/main.py b/src/modules/grub/main.py index e97e56874..7246320a8 100644 --- a/src/modules/grub/main.py +++ b/src/modules/grub/main.py @@ -36,7 +36,7 @@ def install_grub(boot_loader, fw_type): check_chroot_call([libcalamares.job.configuration["grubInstall"], "--target=x86_64-efi", "--efi-directory={!s}".format(efi_directory), "--bootloader-id={!s}".format(efi_bootloader_id)]) else: install_path = boot_loader["installPath"] - check_chroot_call([libcalamares.job.configuration["grubInstall"], install_path]) + check_chroot_call([libcalamares.job.configuration["grubInstall"], "--target=i386-pc", install_path]) check_chroot_call([libcalamares.job.configuration["grubMkconfig"], "-o", libcalamares.job.configuration["grubCfg"]])