Format Partition as ext4/Linux

From KlavoWiki
Jump to navigationJump to search

Assuming the device is SDA and the first partition is therefore SDA1

fdisk /dev/sda

Delete existing partition and create new ones as required.

mkfs.ext4 /dev/sda1 -L labelname