LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2009, 12:38 AM   #1
ytd
Member
 
Registered: Jan 2009
Posts: 205

Rep: Reputation: 31
Problem with boot CentOS 5 can't edit fstab


I have added a new HDD to the CentOS 5. I have added the label in /etc/fstab and after I rebooted the system, it fails to boot. It gives me a repair filesystem shell. I tried to comment the line that I added in /etc/fstab but it won't let me. What should I do ? The system can't boot because it has a wrong line in /etc/fstab - the one that I have added.

Is there anyway that I can recover the old /etc/fstab or is there anyway that I can edit it ?

I have the exact problem of this guy:
http://www.linuxforums.org/forum/red...em-prompt.html

Problem solved, booted with the installation cd and edited fstab with its help.

Last edited by ytd; 08-07-2009 at 12:59 AM.
 
Old 08-07-2009, 05:02 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for posting your fix.

// ...and off the 0-reply list now.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
edit /etc/fstab ricnoah Red Hat 3 07-23-2007 06:26 PM
Edit "read-only" /etc/fstab from "System Recovery#" (without boot cd?) charlweed Linux - General 1 12-31-2006 05:57 PM
fstab edit craigers Linux - Software 15 12-03-2004 06:02 AM
Help me edit my fstab Slovak Slackware 3 11-26-2004 10:12 AM
Rescue problem - How do I edit /etc/fstab without vi? mwarren2 Linux - Software 7 08-13-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:47 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
Open Source Consulting | Domain Registration