mkfs.ext4 Create an ext4 file system mkfs.ext4 "/dev/sdx1" # with label mkfs.ext4 -L "my-system" "/dev/sda1"