How Rename Your Partition Volume Label


Sometimes it is just very annoying, the system does not allow you to name your partition volume label yourself, it just assigned them as Disk, Disk1, Disk2. Why can’t they make it as friendly as Windows?

So, overcome this. I do searching, below is what I have learned today.

First create a desire folder name in media folder. For example “NewDriveA

mkdir /media/NewDriveA

You need the UUID of your drive to proceed the next step. Just in case you don’t know how use this command to get the partition.

ls /dev/disk/by-uuid -alh

You might want to ask how I know which one is the corresponding one, since you have so many hard disks. There are more than one way to find it either through GParted or using fdisk.

sudo fdisk -l

For my case, my uuid is 46FE-E259. Then the next step is edit the fstab. To play safe, backup it first.

cp /etc/fstab /etc/fstab.old

Then open it with administrator rights.

sudo gedit /etc/fstab

Just modify if it already exist or add in if it is new.

UUID=46FE-E259 /media/NewDriveA ext3 default 0 0

Because mine is ext3, you can use vfat for FAT16 or 32 and ntfs for Windows NTFS partition.

After saving it, you can remount it again.

sudo mount -a

You can find more detail of the option at fstab on Ubuntu help.







One Response to 'How Rename Your Partition Volume Label'

  1. Frustrating Mounting Problem | My Linux Way - January 5th, 2008 at 6:35 pm

    [...] time I thought I have managed to settle the drives mounting problem on Ubuntu. But later I realized it was not 100 [...]


Leave a Reply