LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-12-2010, 07:42 AM   #1
bilal_mld
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Rep: Reputation: 0
Unhappy 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.
 
Old 08-12-2010, 07:43 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can use mount -o remount with rw options to mount the / as read/write.

Last edited by linuxlover.chaitanya; 08-12-2010 at 07:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bare metal restore for RHEL 5.1 thespaceman Red Hat 4 10-21-2011 02:42 PM
iptables-restore ubuntu server does not restore at boot R03L Ubuntu 4 02-09-2010 09:14 PM
How to increase Grub boot wait time on Dual OS RHEL 5 and Windows XP mbj_linux Linux - Newbie 1 04-28-2009 04:27 PM
How to Install RH AS4 and RHEL 5 on the same machine having options at boot time? masquerade Red Hat 2 01-20-2009 05:33 AM
RHEL 5 Complete Restore from backup to identical server direwolf23 Red Hat 1 04-25-2008 08:28 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration