• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 675
  • 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

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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