Formatting hard drives
Now we need to format the partitions with appropriate file systems. The root partition must be formatted as ext4
# mkfs.ext4 /dev/sdxY
In my case root was /dev/sda1, so it’s:
# mkfs.ext4 /dev/sda1
Activate the swap partition:
# mkswap /dev/sdxY # swapon /dev/sdxY
In my case it was:
# mkswap /dev/sda2 # swapon /dev/sda2
Mount the root partition to the ‘mnt’ directory:
# mount /dev/sdxN /mnt
In my case it was sda1:
# mount /dev/sda1 /mnt
We are all set, now it’s time to proceed to installation.






