docs: more slim archlinux

main
Tran Hau 2021-04-21 18:50:36 +07:00
parent f3a9d84b4a
commit 60c6f8e1f8
1 changed files with 14 additions and 10 deletions

View File

@ -66,13 +66,16 @@ mkfs.fat -F32 /dev/efi_system_partition
mkfs.fat -F32 /dev/boot_system_partition mkfs.fat -F32 /dev/boot_system_partition
# root # root
mkfs.ext4 /dev/root_partition mkfs.ext4 -L ROOT /dev/root_partition
mkfs.btrfs -L ROOT /dev/root_partition
# var # var
mkfs.ext4 /dev/var_partition mkfs.ext4 -L VAR /dev/var_partition
mkfs.btrfs -L VAR /dev/var_partition
# home # home
mkfs.ext4 /dev/home_partition mkfs.ext4 -L HOME /dev/home_partition
mkfs.btrfs -L HOME /dev/home_partition
# swap # swap
mkswap /dev/sdxY mkswap /dev/sdxY
@ -107,7 +110,7 @@ swapon /dev/swap_partition
### Installation ### Installation
```sh ```sh
pacstrap /mnt base linux linux-firmware neovim pacstrap /mnt base linux linux-firmware
# LTS # LTS
pacstrap /mnt linux-lts pacstrap /mnt linux-lts
@ -115,17 +118,17 @@ pacstrap /mnt linux-lts
# Performance # Performance
pacstrap /mnt linux-zen pacstrap /mnt linux-zen
# Developement
pacstrap /mnt base-devel
# AMD # AMD
pacstrap /mnt amd-ucode pacstrap /mnt amd-ucode
# Intel # Intel
pacstrap /mnt intel-ucode pacstrap /mnt intel-ucode
# Documentation # Btrfs
pacstrap /mnt man-db man-pages pacstrap /mnt btrfs-progs
# Text editor
pacstrap /mnt neovim
``` ```
### Configure ### Configure
@ -217,8 +220,9 @@ passwd username
Enable sudo: Enable sudo:
```sh ```sh
EDITOR=nvim visudo pacman -Syu sudo
EDITOR=nvim visudo
# Uncomment group wheel # Uncomment group wheel
``` ```