Add data partition
parent
2c5e6a7eb1
commit
bb802d3408
|
@ -53,6 +53,7 @@ UEFI/GPT layout:
|
||||||
| `/mnt` | `/dev/root_partition` | Root Partition | |
|
| `/mnt` | `/dev/root_partition` | Root Partition | |
|
||||||
| `/mnt/var` | `/dev/var_partition` | Var Partition | >= 12 GiB |
|
| `/mnt/var` | `/dev/var_partition` | Var Partition | >= 12 GiB |
|
||||||
| `/mnt/home` | `/dev/home_partition` | Home Partition | |
|
| `/mnt/home` | `/dev/home_partition` | Home Partition | |
|
||||||
|
| `/mnt/data` | `/dev/data_partition` | Data Partition | |
|
||||||
| | `/dev/swap_partition` | Swap | |
|
| | `/dev/swap_partition` | Swap | |
|
||||||
|
|
||||||
BIOS/GPT layout:
|
BIOS/GPT layout:
|
||||||
|
@ -63,6 +64,7 @@ BIOS/GPT layout:
|
||||||
| `/mnt` | `/dev/root_partition` | Root Partition | |
|
| `/mnt` | `/dev/root_partition` | Root Partition | |
|
||||||
| `/mnt/var` | `/dev/var_partition` | Var Partition | >= 12 GiB |
|
| `/mnt/var` | `/dev/var_partition` | Var Partition | >= 12 GiB |
|
||||||
| `/mnt/home` | `/dev/home_partition` | Home Partition | |
|
| `/mnt/home` | `/dev/home_partition` | Home Partition | |
|
||||||
|
| `/mnt/data` | `/dev/data_partition` | Data Partition | |
|
||||||
| | `/dev/swap_partition` | Swap | |
|
| | `/dev/swap_partition` | Swap | |
|
||||||
|
|
||||||
Format:
|
Format:
|
||||||
|
@ -86,6 +88,10 @@ mkfs.btrfs -L VAR /dev/var_partition
|
||||||
mkfs.ext4 -L HOME /dev/home_partition
|
mkfs.ext4 -L HOME /dev/home_partition
|
||||||
mkfs.btrfs -L HOME /dev/home_partition
|
mkfs.btrfs -L HOME /dev/home_partition
|
||||||
|
|
||||||
|
# home
|
||||||
|
mkfs.ext4 -L DATA /dev/data_partition
|
||||||
|
mkfs.btrfs -L DATA /dev/data_partition
|
||||||
|
|
||||||
# swap
|
# swap
|
||||||
mkswap /dev/swap_partition
|
mkswap /dev/swap_partition
|
||||||
```
|
```
|
||||||
|
@ -118,6 +124,12 @@ mount /dev/home_partition /mnt/home
|
||||||
# btrfs
|
# btrfs
|
||||||
mount -o compress=zstd /dev/home_partition /mnt/home
|
mount -o compress=zstd /dev/home_partition /mnt/home
|
||||||
|
|
||||||
|
# data
|
||||||
|
mkdir /mnt/data
|
||||||
|
mount /dev/data_partition /mnt/data
|
||||||
|
# btrfs
|
||||||
|
mount -o compress=zstd /dev/data_partition /mnt/data
|
||||||
|
|
||||||
# swap
|
# swap
|
||||||
swapon /dev/swap_partition
|
swapon /dev/swap_partition
|
||||||
```
|
```
|
||||||
|
@ -280,7 +292,7 @@ pacman -Syu gnome-shell \
|
||||||
gnome-control-center gnome-system-monitor \
|
gnome-control-center gnome-system-monitor \
|
||||||
gnome-terminal gnome-backgrounds gnome-screenshot gnome-keyring \
|
gnome-terminal gnome-backgrounds gnome-screenshot gnome-keyring \
|
||||||
nautilus xdg-user-dirs-gtk file-roller \
|
nautilus xdg-user-dirs-gtk file-roller \
|
||||||
evince eog gedit
|
evince eog
|
||||||
|
|
||||||
# Login manager
|
# Login manager
|
||||||
pacman -Syu gdm
|
pacman -Syu gdm
|
||||||
|
|
Loading…
Reference in New Issue