Reduce ESP size to 260MiB
This commit is contained in:
parent
228a5f640e
commit
d94e9097b7
1 changed files with 3 additions and 3 deletions
|
|
@ -801,7 +801,7 @@ class State():
|
||||||
build_sfdisk_partition_line(
|
build_sfdisk_partition_line(
|
||||||
table_type='GPT',
|
table_type='GPT',
|
||||||
dev_path=f'{dest_prefix}{part_num}',
|
dev_path=f'{dest_prefix}{part_num}',
|
||||||
size='384MiB',
|
size='260MiB',
|
||||||
details={'parttype': esp_type, 'partlabel': 'EFI System'},
|
details={'parttype': esp_type, 'partlabel': 'EFI System'},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
@ -930,8 +930,8 @@ class State():
|
||||||
# Source: https://en.wikipedia.org/wiki/GUID_Partition_Table
|
# Source: https://en.wikipedia.org/wiki/GUID_Partition_Table
|
||||||
required_size += (1 + 33 + 33) * self.destination.phy_sec
|
required_size += (1 + 33 + 33) * self.destination.phy_sec
|
||||||
if settings['Create Boot Partition']:
|
if settings['Create Boot Partition']:
|
||||||
# 384MiB EFI System Partition and a 16MiB MS Reserved partition
|
# 260MiB EFI System Partition and a 16MiB MS Reserved partition
|
||||||
required_size += (384 + 16) * 1024**2
|
required_size += (260 + 16) * 1024**2
|
||||||
else:
|
else:
|
||||||
# MBR only requires one LBA but adding a full 4096 bytes anyway
|
# MBR only requires one LBA but adding a full 4096 bytes anyway
|
||||||
required_size += 4096
|
required_size += 4096
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue