Blob Blame History Raw
From 2050395b053e4813da20f1c3bc39d74a8e45803f Mon Sep 17 00:00:00 2001
From: Peter Robinson <>
Date: Thu, 7 Mar 2019 20:57:59 +0000
Subject: [PATCH] Support legacy MBR (msdos) as part of UEFI to enable hybrid

The UEFI spec supports legacy MBR (msdos) in section 5.2 of the UEFI 2.7 spec [1].
There's a number of use cases where we might boot on a UEFI device but want to
support, but not by default, the creation of images using legacy MBR partitions.
One of these use cases is cloud images where we can produce a single image
tha will run on UEFI supported, including secure-boot, clouds but also
support AWS which only supports MBR partitioning schemes [2] and in the current
config anaconda fails the install where this is a perfectly valid and widely
supported deployment mechanism.

So enable the ability to use legacy msdos partitioning schemes, but don't use
it for default installs, so people may consume this mechanism using kickstarts
rather than having the install fail for a valid use case.


Signed-off-by: Peter Robinson <>
 blivet/formats/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/ b/blivet/formats/
index 75867d6a..8186d1a1 100644
--- a/blivet/formats/
+++ b/blivet/formats/
@@ -228,7 +228,7 @@ def get_platform_label_types(cls):
         elif arch.is_efi() and arch.is_arm():
             label_types = ["msdos", "gpt"]
         elif arch.is_efi() and not arch.is_aarch64():
-            label_types = ["gpt"]
+            label_types = ["gpt", "msdos"]
         elif arch.is_s390():
             label_types = ["msdos", "dasd"]