How do I rename a USB drive?

How exactly would I rename a USB drive?

I’ve read that you can go into the Disk Utility, click on Edit Partition, and there is an option to rename the label but I can’t click in the area to rename.

Is there any other way?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

  1. Open “Disks” application
  2. Select the flash drive in the panel on the left
  3. Press the Unmount button (should look like a “stop button”)
  4. Click on the gears icon (“More actions”) and choose “Edit filesystem”

Solution 2

First, obtain the location of your USB drive:

sudo fdisk -l

Assuming that your device location is /dev/sdb1/:

You can safely check the current label without any side effects by issuing the following command:

sudo file /dev/sdb1 -s

Most USB sticks are formatted using FAT16/FAT32. To change the label via the prompt, use the mlabel command. The label of a FAT filesystem requires to be exactely 11 characters. No more, no less. When characters are omitted, spaces are added at the beginning, and seemingly random characters are appended at the end.

Install the mtools package (GNU Tools for MSDOS filesystems):

sudo apt-get install mtools

Then you might need to configure the mtools drives settings, hence add the following two lines to /etc/mtools.conf (you will need sudo to edit)

# second and third drives, first partition
drive u: file="/dev/sdb1"
drive v: file="/dev/sdc1"

Having saved, you should then be able to look at your USB drive in (say) /dev/sdb1 as drive u:

sudo mtools -v u:

(See comments ….)
Then relabel:

sudo mlabel -i /dev/sdb1 -s ::"LABEL HERE "

For other filesystems (rarely used for USB sticks), see this page.

Solution 3

None of the given answers worked for me on my 14.10 system.
I used gparted as described in https://help.ubuntu.com/community/RenameUSBDrive.

  1. sudo apt-get install gparted
  2. open gparted
  3. choose the thumbdrive from the dropdown in the top-right corner
  4. unmount the volume (right-click on drive)
  5. right click and choose “label”
  6. click on green tick to apply changes

Solution 4

Right click on the drive you want to edit to bring up the properties window. Then the name will be highlighted by default. Just type your name and click enter.

Solution 5

Simpler:

Insert USB into a Mac or Windows PC

Right click on the device in Finder or Explorer > Rename

or

In macOS Finder > command click on USB name > it is selected > type new name

or

In macOS Finder > select USB > hit Enter > name is selected > type new name

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply