From 488c4b511e36c7722e2dfd199de54b28e44111b3 Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sun, 31 Jan 2021 15:07:17 +0100 Subject: [PATCH] Two new sections. --- easy-arch.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/easy-arch.sh b/easy-arch.sh index 1692f47..1fbe98a 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -63,6 +63,7 @@ btrfs su cr /mnt/@swap # Mounting the newly created subvolumes. umount /mnt +echo "Mounting the newly created subvolumes." mount -o compress=zstd,subvol=@ $BTRFS /mnt mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot} mount -o compress=zstd,subvol=@home $BTRFS /mnt/home @@ -70,4 +71,11 @@ mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap mount $ESP /mnt/boot -echo "Done." \ No newline at end of file + +# Pacstrap (setting up a base sytem onto the new root). +echo "Installing the base sytem." +pacstrap /mnt base linux linux-firmware btrfs-progs neovim networkmanager + +# Fstab generation. +echo "Generating a new fstab." +genfstab -U /mnt >> /mnt/etc/fstab \ No newline at end of file