LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-13-2003, 03:56 PM   #1
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
linux rescue and vi


I just reinstalled redhat 9. I need to edit /etc/fstab. Until I make these changes I cannot get redhat to boot. When I get to linux rescue mode, then to a shell I get these results. If I type in dir it shows me that I am in the root directory. When I type #vi /etc/fstab it brings me to a screen (blank for the most part), but does not show my /ect/fstab. Is this the way I am supposed to edit in linux rescue.
 
Old 09-13-2003, 04:06 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,172

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
The rescue mode runs from RAM not off the hard drive.

Your real root partition should be mounted to /mnt/sysimage.
Verify with the mount command ( no options).
If not you can mount it your self.

So the fstab file you want is located in:
/mnt/sysimage/etc/
 
  


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
rescue linux vijaysh Linux - General 1 12-05-2004 12:45 PM
how to rescue linux vijaysh Linux - Hardware 2 07-05-2004 11:38 PM
How can I remove root logons using Linux Single and Linux Rescue from Red Hat startup LHRM Linux - Security 9 04-09-2004 08:07 PM
Win XP Install Overwrites MBR and Linux Rescue Fails to Recognize Linux Partitions carrlane Linux - Software 8 01-14-2004 08:49 AM
Linux RH7.2 Entering 'linux rescue' but /mnt/sysimage not found apeacez Linux - Newbie 4 09-29-2003 12:10 AM


All times are GMT -5. The time now is 02:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration