LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   why is e2label not recognising the partition labels in RHEL 4? (https://www.linuxquestions.org/questions/red-hat-31/why-is-e2label-not-recognising-the-partition-labels-in-rhel-4-a-443322/)

nivedhitha 05-10-2006 12:48 AM

why is e2label not recognising the partition labels in RHEL 4?
 
hi,
In RHEL4 system with a single hda hard drive, fdisk -l says that /dev/hda4 is an extended partition. now, when i try to do
e2label /dev/hda4, it gives this error:

e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/hda4
Couldn't find valid filesystem superblock

similary, fdisk -l says /dev/hda1 (with a * in the 'boot' column) is a W95FAT32. now, when i try to do
e2label /dev/hda1, it gives this error:

e2label: Bad magic number in super-block while trying to open /dev/hda1
Couldn't find valid filesystem superblock

could someone pls tell me why is e2label not recognising the partition labels?

thnx.

barbanero 05-10-2006 03:13 AM

e2label is designed to work only with ext2/ext3 filesystems


All times are GMT -5. The time now is 09:36 AM.