To change the label of external USB drives (like flash memory cards) in Linux, follow these steps (use root user to perform these commands):

1. Install the package mtools:

# for rpm based distributions like SuSE, Fedora, CentOS, etc
# rpm -ivh mtools 

# for pkg based distributions, like Debian, Ubuntu, etc
# apt-get install mtools 

2. Determine the partition name of the USB drive. To do that, plug in the USB device and execute:

fdisk -l

3. Let’s say the partition found is /dev/sdb1. Make sure that this partition is present in /etc/mtools.conf in a line like this:

drive c: file="/dev/sdb1"

4. Use the mlabel command to change the USB label:

mlabel c:new_label_name