Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I mount any device (Windows partition, external HDD, flash drive, TrueCrypt mounts...) they appear in my Nautilus sidebar as "75 GB volume", "11 GB volume", etc. How can I change their label to be more meaningful? (that is, to use the volume label and/or a label of my choosing)

share|improve this question

Issue following command to know the correct drive name:

sudo fdisk -l

My USB is /dev/sdc1. If you're not sure, remove the USB and issue the command again and compare which /dev/sdc is missing.

To change the label use this with USBDisk being the name you want the drive to have:

sudo e2label /dev/sdc6 USBDisk

OR do it with the GUI:

Install gparted

sudo apt-get install gparted

Open gparted and make sure the drive you want to label is unmounted, if it's mounted you can unmount it in Gparted, right click on the drive and select unmount.

To label a drive right click on the drive you want to label and select Label, enter the desired label.

and click apply (the green V) and that's it

share|improve this answer

goto Dash home and type Disks. once it is opened, you need to unmount a drive you wish to rename. then click on "more actions" icon. now click on "Edit Filesystem Label" and you can rename a disk.

share|improve this answer

Options :

  • You can change devices labels from gparted.

You can edit labels with commands e2label and tune2fs :

  • "sudo e2label /dev/DEVICE LABEL"
  • "sudo tune2fs -L LABEL /dev/DEVICE"

You probably need to unmount your device before doing this

share|improve this answer

You can use disk utility. Select device/Partition and rename Label. Your changes made in Renaming Partition Name in windows will also rename in Ubuntu.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.