From b28a71166ffadfe18deb58209012ed13785f6459 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Tue, 28 Jul 2015 10:47:47 -0400 Subject: [PATCH] Disable GRUB os_prober on POWER (#1193281) The GRUB2 os_prober utility searches for other Linux installations and the output to the grub config file is parsed incorrectly by petitboot. This disables the os_prober script on the following POWER based machine/platform combinations. CHRP/pSeries CHRP IBM/pSeries pSeries/pSeries Maple/pSeries, Cell/pSeries Momentum/pSeries PowerNV/pSeries Resolves: rhbz#1193281 --- pyanaconda/bootloader.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index 0f62d7349c8..af2fd231a20 100644 --- a/pyanaconda/bootloader.py +++ b/pyanaconda/bootloader.py @@ -2068,6 +2068,12 @@ def write_defaults(self): defaults = open(defaults_file, "a+") # The terminfo's X and Y size, and output location could change in the future defaults.write("GRUB_TERMINFO=\"terminfo -g 80x24 console\"\n") + # Disable OS Prober on pSeries systems + # TODO: This will disable across all POWER platforms. Need to get + # into blivet and rework how it segments the POWER systems + # to allow for differentiation between PowerNV and + # PowerVM / POWER on qemu/kvm + defaults.write("GRUB_DISABLE_OS_PROBER=true\n") defaults.close()