mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2020-09-21 6840e65f8107318ebbcf4da06794fa9987521938
Use compressed btrfs partition as root
1 files modified
4 ■■■■ changed files
arch-install.sh 4 ●●●● patch | view | raw | blame | history
arch-install.sh
@@ -12,10 +12,10 @@
# 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
mount -o compress=zstd "$DISK$PARTNO" /mnt
pacstrap /mnt base linux linux-firmware grub dhcpcd vim qemu-guest-agent
genfstab -U /mnt >> /mnt/etc/fstab