• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 702
  • Last Modified:

Linux won't Boot. Error occured during the file system check. Dropping you to a shell.

Running Linux RedHat 9.0.  When booting it gives the error "Unable to resolve 'LABEL=asm_temp' then it says an Error occured during the file system check dropping you to a command line.  I am not a Linux Guru and do not know where to go from here.  I can view the /etc/fstab by typing cat /etc/fstab, but I can't seem to figure out how to edit it.  vi /etc/fstab did not work and niether did nano /etc/fstab they both say command not found.  Wouldn't know what to change anyways.

When booting it says booting RedHat 2.6.9-34.ELsmp

File System type is ext2fs

Red Hat nash version 4.2.1.6

Any help?  This is a critical system.
0
jc4bone
Asked:
jc4bone
  • 3
1 Solution
 
jc4boneAuthor Commented:
Detailed descriptions of how to do your solutions would be appreciated by the way, I'm new to Linux.  Thanks in advance
0
 
jc4boneAuthor Commented:
in the command shell, if i type ls there is a file called fstab.bak.  If i try to do a cp fstab.bak /etc/fstab it says unable to create file because of read only file system.  What must I do to copy this file and overwrite the old fstab?
0
 
jc4boneAuthor Commented:
OK, I did a mount -a  

Then I ran cp fstab.bak /etc/fstab
overwrite=yes
then it worked!

Fixed it myself, thanks to anyone who may have been thinking hard and not responded yet.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now