LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-04-2003, 05:57 PM   #16
thetwin
Member
 
Registered: Feb 2003
Distribution: Linux RedHat 7.2
Posts: 47

Original Poster
Rep: Reputation: 15

Thanks for the responses, moving the 0 didn't do it and I think once I finish backing up some files I will try to redo /etc/fstab
completely and see what that does. Machine starts fine and is running however the error message still appears on boot. I will also try the fsch command with the rescue disk.

Q*Bert, you are right, my knowledge of the underlying principles in Linux are somewhat lacking..that is why I am using Linux and playing with Linux and asking questions about Linux. Books only are helpful to a certain degree and not everyone learns the same way. Some people can gather more from doing and asking than reading..and I figured all that out without a Masters degree
 
Old 03-04-2003, 06:00 PM   #17
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Acid_kewpie, you beat me to it. I was also going to suggest actually looking in the /etc/fstab file to make sure there were no blank lines following the cdrom line. I didn't, however, notice the missing comma though. I'll keep a sharper eye out next time. Thanks for posting that follow-up.
 
Old 03-04-2003, 06:27 PM   #18
Q*Bert
Member
 
Registered: Feb 2003
Location: Birmingham, UK
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222

Rep: Reputation: 30
Quote:
Originally posted by thetwin
Books only are helpful to a certain degree and not everyone learns the same way. Some people can gather more from doing and asking than reading..and I figured all that out without a Masters degree
First off, a masters degree won't tell you much with what you want to know about computing. It's a research degree which means they choose what you study - the title of my masters was "Assessment of the Lyee set of tools for the development of an anxiety management system". Fascinating huh? Certainly not what you'd want to study and nothing to do with Linux unfortunately.

If none of the previous suggestions worked, I looked in my book "Red Hat Certified Engineer Linux Study Guide", Maine, Rafferty, Rogers et al, which 2000 does tell me that one of the main reasons the fstab will drop you down to a shell even when the system was cleanly unmounted, is that one of the filesystems specified in the third column of the fstab was the wrong fs type.

Are you sure the root partition is ext3 not ext2 ?

Q*Bert

Last edited by Q*Bert; 03-04-2003 at 06:34 PM.
 
Old 03-04-2003, 06:54 PM   #19
thetwin
Member
 
Registered: Feb 2003
Distribution: Linux RedHat 7.2
Posts: 47

Original Poster
Rep: Reputation: 15
Got it. Trickykid was right and as soon as I opened VI I saw the missing tildes.. dd'ed those bastards and saved and rebooted and nio error messages and system is back to normal. I never use vi but I may try to start using it. Generally pico does the trick. Other than vi being much more flexible is there any reason not using pico to edit files?

Thanks to all that helped... 1 more thing learned...7 billion 4 hundred and 12 to go

Cheers
 
Old 03-04-2003, 09:42 PM   #20
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by acid_kewpie
either everyone else or I am missing somethign here:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner kudzu,ro 0 0

should read

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
Damnit...

Nice catch

Also nice catch Drew, I wouldn't have thought of that one...

As far vi versus pico, pico will work for general editing. I prefer to edit my config files with vi, and all other general editing (of my html files and generic text files) with pico. However, you can make it work with config files as well, but vi(m) just works so much better without tricking it into working.

Good Luck, and have fun linuxing
 
Old 03-04-2003, 10:38 PM   #21
thetwin
Member
 
Registered: Feb 2003
Distribution: Linux RedHat 7.2
Posts: 47

Original Poster
Rep: Reputation: 15
uhhh, I have been using pico to edit all files, am I supposed to be doing something different when using pico to edit say dhcpd.conf or such files. I just assumed that if you are editing a file the editor that you use is unimportant as long as the syntax is okay.

Cheers
 
Old 03-04-2003, 10:56 PM   #22
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
What can I say, I ROCK.. !! hehe..
 
Old 03-05-2003, 01:55 AM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by thetwin
uhhh, I have been using pico to edit all files, am I supposed to be doing something different when using pico to edit say dhcpd.conf or such files. I just assumed that if you are editing a file the editor that you use is unimportant as long as the syntax is okay.

Cheers
Nah, you are usually ok, as long as the file isn't as strict as say /etc/fstab is. Vi just has a bit (especially the color version) more of a helping hand, and is the end all/do all editor. Pico allows alot of "slop" where vim requires you to actually know what you are doing, or it will show you it's wrong (well sorta, sorry, bad with words and analogies right now).

For the most part, you will be fine using Pico, however, if it's a very specific file, with very rigid params, you'd be better off using vi(m). If you are editing scripts, or if you are editing system config files that have scripts in them as a rule of thumb you should use vi. If you are editing free text fields, or a simple syntax config file, then pico should suffice.

Cool
 
  


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
[mtent] line 7 in /etc/fstab is bad (CD Drives wont Mount) shof515 Linux - Hardware 1 11-24-2005 09:57 AM
Bad line in fstab dubya Fedora 2 06-19-2005 03:49 PM
WARNING: /etc/fstab not working NTay5 Linux - Software 17 04-07-2005 06:36 PM
fstab warning demmylls Linux - General 1 09-22-2003 07:09 AM
fstab warning Gordon Slackware 5 04-15-2003 05:41 PM


All times are GMT -5. The time now is 04:46 PM.

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