Power went out unexpectedly, then when I restarted, I got error msg stating:
fsck.ext3: Unable to resolve 'LABEL=/1'
and then instead of going into GUI, it dropped to a 'repair' shell.
i.e.:
(repair filesystem) 1 #
I could not edit /etc/fstab (fstab is where the system looks for the labels and mountpoints and stuff) because everything was in 'read-only' mode.
The repair disc did not mount the files i needed to edit /etc/fstab which others said was in /mnt/sysimage/home/etc/fstab
So it actually brought me to a shell again at that point and when I checked for /etc/fstab it was not there...and the /mnt/sysimage/home directory was not there (system could not mount it)
After searching around for hours and trying mad different things .... I found out the resolution.
The system appended a "1" to my "/" directory for some reason.
(According to other forums, if the original mountpoint is in use, the system will append a '1' to mount point)
i.e.
fsck.ext3: Unable to resolve 'LABEL=/1'
what I did was this:
did df -h to see the filesystem settings:
i.e.:
- Code: Select all
(repair filesystem) 1 # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 18G 2.5G 15G 15% /
/dev/hda1 99M 9.2M 85M 10% /boot
then I used the e2label command and it did let me change the label
i.e.
- Code: Select all
(repair filesystem) 1 # e2label /dev/hda3
/1
Showed me what the system was using for the label for /dev/hda3
which came back as "/1" but should have been only "/"
then I did
- Code: Select all
(repair filesystem) 2 # e2label /dev/hda3 /
rebooted.
I then had to press any key at the boot screen to get to the part to edit the grub loader commands (I pressed 'e' after hitting any key at startup to get to grub edit screen menu)
Second line showed something like "label=/1"
I changed it to "label=/" and pressed "enter"
(do not hit escape at this point. Press "b" to load with the changes. Everything finally loaded normally.
Believe me i tried a million things before finding the solution.
Thank goodness for forums
some info about e2label:
To look at the label of /dev/hda3, you would run:
e2label /dev/hda3
If you want to change it to something else, you would run:
e2label /dev/hda3 something_else...
The man page describes the naming length restrictions
- Code: Select all
man e2label
---------------------------------------------------------------------
*note*
E2label did not make the changes permanent. I had to edit /etc/grub.conf after the computer finally loaded up to make changes permanent
