Rename Drive Volume

sohlinux

Member
How can I rename my usb drive? the following doesnt work on this distro so what is the command, its formatted ext3

e2label /dev/sda newname

thanks
 

af123

Administrator
Staff member
Install e2fsprogs and use /mod/sbin/e2label if you want to do it on the Humax.
 
OP
sohlinux

sohlinux

Member
humax# /mod/sbin/e2label /dev/sda 2TB
/mod/sbin/e2label: Bad magic number in super-block while trying to open /dev/sda
Couldn't find valid filesystem superblock.

as you can see it kicks up an error, oh well I could do it in ubuntu with the disk utilities but I would like to do it with the humax if possible. ..
 

af123

Administrator
Staff member
It's the EXT partition you need to label, not the entire disk - use /dev/sda1 for the first partition.
 

xyz321

Well-Known Member
Ubuntu (or any other distribution) will not make any difference. Try an initial uppercase letter.
 

xyz321

Well-Known Member
It worked for me when I tried it a few weeks ago. I think I may have had the drive unmounted though.
 
Top