how to format a usb flash drive.......renaming it

Asked by philip

i would like to format & rename a 2GB usb drive. i actually just want to rename it but i get the message- "can't be renamed". i tried using Gparted....the usb drive shows up but no options are highlighted for me to use.....can't do anything. isn't there a terminal command that will just format it? i used it in the past in a windows os and i named it....now that name is no longer useful & it bgs me i can't rename it. i think formating it will let it go back to original default name. help anyone??

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
philip
Solved:
Last query:
Last reply:
Revision history for this message
Connor Imes (ckimes) said :
#1

Have a look at this - https://help.ubuntu.com/community/RenameUSBDrive
You will need to install "mtools" and use the "mlabel" command. It is outlined there for FAT32 (should work for FAT16, too). I used it just yesterday and it works fine.

Revision history for this message
philip (philip-29) said :
#2

hi connor.....

 this is what i'm getting --> ~$ sudo mlabel -i /dev/sdc1 -s ::
sudo: mlabel: command not found

my device is at /dev/sdc1

what am i doing wrong??? am i typing this command wrong??

Revision history for this message
philip (philip-29) said :
#3

OK! i finally got the hang of it........this worked great!!!
thank you connor.