[PATCH 3/4] set boot flag and name for EFI partition (#866106)

Brian C. Lane bcl at redhat.com
Thu Oct 25 20:04:37 UTC 2012


From: "Brian C. Lane" <bcl at redhat.com>

On EFI the stage1_device (where the EFI System partition is created) is
the one that needs to be set bootable, not the stage2 device.
---
 pyanaconda/bootloader.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index e29d134..8fa3f8b 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1549,6 +1549,8 @@ class GRUB2(GRUB):
 class EFIGRUB(GRUB2):
     packages = ["grub2-efi", "efibootmgr", "shim"]
     can_dual_boot = False
+    stage2_is_valid_stage1 = False
+    stage2_bootable = False
 
     @property
     def _config_dir(self):
-- 
1.7.11.7



More information about the anaconda-patches mailing list