Updated script so that the OS installs on one continious drive, instead of partitioning it.
This commit is contained in:
8
setup
8
setup
@@ -19,9 +19,9 @@ cfdisk $drive
|
||||
echo "Enter the partition for your root: "
|
||||
read rootpartition
|
||||
mkfs.ext4 $rootpartition
|
||||
echo "Enter the partition for your home: "
|
||||
read homepartition
|
||||
mkfs.ext4 $homepartition
|
||||
|
||||
|
||||
|
||||
read -p "Did you also create efi partition? [y/n]" answer
|
||||
if [[ $answer = y ]] ; then
|
||||
echo "Enter EFI partition: "
|
||||
@@ -30,7 +30,7 @@ if [[ $answer = y ]] ; then
|
||||
fi
|
||||
mount $rootpartition /mnt
|
||||
mkdir /mnt/home
|
||||
mount $homepartition /mnt/home
|
||||
|
||||
|
||||
# Generating fstab file so the system can find our filesystem on reboot
|
||||
mkdir /mnt/etc
|
||||
|
||||
Reference in New Issue
Block a user