LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ctrl+D error.. Redhat not booting up... cannot edit /etc/fstab. (http://www.linuxquestions.org/questions/linux-newbie-8/ctrl-d-error-redhat-not-booting-up-cannot-edit-etc-fstab-816573/)

satishynd 06-26-2010 11:44 PM

Ctrl+D error.. Redhat not booting up... cannot edit /etc/fstab.
 
I am new to redhat.
first of all apology if posting in wrong section.

well my problem:
i kind of wanted to give userquota to a user and ended up messing up /home label name etc in /etc/fstab
which has resulted in Ctrl + D error at bootup.
i tried editing fstab entries but it says no permission or similar.

how to remove this problem ? plz help


PS: anyother then linux rescue dvd method?

syg00 06-27-2010 12:38 AM

You may have to mount the root r/w - from the shell you drop into (<Ctrl>-D) enter this to see your current mounts
Code:

df -hT

vineethsp 03-12-2013 10:08 PM

Quote:

Originally Posted by satishynd (Post 4016044)
I am new to redhat.
first of all apology if posting in wrong section.

well my problem:
i kind of wanted to give userquota to a user and ended up messing up /home label name etc in /etc/fstab
which has resulted in Ctrl + D error at bootup.
i tried editing fstab entries but it says no permission or similar.

how to remove this problem ? plz help


PS: anyother then linux rescue dvd method?

When the root user try to make any Permanent entry in fstab file & by mistake changes the path location of mounted file systems, it gives error while rebooting the system.

Control D Error:-

Steps to Rectify it:-....

1) Enter the bootable Cd/DvD of Rhel.
(The version you are using)

2) Read the control D error carefully.


3) Give the root password.


4) You will go to single usermod.

5) Try to access /etc/fstab file.

6) Will not allow you as will be in read only mode.

7) Enter this command:-
mount -o remount,rw /
(Will give read/write permission to /)


8) Will give u read/write permission to all

the files in /


9)Then again enter into /etc/fstab & rectify ur error.(vim /etc/fstab)

10)Give command reboot or init 5(As per ur wish)


All times are GMT -5. The time now is 05:44 AM.