docs: only use cgdisk
parent
0410eafb13
commit
ebf257f497
|
@ -38,24 +38,30 @@ timedatectl set-ntp true
|
||||||
|
|
||||||
#### Partition the disks
|
#### Partition the disks
|
||||||
|
|
||||||
Partition:
|
[GPT fdisk](https://wiki.archlinux.org/index.php/GPT_fdisk):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# For convert GPT
|
cgdisk /dev/sdx
|
||||||
cgdisk
|
|
||||||
|
|
||||||
# For easy partition
|
|
||||||
cfdisk
|
|
||||||
```
|
```
|
||||||
|
|
||||||
[Partition scheme](https://wiki.archlinux.org/index.php/Partitioning#Partition_scheme)
|
[Partition scheme](https://wiki.archlinux.org/index.php/Partitioning#Partition_scheme)
|
||||||
|
|
||||||
UEFI/GPT layout:
|
UEFI/GPT layout:
|
||||||
|
|
||||||
|
| Mount point | Partition | Partition type | gdisk's code | Suggested size |
|
||||||
|
| ----------- | ---------------------------- | ------------------------------ | ------------ | -------------- |
|
||||||
|
| `/mnt/efi` | `/dev/efi_system_partition` | EFI System Partition | `ef00` | 512 MiB |
|
||||||
|
| `/mnt/boot` | `/dev/boot_system_partition` | Extended Boot Loader Partition | | 1 GiB |
|
||||||
|
| `/mnt` | `/dev/root_partition` | Root Partition | `8304` | |
|
||||||
|
| `/mnt/var` | `/dev/var_partition` | Var Partition | `8310` | >= 12 GiB |
|
||||||
|
| `/mnt/home` | `/dev/home_partition` | Home Partition | `8302` | |
|
||||||
|
| | `/dev/swap_partition` | Swap | `8200` | RAM x 2 |
|
||||||
|
|
||||||
|
BIOS/GPT layout:
|
||||||
|
|
||||||
| Mount point | Partition type | Suggested size |
|
| Mount point | Partition type | Suggested size |
|
||||||
| ----------- | -------------------- | -------------- |
|
| ----------- | ------------------- | -------------- |
|
||||||
| `/mnt/efi` | EFI system partition | 512 MiB |
|
| | Linux extended boot | 1 GiB |
|
||||||
| `/mnt/boot` | Linux extended boot | 1 GiB |
|
|
||||||
| `/mnt` | Linux | |
|
| `/mnt` | Linux | |
|
||||||
| `/mnt/var` | Linux | >= 12 GiB |
|
| `/mnt/var` | Linux | >= 12 GiB |
|
||||||
| `/mnt/home` | Linux | |
|
| `/mnt/home` | Linux | |
|
||||||
|
@ -83,7 +89,7 @@ mkfs.ext4 -L HOME /dev/home_partition
|
||||||
mkfs.btrfs -L HOME /dev/home_partition
|
mkfs.btrfs -L HOME /dev/home_partition
|
||||||
|
|
||||||
# swap
|
# swap
|
||||||
mkswap /dev/sdxY
|
mkswap /dev/swap_partition
|
||||||
```
|
```
|
||||||
|
|
||||||
Mount:
|
Mount:
|
||||||
|
@ -217,6 +223,8 @@ passwd
|
||||||
|
|
||||||
[systemd-boot](Applications/System/systemd-boot.md)
|
[systemd-boot](Applications/System/systemd-boot.md)
|
||||||
|
|
||||||
|
[GRUB](https://wiki.archlinux.org/index.php/GRUB)
|
||||||
|
|
||||||
## [General recommendations](https://wiki.archlinux.org/index.php/General_recommendations)
|
## [General recommendations](https://wiki.archlinux.org/index.php/General_recommendations)
|
||||||
|
|
||||||
Always remember to check **dependencies** when install packages.
|
Always remember to check **dependencies** when install packages.
|
||||||
|
|
Loading…
Reference in New Issue