LinuxQuestions.org
Visit Jeremy's Blog.
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 06-26-2010, 11:44 PM   #1
satishynd
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
Question 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?
 
Old 06-27-2010, 12:38 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,206

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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
 
Old 03-12-2013, 10:08 PM   #3
vineethsp
LQ Newbie
 
Registered: Mar 2013
Location: India
Distribution: RedHat Enterprise Linux Server Edition 5.5
Posts: 13

Rep: Reputation: Disabled
Quote:
Originally Posted by satishynd View Post
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)
 
  


Reply

Tags
fstab, redhat


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
Edit GRUB bootloader to booting to windows as primary OS & RedHat as secondary kalpapathum Red Hat 1 08-10-2009 05:51 AM
not able to edit the /etc/fstab ramesh mohite Linux - General 3 12-06-2007 02:29 PM
Can't edit fstab?? hulk321 Linux - Software 12 07-04-2007 01:42 PM
Ctrl+Shift in text edit forms. Spudley Linux - Software 1 12-14-2005 09:35 PM
edit /etc/fstab redhat 9 tommytom02 Linux - Newbie 1 12-20-2003 05:19 PM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration