Linux notes – fdisk mkfs

1. fdisk /dev/sda
p -> print
d -> delete
n -> new
w -> write

2. mkfs -t ext3 -m 1 /dev/sda1
or
mkfs.ext3 /dev/sda1