mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Documentation.
This commit is contained in:
parent
64d6600c32
commit
80b76543ee
2 changed files with 14 additions and 2 deletions
12
README.md
12
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)```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue