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!

Advertisements

One Response to “Formating Pens & Other External Storage Media in GNU/Linux.”

  1. mahesh Says:

    Thank you so much for the useful stuff bro.
    nice to c our man doin gret work.
    post mo gud stuff.

    Gud luck


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: