From 4c0deb4ca8c3d78f04aa2d977e7855ca0aaff8d8 Mon Sep 17 00:00:00 2001 From: CrimsonXMC <58105881+CrimsonXMC@users.noreply.github.com> Date: Wed, 8 Dec 2021 11:45:22 +0000 Subject: [PATCH] Update size of EFIBOOT partition. Updates the size of the EFI boot partition to allign with the recommendation from the arch wiki of at least 300mb. --- 0-preinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index ddc03c9..d16fda4 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -54,7 +54,7 @@ sgdisk -a 2048 -o ${DISK} # new gpt disk 2048 alignment # create partitions sgdisk -n 1::+1M --typecode=1:ef02 --change-name=1:'BIOSBOOT' ${DISK} # partition 1 (BIOS Boot Partition) -sgdisk -n 2::+100M --typecode=2:ef00 --change-name=2:'EFIBOOT' ${DISK} # partition 2 (UEFI Boot Partition) +sgdisk -n 2::+300M --typecode=2:ef00 --change-name=2:'EFIBOOT' ${DISK} # partition 2 (UEFI Boot Partition) sgdisk -n 3::-0 --typecode=3:8300 --change-name=3:'ROOT' ${DISK} # partition 3 (Root), default start, remaining if [[ ! -d "/sys/firmware/efi" ]]; then # Checking for bios system sgdisk -A 1:set:2 ${DISK} @@ -192,4 +192,4 @@ echo -ne " ------------------------------------------------------------------------- SYSTEM READY FOR 1-setup.sh ------------------------------------------------------------------------- -" \ No newline at end of file +"