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.

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.

share|improve this question
    
You can use the ntfslabel tool if the file system on the external disk drive is NTFS. –  Anonymous Nov 1 '11 at 23:37
    
ntfslabel /dev/sdb1 Windows, ntfslabel /dev/sdb5 Porno –  Anonymous Nov 1 '11 at 23:39

3 Answers 3

up vote 4 down vote accepted

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 :-)

share|improve this answer

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.

share|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

share|improve this answer
    
Nice and easy, thanks. –  MikeJerome Aug 28 at 14:54

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.