volume labels for disks

Asked by achapp

Hello
        I recently upgraded my system from dapper to edgy and then to fiesty . Its working fine . As I am getting things learned in linux , I have a small doubt .I had assigned various volume labels for my partitions . Before upgrading from edgy to fiesty , the partitions were displayed by there volume labels . for eg; music, movies etc . But after upgrading to fiesty its being displayed by there physical names , like hda1,hda2, hdb1 etc . I attach my fstab file also with this message . Kindly put a solution to this

/etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda3 -- converted during upgrade to edgy
UUID=251a759b-2435-4409-852b-93a062d2d745 / ext2 defaults,errors=remount-ro 0 1
# /dev/hda1 -- converted during upgrade to edgy
UUID=D2FC73E0FC73BCF3 /media/hda1 ntfs-3g defaults,locale=en_US.utf8 0 0
# /dev/hda5 -- converted during upgrade to edgy
UUID=12F7553D7472E759 /media/hda5 ntfs-3g defaults,locale=en_US.utf8 0 0
# /dev/hda6 -- converted during upgrade to edgy
UUID=45B2-8AC3 /media/hda6 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/hda7 -- converted during upgrade to edgy
UUID=020441545997A790 /media/hda7 ntfs-3g defaults,locale=en_US.utf8 0 0
# /dev/hdb5 -- converted during upgrade to edgy
UUID=98C4F4A1C4F482B4 /media/hdb5 ntfs-3g defaults,locale=en_US.utf8 0 0
# /dev/hdb6 -- converted during upgrade to edgy
UUID=355F-19E9 /media/hdb6 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/hda4 -- converted during upgrade to edgy
UUID=a023e6e5-ecb1-4b0a-8ba7-70f31803fa50 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0

with regards
Ashraff

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jesus Gamio (jgamio) said :
#1

I don´t know much about the fstab but I change the label name with this command ina terminal:

sudo e2label /dev/sd6 music

where /dev/sd6 is your partition and music is your label

Revision history for this message
Valentin Neacsu (valentin.neacsu) said :
#2

The man page of e2label says this:
e2label - Change the label on an ext2/ext3 filesystem

So this would not work for any other partition type like ntfs.

I'm also curious to find the solution to this problem.

Can you help with this problem?

Provide an answer of your own, or ask achapp for more information if necessary.

To post a message you must log in.