From 40f5e4e11932669aeb0838612fea9bebd5c5182c Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 24 Aug 2021 11:49:10 +0000
Subject: [PATCH] Merge branch 'master' of github.com:Chizi123/Scripts

---
 arch-install.sh |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch-install.sh b/arch-install.sh
index cd9d22d..cb4b5f9 100644
--- a/arch-install.sh
+++ b/arch-install.sh
@@ -12,11 +12,11 @@
 
 # Partition disk will create a new partition on the rest of the empty free space
 printf "n\np\n\n\n\nw\n" | fdisk $DISK
-mkfs.ext4 "$DISK$PARTNO"
+mkfs.btrfs "$DISK$PARTNO"
 
 # Mount and install
-mount "$DISK$PARTNO" /mnt
-pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent
+mount -o compress=zstd "$DISK$PARTNO" /mnt
+pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent btrfs-progs
 genfstab -U /mnt >> /mnt/etc/fstab
 
 # Setup locale
@@ -35,7 +35,7 @@
 # Make boot files and setup grub
 arch-chroot /mnt mkinitcpio -P
 arch-chroot /mnt sh -c "echo root:$RPASS | chpasswd"
-sed "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
+sed -i "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
 arch-chroot /mnt grub-install $DISK
 arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
 

--
Gitblit v1.9.3