From 52115716d7921a36d6628724ff33d6c217916fb2 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Tue, 16 Nov 2021 09:32:39 +0100 Subject: [PATCH] RHEL-9.0: increase the size of /boot/efi partition to 200 MB Increase the size of /boot/efi partition in the default partition table used for x86_64 and aarch64 architectures. The size is the same as what is being used by RHEL EC2 aarch64 image as well as what ie being suggested by RHEL-8 documentation [1]. There is currently no documentation equivalent for RHEL-9 yet. This change is part of unifying the default partitioning scheme used by all RHEL-9.0 images. [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/partitioning-reference_installing-rhel-as-an-experienced-user [2] https://bugzilla.redhat.com/show_bug.cgi?id=2022805 Signed-off-by: Tomas Hozza --- internal/distro/rhel90/partition_tables.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/distro/rhel90/partition_tables.go b/internal/distro/rhel90/partition_tables.go index 29fbf02ae..ae99e912c 100644 --- a/internal/distro/rhel90/partition_tables.go +++ b/internal/distro/rhel90/partition_tables.go @@ -17,13 +17,14 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{ UUID: disk.BIOSBootPartitionUUID, }, { - Size: 204800, + Size: 409600, // 200 MB Type: disk.EFISystemPartitionGUID, UUID: disk.EFISystemPartitionUUID, Filesystem: &disk.Filesystem{ Type: "vfat", UUID: disk.EFIFilesystemUUID, Mountpoint: "/boot/efi", + Label: "EFI-SYSTEM", FSTabOptions: "defaults,uid=0,gid=0,umask=077,shortname=winnt", FSTabFreq: 0, FSTabPassNo: 2, @@ -61,13 +62,14 @@ var defaultBasePartitionTables = distro.BasePartitionTableMap{ Type: "gpt", Partitions: []disk.Partition{ { - Size: 204800, + Size: 409600, // 200 MB Type: disk.EFISystemPartitionGUID, UUID: disk.EFISystemPartitionUUID, Filesystem: &disk.Filesystem{ Type: "vfat", UUID: disk.EFIFilesystemUUID, Mountpoint: "/boot/efi", + Label: "EFI-SYSTEM", FSTabOptions: "defaults,uid=0,gid=0,umask=077,shortname=winnt", FSTabFreq: 0, FSTabPassNo: 2,