From d8c41a8ab073d07c453a9caabfef75e0a6d79ccd Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 15 Sep 2020 21:43:41 +0000 Subject: [PATCH] partitioning/intel: Allow creation of EFI partitions on MBR * Essentially, EFI system partitions are just FAT32 formatted. * We really haven't tried EFI booting on MBR (normal choice is GPT) * I see no reason to *not* allow folks to create these. * Align partition name to GPT's naming Change-Id: I4cd52d542ea618f1ffe52927e15237fc10bb386c Reviewed-on: https://review.haiku-os.org/c/haiku/+/3224 Reviewed-by: Alex von Gluck IV Reviewed-by: Adrien Destugues --- src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp b/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp index 36b8c324d1..6154e31c86 100644 --- a/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp +++ b/src/add-ons/kernel/partitioning_systems/intel/PartitionMap.cpp @@ -138,7 +138,7 @@ static const struct partition_type kPartitionTypes[] = { { 0xc7, "Syrinx", false }, { 0xe4, "SpeedStor", false }, { 0xee, "GPT", false }, - { 0xef, "EFI", false }, + { 0xef, "EFI system data", true }, { 0xfb, "VMware VMFS", false }, { 0xfc, "VMware VMKCORE", false }, { 0xfd, "Linux raid auto", false },