Wednesday, November 11, 2009

Mtools

Hi All,

This post explains how to rename a FAT32 label of your mp3 player or a USB/Flash drive.

Note that: You are doing this at your own risk and this blog is not related in any terms to a improbable damage.

Open Synaptic and install mtools.

1. Say your flash drive is at /dev/sdb1
2. You have given it a label as Ananth
3. You now want to change it to Lenny-Ananth

You can do these in 2 ways. One in using the UI based Gparted tool.

Second is this console method:

1. Before proceeding further from this step - please close all the drives, folders and apps and music and et al that is being accessed by the disk and finally umount[un-mount] the drive.

2. Open a terminal and type this command. You may have to change the device according to your device mounted. Command : sudo mlabel -i /dev/sdb1 -s ::

3. The command in step 2 should reply you back with this output : Volume label is Ananth

4. This command now changes your label: sudo mlabel -i /dev/sdb1 ::Lenny-Ananth

5. Here above step 3 and 4 commands are of the form: sudo mlabel -i device_drive -s :: and sudo mlabel -i device_drive :: new_label

Finally visit this below link for much more info and also in detail... Mine was only a high level explanation....

Change Fat32 Label

PS: In my lenny, I had to remove my usb cable of my hard disk and re-insert to make it work completely. I did not get the changed label name in the terminal when I checked it.

Hope you all like this,
Ananth Gouri

No comments:

Post a Comment