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
 
Install e2fsprogs and use /mod/sbin/e2label if you want to do it on the Humax.
 
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. ..
 
It's the EXT partition you need to label, not the entire disk - use /dev/sda1 for the first partition.
 
Ubuntu (or any other distribution) will not make any difference. Try an initial uppercase letter.
 
It worked for me when I tried it a few weeks ago. I think I may have had the drive unmounted though.
 
Back
Top