LinuxQuestions.org
Register a domain and help support LQ
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-23-2008, 05:22 AM   #1
amolina
LQ Newbie
 
Registered: Jun 2008
Location: Makati, Philippines
Distribution: rhel 5
Posts: 1

Rep: Reputation: 0
Can' edit fstab in rescue mode


Hello,

I made a wrong entries in my fedora 8 fstab and it wont boot anymore, i tried to edit fstab in rescue mode usig vim but it won't work. please need your expertise... tnx in advance

Last edited by amolina; 06-23-2008 at 05:28 AM.
 
Old 06-23-2008, 05:54 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 514

Rep: Reputation: 108Reputation: 108
I never needed rescue mode, but I messed up my system a number of times and I usually just boot from a Knoppix Live CD.

Are you managing to launch vim?: #vim /etc/fstab
Are you sure you logged in as root? #whoami
How is your root partition mounted? #mount

Perhaps you can give some more details, as your problem should be easy to solve.
 
Old 06-23-2008, 06:04 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Did you chroot the filesystem first?
If not then give the command chroot /mnt/sysimage
 
  


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
FC7 cannot edit /etc/fstab in single mode leiw Linux - Newbie 3 12-21-2007 05:23 AM
cannot edit fstab in SELinux active mode eldraque Fedora 1 01-19-2006 04:38 AM
Edit file from Rescue Mode? tdog Linux - General 3 10-29-2005 02:59 PM
Edit file in rescue mode DanielTan Linux - Newbie 1 09-19-2004 12:44 PM
Rescue problem - How do I edit /etc/fstab without vi? mwarren2 Linux - Software 7 08-13-2004 06:46 PM


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