1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-24 18:41:33 -05:00

Update README.md

This commit is contained in:
TommyTran732 2021-04-14 00:41:25 -04:00 committed by tommytran732
parent 61534f485b
commit 9be0c7e220
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -8,7 +8,7 @@ This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch), a *
4. Connect to the internet. 4. Connect to the internet.
5. `git clone https://github.com/tommytran732/Arch-Setup-Script/edit/main/README.md` 5. `git clone https://github.com/tommytran732/Arch-Setup-Script/edit/main/README.md`
6. `cd Arch-Setup-Script` 6. `cd Arch-Setup-Script`
7. `./install.sh` 7. `chmod u+x ./install.sh && ./install.sh`
### Changes to the original project ### Changes to the original project
1. /boot is now encrypted 1. /boot is now encrypted
@ -17,6 +17,7 @@ This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch), a *
4. Removed swap partition (I will add zram auto config later) 4. Removed swap partition (I will add zram auto config later)
5. Replaced Snapper with Timeshift (snapper rollback only works nicely with openSUSE's layout and openSUSE's GRUB. Since the current layout works better with Timeshift and we don't have any GRUB package with SUSE's patches on the AUR, I opt in for Timeshift instead. 5. Replaced Snapper with Timeshift (snapper rollback only works nicely with openSUSE's layout and openSUSE's GRUB. Since the current layout works better with Timeshift and we don't have any GRUB package with SUSE's patches on the AUR, I opt in for Timeshift instead.
6. The entire /var, not /var/log is in its own subvolume. There are more things that should not be included and restore with the main system, such as docker containers and virtual machines. 6. The entire /var, not /var/log is in its own subvolume. There are more things that should not be included and restore with the main system, such as docker containers and virtual machines.
7. No @snapshot subvolume, since we are setting this up to use with Timeshift.
### Partitions layout ### Partitions layout
@ -36,12 +37,10 @@ The **partitions layout** is pretty straightforward, it's inspired by [this sect
|------------------|----------------|------------------| |------------------|----------------|------------------|
| 1 | @ | / | | 1 | @ | / |
| 2 | @home | /home | | 2 | @home | /home |
| 3 | @snapshots | /.snapshots | | 3 | @var | /var |
| 4 | @var | /var |
The **BTRFS subvolumes layout** follows the traditional and suggested layout used by **Snapper**, you can find it [here](https://wiki.archlinux.org/index.php/Snapper#Suggested_filesystem_layout). I only added a swap subvolume in case you need a swapfile, but it's totally optional. You'll be asked if you want it or not during the script execution. Here's a brief explanation of the **BTRFS layout** I chose: The **BTRFS subvolumes layout** follows the traditional and suggested layout used by **Snapper**, you can find it [here](https://wiki.archlinux.org/index.php/Snapper#Suggested_filesystem_layout). I only added a swap subvolume in case you need a swapfile, but it's totally optional. You'll be asked if you want it or not during the script execution. Here's a brief explanation of the **BTRFS layout** I chose:
1. `@` mounted as `/`. 1. `@` mounted as `/`.
2. `@boot` mounted as `/boot`. 2. `@boot` mounted as `/boot`.
3. `@home` mounted as `/home`. 3. `@home` mounted as `/home`.
4. `@snapshots` mounted as `/.snapshots`. 4. `@var` mounted as `/var`.
5. `@var` mounted as `/var/`.