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.
as we compile some very basic and necessary prorams before doing "chroot" into the lfs partition.
after doing "chroot" we compile the same programs again first then any others, so is there any special need to compile these programs again?
and i will be very greatful if any body will send here his /etc/inittab (unix style not bsd style) of his lfs.
thanks.
The first time you build everything, the libraries are included in with the executables (static). You chroot into $LFS to use these executables to build dynamically linked versions of the programs so that the libraries can be accessed by different programs at the same time. You can just use the static ones I suppose, but in this multi-tasking environment it's better not to.
here's my /etc/inittab. It's in the book somewhere.
Yes, that's my understanding. Slack uses BSD-style init scripts. It does have a sysvinit "available" script, this is only for those packages requiring it.
I am by far no "hard corps slacker" but I think I've read something like this somewhere. Possibly in the email Pat has in root's mailbox after an install.
If anybody knows if I am wrong, or has a better answer, please by all means rip me apart!
thanks you very very much MASTER C.
i copied all the scripts from that LFS hints BSd style init.
but there is a problem i am not able to run the LFS any single time from those hint scripts. it always says that partition is damaged need to check for errors and i tried all options to e2fsck
but .one time i compiled LFs on a ext2 and one time on a ext3 but both times same result.
then i copied and modified a little mine slackware 8 scripts and those worked perfectly on LFS.
now i will try to run the LFS hints BSd style scripts but without the checking disk for errors options.those scripts are really really simple.
sorry for replying so late.
HAVE FUN!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.