I'm using Ubuntu 11.10 and I have a couple of WD external drives. The problem is, they all show up in the file manager as "Elements" which can get confusing. Is there a way to rename one or both of them? Right-clicking and going to properties didn't yield any results.

  • 2
    You can use the ntfslabel tool if the file system on the external disk drive is NTFS. – Anonymous Nov 1 '11 at 23:37
  • 3
    ntfslabel /dev/sdb1 Windows, ntfslabel /dev/sdb5 Porno – Anonymous Nov 1 '11 at 23:39
  • Don't forget to throw a sudo on there too. So sudo ntfslabel /dev/sdc1 Windows – Paul Jones Jul 28 '19 at 12:22

The "Disk Utility" tool that ships with most Ubuntu installations lets you change volume labels quite easily.

As with any disk operation, I would recommend performing a backup of the device first :-)

There is a duplicated question, see more here

| improve this answer | |
  • 1
    The option is called 'Edit Filesystem...' (Linux Mint 19) – Angelorf Apr 12 '19 at 17:42

The label is a property of the drive's filesystem itself - you need to modify that using GParted or other tools. Here are some instructions in Ubuntu wiki:

  • Open the System > Administration menu and see if there's an entry for GParted (previously Partition Editor).

  • If there is, launch it. If there isn't, install the "gparted" package and it should now appear in the menu. Enter your password when prompted.

  • Disk drives are divided up into partitions. To find the partition you want to re-label, you first have to find the disk drive that contains it, using the drop-down menu in the upper right. It will show a device name like /dev/sdb and the drive's total size in parentheses. After selecting a drive, you will see a list of all partitions on that drive.

  • If the partition is mounted (has a key icon next to it), right-click on the partition and select Unmount.

  • With the key icon gone, right-click on the partition and select Label. If you can't select it, install the ntfsprogs package.

  • Enter the new partition name and press Ok.

  • The label change is now pending, but has not been completed. Press the Apply button near the top of the window. After confirming, it should say "All operations successfully completed". The drive now has a new label.

| improve this answer | |

With Ubuntu 13.04 search for Disks. Select the disk. Below the Volumes box, click the square button to unmount the disk. The square will change to triangle (Mount). Then click the More Options button and select Edit Filesystem Label... Edit the name, select Change and then mount the drive by clicking the Mount button.

Not as easy as Windows, but manageable

| improve this answer | |

Use the Disk Utility Provided by ubuntu. For Ubuntu 15.10. Search Disks in the Dashboard. Open Disks-> Click on the settings of the required hard drive.-> Edit File Sytem->change the required name.

Note: Unmount(by clicking on the stop icon) the drive before you change the Labels.

| improve this answer | |

If your disk uses NTFS then you can rename it with

sudo ntfslabel /dev/sdc1 New_disk_name

(Replace 'sdc1' with the folder your disk is using.)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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