LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-05-2003, 11:17 PM   #1
buddhahat
Member
 
Registered: Sep 2003
Distribution: Slackware 10, FreeBSD 6.2, Ubuntu 7.04
Posts: 60

Rep: Reputation: 15
Cannot boot system after changing fstab


I'm a complete newbie to Linux (recent Windows convert) so please forgive me if this is simple.

I've installed RH 9 on a system as a file server (no GUI). It's been running great until I made a change to the /etc/fstab. I read (on another message board) that you could improve disk performance by using the option "data=writeback". I changed /etc/fstab using the vi editor. After making this change I restarted the system (shutdown now -r).

When the system restarted I got a bunch of "FAILED" messages. Then it stops with "INIT: no more processes left in this runlevel". I can't get the console login!

I have a boot disk and I have the rescue cd but I don't know how to use them! I use the rescue cd and get the prompt "boot:" I need to access my original fstab so I can undo my changes and bring our system back online.

Thanks in advance for the help, it's greatly appreciated.

Last edited by buddhahat; 11-05-2003 at 11:19 PM.
 
Old 11-05-2003, 11:35 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
" I need to access my original fstab so I can undo my changes and bring our system back online."

Boot your rescue CD.
make a temporay directory
mkdir /canary
Then mount your / partition on /canary
mount /dev/hdxx /canary (where hdxx is your / partition)
Then use vi (any command line editor will do) to edit /canary/etc/fstab

umount /canary before you reboot or you will have to fsck your / partition when you boot.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 11-06-2003, 07:52 AM   #3
buddhahat
Member
 
Registered: Sep 2003
Distribution: Slackware 10, FreeBSD 6.2, Ubuntu 7.04
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks for the help Steve!
 
  


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
Changing boot system rogier1983 Linux - Newbie 2 10-27-2005 12:14 PM
changing distro in a dual boot system delval Linux - General 4 10-25-2005 08:06 PM
changing distro, in a dual boot system Agna Linux - Newbie 4 06-01-2005 02:36 PM
Changing priority of Dual Boot System LinuxVirgIan Linux - Newbie 5 07-02-2004 06:45 PM
Changed fstab/mtab - system won't boot... biased99 Red Hat 5 04-26-2004 06:40 PM


All times are GMT -5. The time now is 07:05 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