Linux From ScratchThis 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.
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.
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.
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.
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?
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.......
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.