Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

4 Answers 4

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. http://i.stack.imgur.com/JtK25.png

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

 
discard

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.