Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
"/etc/rc.d/rc.modules Line 18: syntax error : unexpected end of file"
The module loads fine from the command line.
Contents of rc.modules follows
# (c) MandrakeSoft, Chmouel Boudjnah <firstname.lastname@example.org>
# $Id: rc.modules,v 220.127.116.11 2000/07/30 05:07:38 chmouel Exp $
# description: launch modules specified in /etc/modules inspired by a
# Debian idea.
[ -f /etc/modules ] || exit 0
# Loop over every line in /etc/modules.
(cat /etc/modules; echo) | while read module args
case "$module" in
\#*|"") continue ;;
initlog -s "Loading module: $module"
modprobe $module $args >/dev/null 2>&1
so you got 17 lines in your rc.modules and it complains about line 18, interesting, try openning the file with vi (any other your favorite editor) place the cursor below the last line (/sbin/modprobe NVdriver) I suppose there is an empty line after it - hit dd to remove an empty line, save and exit. It might be mulformed new line character or something.
Just to let you know I am having the same problem, it doesnt appear to be affecting my system, but just errors in boot.
My rc.modules file is IDENTICAL
its been like this ever since I loaded the tarballs for 2960 nvidia drivers onto my Mandrake 9.0 installation.
It may be a bug in the nvidia module for that version of the driver?
I am not sure but am exploring possibilities
I have been trying out linux for a long time now, being a HPUX admin, unix is my first love.
Mandrake 9.0 is so far the only one that has installed without me needing to re-configure too many drivers, the nvidia one being the only one but only because I wanted GL capability.
Hope someone finds an answer.
I will post again if a newer version of the driver fixes the problem
Ok tried adding eos (end of script) to file
it then posted unexpected end of file in line 19 instead.
I appended to NVdriver and hit enter to create a new line. so the character after NVdriver will have moved onto the next line.