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.
This commit is contained in:
parent
e7947bd538
commit
84ad2852bf
@ -165,7 +165,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, const QString& luksPass
|
|||||||
PartitionInfo::setFormat( efiPartition, true );
|
PartitionInfo::setFormat( efiPartition, true );
|
||||||
PartitionInfo::setMountPoint( efiPartition, gs->value( "efiSystemPartition" )
|
PartitionInfo::setMountPoint( efiPartition, gs->value( "efiSystemPartition" )
|
||||||
.toString() );
|
.toString() );
|
||||||
core->createPartition( dev, efiPartition, PartitionTable::FlagEsp | PartitionTable::FlagBoot );
|
core->createPartition( dev, efiPartition, PartitionTable::FlagEsp );
|
||||||
firstFreeSector = lastSector + 1;
|
firstFreeSector = lastSector + 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user