Rename external HD

Bob Cortez rjcortez at
Thu May 31 02:09:48 UTC 2007

The file system of the hd is vfat. I tried following the instructions
at with the following

@ubuntu:~$ df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
              ext3    27371388   3975252  22005752  16% /
varrun       tmpfs      257960       216    257744   1% /var/run
varlock      tmpfs      257960         0    257960   0% /var/lock
procbususb   usbfs      257960       108    257852   1% /proc/bus/usb
udev         tmpfs      257960       108    257852   1% /dev
devshm       tmpfs      257960         0    257960   0% /dev/shm
lrm          tmpfs      257960     33788    224172  14%
/dev/hda1     ext3      241116     26964    201704  12% /boot
/dev/sda1     vfat    78127040  39304800  38822240  51% /media/EXERNAL HD
@ubuntu:~$ sudo gedit ~/.mtoolsrc
@ubuntu:~$ sudo mlabel -s i:
Cannot initialize 'I:'
mlabel: Cannot initialize drive


Phil - yes I've tried to highlight but I don't get a rename option.  I
think that only works for folders and files, not devices.  F2 doesn't
do anything.  Alt-F2 brings up the run dialogue box but I'm not sure
what I should be using as a command.  I tried mlabel -s i: with the
same result as above.  Cannot initialize drive.

I also tried the instructions for ext3 file system in case the
directions were based on the host and not the external drive.  I
received the following response.
e2label: Bad magic number in super-block while trying to open /dev/sda1
Couldn't find valid filesystem superblock.

I could probably plug it into the XP box and change it there, but I'm
being stubborn.  I may not always have that available to me in these

Thanks for the responses, any other ideas?


On 5/30/07, Mario Vukelic <mario.vukelic at> wrote:
> On Wed, 2007-05-30 at 14:53 -0800, Bob Cortez wrote:
> > What's the best way to rename the hard drive to a ubuntu 7.04 friencly
> > name? I tried using the properties field in the gui but got 'you don't
> > have permissions' error.
> You may be able to do it by starting an instance of the file manager
> with Alt+F2 to bring up the run dialog, then run "sudo nautilus
> --no-desktop".
> Or use Alt+F2 or a terminal and run "sudo mkfs.ext3 -L <name>". Read the
> man page, either with "man mkfs.ext3" in a terminal or via menu System|
> Help and Support|Adanced Topics. This is assuming that you have an ext3
> filesystem on the disk. If not, try the section SEE AlSO in "man mkfs"
> --
> ubuntu-users mailing list
> ubuntu-users at
> Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list