Wednesday, October 17, 2012

Format External Devices - Linux

It is very common formatting a External drive. People think that linux is not supported in this feature. Actually Ubuntu does have this feature in the GUI but it is possible in the Command line.

Get the root access in the command line

user6@samgha-desktop6:~$ sudo su
[sudo] password for user6:

Unmount the device

umount /dev/sd                                                  -  Make sure the device you have selected the proper device.

Now enter the following command

root@samgha-desktop6:/home/user6# mkdosfs -n "ANDROID" -I /dev/sdb
mkdosfs 3.0.12 (29 Oct 2011)

Here "ANDROID" is my external device.

Happy Hacking...

No comments:

Post a Comment

Twitter Bird Gadget