Increase ESP size to 1 GiB (#2401)

This commit is contained in:
codefiles 2024-03-10 10:20:13 -04:00 committed by GitHub
parent b87c41e92f
commit 1064f74846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ def _boot_partition(sector_size: disk.SectorSize, using_gpt: bool) -> disk.Parti
flags = [disk.PartitionFlag.Boot]
if using_gpt:
start = disk.Size(1, disk.Unit.MiB, sector_size)
size = disk.Size(512, disk.Unit.MiB, sector_size)
size = disk.Size(1, disk.Unit.GiB, sector_size)
flags.append(disk.PartitionFlag.ESP)
else:
start = disk.Size(3, disk.Unit.MiB, sector_size)