diff --git a/install1-ex.sh b/install1-ex.sh index c0ad0b5..31c195c 100644 --- a/install1-ex.sh +++ b/install1-ex.sh @@ -19,7 +19,7 @@ echo "-------------------------------------------------" echo "Specify drive name for install(ex. /dev/sda, /dev/nvme0n1). THIS WILL FORMAT & PARTITION THE SPECIFIED DRIVE!" -read -r DISK +read -r -p "Enter the disk: " DISK echo -e "\nFormatting disk...\n$HR" @@ -48,6 +48,8 @@ sgdisk -c 4:"home" $DISK # make filesystems echo -e "\nCreating Filesystems...\n$HR" +parted $DISK mklabel gpt + mkfs.fat -F32 "$(DISK)1" # FAT32 boot partition mkswap "$(DISK)2" # create SWAP swapon "$(DISK)2" # enable SWAP