mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-24 18:41:33 -05:00
Documentation.
This commit is contained in:
parent
64d6600c32
commit
80b76543ee
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…
Reference in New Issue
Block a user