LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startup issue (https://www.linuxquestions.org/questions/linux-newbie-8/startup-issue-372271/)

linuxisKool 10-12-2005 10:07 AM

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

tuxrules 10-12-2005 10:15 AM

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,

linuxisKool 10-12-2005 10:26 AM

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

tuxrules 10-12-2005 10:46 AM

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,


All times are GMT -5. The time now is 08:18 PM.