From b68aafe704cffa3b6080660c3860271b44d3168e Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Sat, 10 Apr 2021 17:40:40 -0400 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 779474b..f66e5b8 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ ### Introduction -This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch),a **script** made in order to boostrap a basic **Arch Linux** environment with **snapshots** and **encryption** by using a fully automated process. +This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch), a **script** made in order to boostrap a basic **Arch Linux** environment with **snapshots** and **encryption** by using a fully automated process. ### How does it work? 1. Download an Arch Linux ISO from [here](https://archlinux.org/download/) 2. Flash the ISO onto an [USB Flash Drive](https://wiki.archlinux.org/index.php/USB_flash_installation_medium). 3. Boot the live environment. 4. Connect to the internet. -5. `git clone https://github.com/tommytran732/easy-arch/edit/main/README.md` -6. `cd easy-arch` -7. `./easy-arch.sh` +5. `git clone https://github.com/tommytran732/Arch-Setup-Script/edit/main/README.md` +6. `cd Arch-Setup-Script` +7. `./install.sh` ### Changes from the original project 1. /boot is now encrypted @@ -21,7 +21,7 @@ This is my fork of [easy-arch](https://github.com/classy-giraffe/easy-arch),a ** | Partition Number | Label | Size | Mountpoint | Filesystem | |------------------|-----------|-------------------|------------|------------------------| | 1 | ESP | 512 MiB | /boot/efi | FAT32 | -| 2 | Cryptroot | Rest of the disk | / | BTRFS Encrypted (LUKS) | +| 2 | Cryptroot | Rest of the disk | / | Encrypted BTRFS (LUKS1)| The **partitions layout** is pretty straightforward, it's inspired by [this section](https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Btrfs_subvolumes_with_swap) of the Arch Wiki. As you can see there's just a couple of partitions: 1. A **FAT32**, 512MiB sized, mounted at `/boot` for the ESP. @@ -40,7 +40,8 @@ The **partitions layout** is pretty straightforward, it's inspired by [this sect 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 `/`. -2. `@home` mounted as `/home`. -3. `@snapshots` mounted as `/.snapshots`. -4. `@var_log` mounted as `/var/log`. -5. `@swap` mounted as `/swap` (_optional_). +2. `@boot` mounted as `/boot`. +3. `@home` mounted as `/home`. +4. `@snapshots` mounted as `/.snapshots`. +5. `@var_log` mounted as `/var/log`. +6. `@swap` mounted as `/swap` (_optional_).