Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-28-2004, 09:26 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Way upstate New York in the middle of nowhere
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Unhappy Error on boot

Ok, I had Gentoo Linux up and running pretty well with Gnome; however, when I rebooted it gave me an error part way through booting that says:

/sbin/rc: line 254 /etc/init.d/modules : No such file or directory

is there some way I can replace this file/directory (whichever it is)?
It lets me log in as root at that point, but I don't know what to do to fix the problem

Any help would be great,
Old 01-28-2004, 10:30 PM   #2
Senior Member
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
Welcome to LinuxQuestions

What was the last thing you did before you got this message?

Has it always given you this error?

Since I don't use Gentoo, I have to ask, what is on line 254 in the modules file? You can use Vi, pico, or something to edit this file to see what line 254 looks like

Check out my bookmarks below for a quick tutorial on Vi.

If you have pico you can do this at a prompt:
pico /etc/init.d/modules

Last edited by Whitehat; 01-28-2004 at 10:36 PM.
Old 01-28-2004, 11:27 PM   #3
LQ Newbie
Registered: Jan 2004
Location: Way upstate New York in the middle of nowhere
Distribution: Gentoo
Posts: 2

Original Poster
Rep: Reputation: 0
From what I can tell, I'm missing a file called modules ... the code in /sbin/rc at that point is a function called start_critical_service (the -> is at line 254)

local reval =
-> source "/etc/init.d/${x}" || error "Failed to source /etc/init.d/${x}"
reval = $?
["${retval}" -ne 0] && return "${retval}"
start || eerror "Failed to start /etc/init.d/${x}"
retval = $?

is /etc/init.d/modules a generic file or is it spacific to the setup? And, if it's generic, any clue where I could find it?


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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 06:52 PM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 10:49 AM
li error and boot disk gives boot failure message Mr.Scum Linux - General 5 05-20-2003 10:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration