Updated script so that the OS installs on one continious drive, instead of partitioning it.

This commit is contained in:
2025-10-17 21:18:21 +05:30
parent 2f218fd838
commit 1e73d0f308

8
setup
View File

@@ -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