Step 09 - Set a swap partition in fdisk

Step 09 - Set a swap partition in fdisk

We already create a swap space in the first primary partition. However that is still a Linux system partition not a swap partition. We need to change the system id to make it the Linux swap partition type.

Press t to change the system id.

Command (m for help): t

Choose partition number 1.

Partition number (1-4): 1

Enter L to list hex codes.

Hex code (type L to list codes): L