LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-12-2005, 10:07 AM   #1
linuxisKool
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
startup issue


Hi All,


I am new to linux community.I have a small question.I made some changes on /etc/fstab file now when I start my linux os it gives me an error that bad entry on fstab file.can any one let me know how can I access my fstab file so that I can roll back my changes .I am using redhat 3 enterprise.

Your help is highy appreciated.Please give me a detail explanation since I am new to linux

Regards,
Linuxiskool
 
Old 10-12-2005, 10:15 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
from graphical environment (assuming you are in GNOME)

open up a terminal, login as root

Code:
gedit /etc/fstab
This will open up text editor gedit with the file fstab. Revert the changes...save...exit. Logout of root. Reboot to see if it works.

-Tux,
 
Old 10-12-2005, 10:26 AM   #3
linuxisKool
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Tux

Thanks for reply but Linux is not coming I mean it hangs up during startup so it wont be possible to use gedit.Is it possible to change this file during startup.

Thanks!
Linuxiskool
 
Old 10-12-2005, 10:46 AM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Well, if it is not starting up then you might use a rescue disk that might have come with your RedHat. If you don't have a rescue disk you can download and burn a live-cd linux like Knoppix. Knoppix runs entirely off a cd so it won't overwrite anything on the hard drive. Once you are ready, you can boot the knoppix cd (remember to check "boot from cd" is the first boot option in your bios) and open up any text editor and edit the fstab file. Save changes, reboot...and remove the cd.

In any case, you should at least have one live cd handy...for any such future problems.

Tux,
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
possible graphics card issue on startup sam_higton SUSE / openSUSE 2 07-28-2005 06:12 PM
IPW2100 issue on startup (and a few others!) JabbaTheSlut Debian 2 02-22-2005 12:29 PM
HCFPCI issue on startup MDK 10.1 lxEvolution Linux - Software 0 11-15-2004 08:01 PM
RH 9 Startup Issue br_sriram Linux - Software 2 09-21-2004 01:53 AM
eclipse startup issue ferreter Slackware 0 04-28-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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