Thursday, February 6, 2014

Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

In , This post you learn how to Format Pendrive and Memory Card in ubuntu by Terminal. Sometimes in Linux OS we cannot able to format pen-drive  and memory card in file manager so that instead of this problem we can format using Terminal in Linux OS.


After plugging your device in Computer ( pen-drive or memory card ).

Then

Open Terminal (ctrl +Alt + T) using this keyboard shortcut key.

After that Type the command as $ dmseg | Tail

Then, it will display like this as below :

[ 1749.108796] sd 9:0:0:0: [sdb] Write Protect is off
[ 1749.108813] sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 1749.109803] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.109816] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.116895] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.116906] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.118911]  sdb: sdb1    -> Things to be noted
[ 1749.122785] sd 9:0:0:0: [sdb] No Caching mode page present
[ 1749.122800] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[ 1749.123771] sd 9:0:0:0: [sdb] Attached SCSI removable disk

Then Unmount your device by using below command

$ sudo umount /dev/sdb1

Finally, Enter this command to format Your device

$ sudo mkfs.vfat -n ‘Ubuntu’ -I /dev/sdb1

That's it…. Now plug out your device and plug in again to use . Your device is now formatted and ready to use now..

Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

About Ubuntu Linux OS

Ubuntu is the world’s favorite free operating system, with more than 20 million people preferring it to commercial alternatives.

Ubuntu is a community developed operating system that is perfect for laptops, desktops and servers. Whether you use it at home, at school or at work Ubuntu contains all the applications you’ll ever need, from word processing and email applications, to web server software and programming tools.
Ubuntu is and always will be free of charge. You do not pay any licensing fees. You can download, use and share Ubuntu with your friends, family, school or business for absolutely nothing. Format Pen drive and Memory Card in Ubuntu by Terminal

Format Pen drive and Memory Card in Ubuntu by Terminal

What is Ubuntu? 
Loved by millions worldwide, Ubuntu is a secure, stylish operating system that couldn’t be easier to use. With no unnecessary trial software and clutter, it’s fast and it stays fast. It has amazing support for the web, thanks to the best, most secure and fastest browsers. And you can choose from thousands of free applications in the Ubuntu Software Centre. 

 This is by no means a complete list of Free operating systems… but that is all for today folks… I will be updating this list through out this week. My aim is to make this the best resource for finding a free alternative to Microsoft Windows and other proprietary Operating systems.

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers