archlinux

7 - Partition the disks

Previous: Verify the boot mode

References:


If you have already partitioned the disks, skip to 8-erase or 9-format.

List devices and partitions:

fdisk -l

List partitions and tables in a specific device (replace /dev/sda accordingly):

gdisk -l /dev/sda

Create a GUID partition table, a 4GB EFI system partition, and a Linux LUKS partition in the remainder of the device (replace /dev/sda accordingly):

gdisk /dev/sda
o
n
+4G
ef00
n
8309
w

Next: Erase the partitions