Restore RHEL 5 at boot time
I am running RHEL 5 on Vmware Workstation. That is i inslled Vmware Workstation on windows 7 and then in Vmware i installed RHEL 5 as a virtal machine. By mistake i made some wrong entry in my /etc/fstab file that is i was trying to automatically mount one folder under another folder. My syntax was wrong. So when i restart my RHEL 5 , at the boot time due to wrong entry in /etc/fstab system is giving file system error as follows:
Checking filesystems fsck.ext3: Unable to resolve 'LABEL=/home/download' fsck.ext3: Unable to resolve 'LABEL=/var/ftp/uploads' [FAILED] *** An error occurred during the file system check. *** Dropping you to a shell; the system will reboot *** when you leave the shell. *** Warning -- SELinux is active. *** Disabling security enforcement for system recovery. *** Run 'setenforce 1' to reenable. Give root password for maintenance (or type Control-D to continue): now if i type Control+D system again restart at after some time the same message appears on the screen. But if i give root password for maintenance then the following appears (Repair filesystem) 1`# i tried (Repair filesystem) 1`# vi /etc/fstab to delete those wrong entries but can not save changes after deleting wrong entries from /etc/fstab because the file was opened in read-only mode. Now guide me how to over come from this problem. |
You can use mount -o remount with rw options to mount the / as read/write.
|
All times are GMT -5. The time now is 12:09 PM. |