From 2a41f333dc4c25f2e3e02f232d90d31c4e19b852 Mon Sep 17 00:00:00 2001 From: Phillip Date: Fri, 7 Jun 2024 07:52:27 +0000 Subject: [PATCH] Update scripts/0-install.sh Add line to format EFI partition --- scripts/0-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/0-install.sh b/scripts/0-install.sh index b997f8e..95f76e1 100644 --- a/scripts/0-install.sh +++ b/scripts/0-install.sh @@ -4,7 +4,8 @@ echo "Building initial system" lsblk read -p 'Please enter the drive value for the root partition, this partition will be wiped and formatted: ' rootpar read -p 'Please enter the drive value for the EFI partition: ' efipar -# read -p 'Please enter the drive value for the home partition: ' homepar +# Format the EFI partition to FAT32 +mkfs.fat -F32 /dev/$efipar # Format the root partition to ext4 mkfs.ext4 /dev/$rootpar # Mount root partition