Linux - Error unable to resolve label filesystem recovery, Recovery file system problem

Error unable to resolve label filesystem recovery

How to recover from error label not found?
How to recover from error unable to resolve label?

Error Message

fsck.ext3: Unable to resolve 'LABEL=/usrs'        [FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue):

When the above error is found many ask the question, how to recover from the error. From the above error it is obvious that

the error is something relaed to a filsystem. TO over come this issue you have to edit the /etc/fstab. When this error occurs

you cannot edit the /etc/fstab file as it is, to edit the file you have to login as single user, then mount the filesystem.

After that only you can edit the files or /etc/fstab.

Steps for recovery:
1) Login as single user mode
2) Provide the password
Mount the filesystem to edit
3) mount -o remount,rw /
OR
3) mount -av
Edit /etc/fstab
4) vi /etc/fstab

   Find the word 'LABEL=/usrs' 

5) Change /usrs as 'LABEL=/usr'

After making the changes, you can re bot the machine.

Command to check the label
 # e2label /dev/sda1

If you specify bad device number then you might get error as below
 # e2label /dev/sdaxx

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

Command to find the disk id
 #  blkid /dev/sda1
OUTPUT:
 # /dev/sda1: UUID="1d35d020-f6a1-456f-91e6-4a722111a766" TYPE="ext3"
The blkid is the command which is used to find the block-id of the disk.

The topic on Linux - Error unable to resolve label filesystem recovery is posted by - Math

Hope you have enjoyed, Linux - Error unable to resolve label filesystem recoveryThanks for your time

Tech Bluff