artix

default description
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit 8ec446831ac7c2cd060c223ee6d096f9ebcf5b1f
parent 0d8f2795d53f883e2060198b243b188a12434e58
Author: awy <awy@awy.one>
Date:   Wed,  3 Dec 2025 10:26:18 +0300

xfs

Diffstat:
Minstall.sh | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/install.sh b/install.sh @@ -5,16 +5,17 @@ cpuvendor=$(grep -m 1 'vendor_id' /proc/cpuinfo | awk '{print $3}') diskpart() { + pacman -S xfsprogs --noconfirm mkfs.fat -F32 /dev/"$bootdrive" case $encryption in 0) - mkfs.ext4 -F /dev/"$rootdrive" + mkfs.xfs /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.ext4 -F /dev/mapper/cryptlvm + mkfs.xfs /dev/mapper/cryptlvm mount /dev/mapper/cryptlvm /mnt ;; esac @@ -157,7 +158,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 / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab +echo "UUID=$UUID_ROOT / xfs defaults,noatime 0 1" >> /mnt/etc/fstab export diskdrive export rootdrive