Formatting an usb stick

Posted on: November 17, 2010

I will assume that the device will be format is called /dev/sdb

1. You should assure the device is unmounted.

# umount /dev/sdb

2. Fdisk is an Unix tool usefull to format devices.

# fdisk -l /dev/sdb

Usefull parameters:

2.1 -l list partitions table.
2.2 d delete partitions.
2.3 n Create partitions.
2.4 t Change partition type.
2.5 w Write changes.
2.6 q Quit.

3. Disconnect usb stick and come back to connect.

4. Format the usb stick.

# mkfs -t vfat /dev/sdb1


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


  • None
  • analialorenzatto: Buzz is just a host name for this example, it doesn't have any relation to the topic. Instead of being "Buzz", could be whatever name.
  • fridelain: >buzz What's the story behind this host name? Actully running buzz, once running buzz and upgraded many times since, or unrelated to debian naming
  • Pratik: Nice, but I would change it to include more directories. Like my .mozilla and .kde4 by using .{config,mozilla,kde4} instead of just .config .


%d bloggers like this: