commit 0fd6d19aed75ac88fae9b4f0544705d18afba491
parent 4811d2213d12eabd6bf4612c81966b86676b9869
Author: awy <awy@awy.one>
Date: Thu, 26 Jun 2025 16:57:28 +0300
ext4
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/install.sh b/install.sh
@@ -8,13 +8,13 @@ diskpart()
mkfs.fat -F32 /dev/"$bootdrive"
case $encryption in
0)
- mkfs.xfs /dev/"$rootdrive"
+ mkfs.ext4 -F /dev/"$rootdrive"
mount /dev/"$rootdrive" /mnt
;;
1)
printf "%s" "$cryptpass" | cryptsetup luksFormat /dev/"$rootdrive" -d -
printf "%s" "$cryptpass" | cryptsetup open /dev/"$rootdrive" cryptlvm -d -
- mkfs.xfs /dev/mapper/cryptlvm
+ mkfs.ext4 -F /dev/mapper/cryptlvm
mount /dev/mapper/cryptlvm /mnt
;;
esac
@@ -157,7 +157,7 @@ UUID_ROOT=$(blkid -s UUID -o value /dev/"$rootdrive")
UUID_BOOT=$(blkid -s UUID -o value /dev/"$bootdrive")
echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab
-echo "UUID=$UUID_ROOT / xfs defaults,noatime 0 1" >> /mnt/etc/fstab
+echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab
export diskdrive
export rootdrive