Update scripts/0-install.sh
Add line to format EFI partition
This commit is contained in:
parent
da52722adb
commit
2a41f333dc
@ -4,7 +4,8 @@ echo "Building initial system"
|
|||||||
lsblk
|
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 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 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
|
# Format the root partition to ext4
|
||||||
mkfs.ext4 /dev/$rootpar
|
mkfs.ext4 /dev/$rootpar
|
||||||
# Mount root partition
|
# Mount root partition
|
||||||
|
Loading…
Reference in New Issue
Block a user