From 84ad2852bfe18ee5c922032a24ca173807fd1e63 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Wed, 22 Aug 2018 10:14:49 +0200 Subject: [PATCH] do not set boot flag on ESP ESP == boot. at best this is duplicated information, at worst kpmcore may implode if you try to set a boot flag since that is technically an MBR type flag and means nothing within the context of GPT where ESP is the flag to set. --- src/modules/partition/core/PartitionActions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/core/PartitionActions.cpp b/src/modules/partition/core/PartitionActions.cpp index 68ad85cf2..b1582a2f2 100644 --- a/src/modules/partition/core/PartitionActions.cpp +++ b/src/modules/partition/core/PartitionActions.cpp @@ -165,7 +165,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, const QString& luksPass PartitionInfo::setFormat( efiPartition, true ); PartitionInfo::setMountPoint( efiPartition, gs->value( "efiSystemPartition" ) .toString() ); - core->createPartition( dev, efiPartition, PartitionTable::FlagEsp | PartitionTable::FlagBoot ); + core->createPartition( dev, efiPartition, PartitionTable::FlagEsp ); firstFreeSector = lastSector + 1; } else