From 80b76543eec1f2763ee4151492bdb1a93b8b20e5 Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Mon, 1 Feb 2021 11:20:58 +0100 Subject: [PATCH] Documentation. --- README.md | 12 ++++++++++++ easy-arch.sh | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 966b151..9246cf4 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,20 @@ +# Partition Scheme + | Partition Number | Label | Size | Mountpoint | Filesystem | |------------------|-----------|------------------|------------|-----------------| | 1 | ESP | 512 MB | /boot | FAT32 | | 2 | Cryptroot | Rest of the disk | / | BTRFS Encrypted | +# BTRFS Subvolumes layout + +| Subvolume Number | Subvolume Name | Mountpoint | +|------------------|----------------|------------------| +| 1 | @ | / | +| 2 | @home | /home | +| 3 | @snapshots | /.snapshots | +| 4 | @var_log | /var/log | +| 5 | @swap | /swap (optional) | + How does it work? ```sh <(curl -sL u.nu/ws5e2)``` diff --git a/easy-arch.sh b/easy-arch.sh index 89184ab..7a4de7f 100644 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -80,7 +80,7 @@ mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap mount $ESP /mnt/boot # Pacstrap (setting up a base sytem onto the new root). -echo "Installing the base system." +echo "Installing the base system (it may take a while)." pacstrap /mnt base linux linux-firmware btrfs-progs grub grub-btrfs efibootmgr snapper sudo neovim networkmanager &>/dev/null # Fstab generation. @@ -144,7 +144,7 @@ else fi # Configuring the system. -arch-chroot /mnt /bin/bash -xe <<"EOF" +arch-chroot /mnt /bin/bash -e <<"EOF" # Setting up clock. hwclock --systohc