Formating Pens & Other External Storage Media in GNU/Linux.

I thought to write this post in a hurry. Because I realized this topic is a common question among New GNU/Linux users and who converted to Linux from windows. Ya its reasonable for windows guys because they perform that task so easily just, right clicking on the device. Its cheap huh?

            I can see my 1GB good old pen is resting on my front USB port!Sorry Pen your going to get formatted. Please make sure, you have selected the correct device by running fdisk -l (I have don this before in detail. New readers, please check my ‘awesome CLI‘ posts.) in your terminal/konsole. mm.. well mine is /dev/sda1 .

            Now get into root mode by giving su or sudo su. Then follow my example. And make sure the device is not mounted.

mkfs.vfat /dev/sda1

mkfs.vfat /dev/sda1

I have turned my good old pen into a FAT file system. File system depends on users choice. If I want it in ext3 Itl appear like this,

mkfs.ext3 /dev/sda1 

This is how we does. This is how GNU/Linux does. Smart huh!

%d bloggers like this: