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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-02-2003, 09:09 PM
|
#1
|
LQ Newbie
Registered: Dec 2002
Distribution: Mandrake
Posts: 4
Rep:
|
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
|
|
|
01-02-2003, 09:29 PM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Okay init says it can't execute that.
When you get the prompt, run that manually and see if you get errors.
|
|
|
01-02-2003, 11:01 PM
|
#3
|
LQ Newbie
Registered: Dec 2002
Distribution: Mandrake
Posts: 4
Original Poster
Rep:
|
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
|
|
|
01-03-2003, 05:41 AM
|
#4
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
01-03-2003, 07:57 AM
|
#5
|
LQ Newbie
Registered: Dec 2002
Distribution: Mandrake
Posts: 4
Original Poster
Rep:
|
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?
|
|
|
01-03-2003, 11:32 AM
|
#6
|
LQ Newbie
Registered: Dec 2002
Distribution: Mandrake
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
01-21-2003, 12:36 PM
|
#7
|
LQ Newbie
Registered: Jan 2003
Posts: 10
Rep:
|
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.......
|
|
|
All times are GMT -5. The time now is 07:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|