docs: mount zstd for btrfs, cleanup buggy things

main
sudo pacman -Syu 2021-04-28 12:04:51 +07:00
parent d893c1d224
commit 88fad795f8
1 changed files with 11 additions and 18 deletions

View File

@ -91,6 +91,8 @@ Mount:
```sh ```sh
# root # root
mount /dev/root_partition /mnt mount /dev/root_partition /mnt
# btrfs
mount -o compress=zstd /dev/root_partition /mnt
# efi # efi
mkdir /mnt/efi mkdir /mnt/efi
@ -102,11 +104,15 @@ mount /dev/boot_system_partition /mnt/boot
# var # var
mkdir /mnt/var mkdir /mnt/var
mount /de/var_partition /mnt/var mount /dev/var_partition /mnt/var
# btrfs
mount -o compress=zstd /dev/var_partition /mnt/var
# home # home
mkdir /mnt/home mkdir /mnt/home
mount /dev/home_partition /mnt/home mount /dev/home_partition /mnt/home
# btrfs
mount -o compress=zstd /dev/home_partition /mnt/home
# swap # swap
swapon /dev/swap_partition swapon /dev/swap_partition
@ -138,12 +144,14 @@ pacstrap /mnt neovim
### Configure ### Configure
#### Fstab #### [fstab](https://wiki.archlinux.org/index.php/Fstab)
```sh ```sh
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab
``` ```
[Automount with systemd](https://wiki.archlinux.org/index.php/Fstab#Automount_with_systemd)
#### Chroot #### Chroot
```sh ```sh
@ -237,15 +245,6 @@ Install [Xorg](https://wiki.archlinux.org/index.php/Xorg):
```sh ```sh
pacman -Syu xorg-server pacman -Syu xorg-server
# AMD
pacman -Syu xf86-video-amdgpu mesa
# Intel
pacman -Syu xf86-video-intel mesa
# NVIDIA
pacman -Syu xf86-video-nouveau mesa
``` ```
#### [GNOME](https://wiki.archlinux.org/index.php/GNOME) #### [GNOME](https://wiki.archlinux.org/index.php/GNOME)
@ -257,7 +256,7 @@ pacman -Syu gnome-shell \
gnome-control-center \ gnome-control-center \
gnome-terminal gnome-backgrounds gnome-screenshot \ gnome-terminal gnome-backgrounds gnome-screenshot \
gnome-system-monitor gnome-keyring \ gnome-system-monitor gnome-keyring \
nautilus xdg-user-dirs-gtk file-roller p7zip unrar \ nautilus xdg-user-dirs-gtk file-roller \
evince eog gedit evince eog gedit
# Login manager # Login manager
@ -302,12 +301,6 @@ Color
[Silent boot](https://wiki.archlinux.org/index.php/Silent_boot) [Silent boot](https://wiki.archlinux.org/index.php/Silent_boot)
[Hardware video acceleration](https://wiki.archlinux.org/index.php/Hardware_video_acceleration)
[Kernel mode setting](https://wiki.archlinux.org/index.php/Kernel_mode_setting)
[Turn off CPU exploit mitigations](https://wiki.archlinux.org/index.php/improving_performance#Turn_off_CPU_exploit_mitigations)
## In the end ## In the end
This guide is updated regularly I promise. This guide is updated regularly I promise.