docs: adding var partition

main
Tran Hau 2021-04-17 13:23:46 +07:00
parent 16d9e97d90
commit 748ce784b5
1 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,7 @@ cfdisk
| `/mnt/efi` | EFI system partition | 512 MiB |
| `/mnt/boot` | Linux extended boot | 1 GiB |
| `/mnt` | Linux | |
| `/mnt/var` | Linux | >= 16 GiB |
| `/mnt/home` | Linux | |
| | Linux swap | RAM x 2 |
@ -67,6 +68,9 @@ mkfs.fat -F32 /dev/boot_system_partition
# root
mkfs.ext4 /dev/root_partition
# var
mkfs.ext4 /dev/var_partition
# home
mkfs.ext4 /dev/home_partition
@ -88,6 +92,10 @@ mount /dev/efi_system_partition /mnt/efi
mkdir /mnt/boot
mount /dev/boot_system_partition /mnt/boot
# var
mkdir /mnt/var
mount /de/var_partition /mnt/var
# home
mkdir /mnt/home
mount /dev/home_partition /mnt/home