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: "
|
echo "Enter the partition for your root: "
|
||||||
read rootpartition
|
read rootpartition
|
||||||
mkfs.ext4 $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
|
read -p "Did you also create efi partition? [y/n]" answer
|
||||||
if [[ $answer = y ]] ; then
|
if [[ $answer = y ]] ; then
|
||||||
echo "Enter EFI partition: "
|
echo "Enter EFI partition: "
|
||||||
@@ -30,7 +30,7 @@ if [[ $answer = y ]] ; then
|
|||||||
fi
|
fi
|
||||||
mount $rootpartition /mnt
|
mount $rootpartition /mnt
|
||||||
mkdir /mnt/home
|
mkdir /mnt/home
|
||||||
mount $homepartition /mnt/home
|
|
||||||
|
|
||||||
# Generating fstab file so the system can find our filesystem on reboot
|
# Generating fstab file so the system can find our filesystem on reboot
|
||||||
mkdir /mnt/etc
|
mkdir /mnt/etc
|
||||||
|
|||||||
Reference in New Issue
Block a user