You are here

Debian - Formatting a partition to EXT4

sudo mkfs.ext4 /dev/sda1 -L partitionname

Notes: You can get partition information by running: blkids

make sure to replace partitionname with the drive label you want