LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-02-2003, 09:09 PM   #1
r_cpilot
LQ Newbie
 
Registered: Dec 2002
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
boot error


During the boot process I get the following error

INIT: Entering runlevel: 3
INIT: cannot execute "/etc/rc.d/init.d/rc"

Then I get the login prompt. Every thing seams to work except networking, because it can't enter runlevel 3. I have checked and checked the files I have typed and cannot find any errors.

LFS version 4.0, Intel Pentium 266 MMX on a Toshiba notebook.

I have installed LFS on my desktop with no problems.

Thankx,
David
 
Old 01-02-2003, 09:29 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Okay init says it can't execute that.

When you get the prompt, run that manually and see if you get errors.
 
Old 01-02-2003, 11:01 PM   #3
r_cpilot
LQ Newbie
 
Registered: Dec 2002
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
When I type it at the command line I get..
Useage: /etc/rc.d/init.d/rc <runlevel>

if I add a 3 to the end (/etc/rc.d/init.d/rc 3) It loads as ecpected.

David
 
Old 01-03-2003, 05:41 AM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
ok then your /etc/inittab file probably isn't correct.

Make sure it has this line:
l3:3:wait:/etc/rc.d/init.d/rc 3

if the '3' is missing from the end, init will just run 'rc' which will exit with a return value of '1' because it was missing an argument. exit '1' means an error occured. That's likely what init is talking about.
 
Old 01-03-2003, 07:57 AM   #5
r_cpilot
LQ Newbie
 
Registered: Dec 2002
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
I will check my /etc/inittab file, that was the first thing I checked and I am almost sure it is correct.

Is there another file that may be wrong or permissions that I did not change? Is there a package that may not have compiled correctly that could cause this problem?
 
Old 01-03-2003, 11:32 AM   #6
r_cpilot
LQ Newbie
 
Registered: Dec 2002
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
I checked my /etc/inittab file and could not find anything wrong, I checked typing, extra spaces, etc.

I had expected this was the file with a problem, which me or my wife could find and error.

I erased the old /etc/inittab and retyped a new one and everything works now. Not shure what was wrong with the old one.

Thanks for the help.
 
Old 01-21-2003, 12:36 PM   #7
Martin37
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Rep: Reputation: 0
Did you cut and paste the file after copying it with Internet Explorer for example...... Sometimes when you download a file that is not tar-ed and gzip-ed in windows and transfer it to Linux
there are things added like (.) or \ that corrupt the file. That doesn't happen if you download from Linux (whatever browser you use.....) It would be easier if the /etc/inittab file were included in the lfs-boot pack.......
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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