Page 1 of 1

Can't set partition labels: Solved!

Posted: Wed Jun 25, 2008 4:53 pm
by T J Tulley
Every time I try to set a partition label I get a response like this:

theo@TJT4Daryna2:~$ sudo e2label sdc1 Backups
e2label: No such file or directory while trying to open sdc1
Couldn't find valid filesystem superblock.
theo@TJT4Daryna2:~$

The same thing happens if I first cd to the location of the partition I want to label:

theo@TJT4Daryna2:/media/sdc1$ e2label sdc1 Backups
e2label: No such file or directory while trying to open sdc1
Couldn't find valid filesystem superblock.
theo@TJT4Daryna2:/media/sdc1$
[Evidently sudo isn't required for this operation].
sdc1 is a 40GB partitio of a SATA drive formatted NTFS and used for backups. It is mounted and shows on my desktop.

I shall be grateful for advice.

[I shall be even more grateful if someone will respond to the main subject of my post yesterday in the Installation and Boot forum, with subject "Background investigation".]

Re: Can't set partition labels: Solved!

Posted: Wed Jun 25, 2008 5:59 pm
by T J Tulley
Thanks - I had forgotten that e2label only applies to ext2 and ext3 partitions.

I had applied the label in /etc/fstab but also forgot that it won't show until I reboot (I hope!).

Anyway, I've edited the subject to "Solved".