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.
What do you want a smaller system for, and how small? you could remove things from lfs (till it breaks) to reduce it,s size. But you will loose functions.
I am actually going to do this to day but I only want it to be a server (plus an excersise)
If you want a ultra system for a bare bones server you can check out http://buildroot.uclibc.org/. Its designed for embedded systems so you won't have the full functionality of a distro but you will have an ultra slim size 0 version of linux which you could set up as a server
And you can make big software which has more than one execute file linked to one internal big static lib to use a shared .so lib.
But this will make the execute file load slow than before.
I have tried to do this on php mysql gdb gcc. But I finally give up on gcc, because it will make the lfs build time tiwce.
Fabulous !! That's exactly what I want !!!!
I want a very small system for a very simple web server...
Quote:
Originally Posted by pgpython
If you want a ultra system for a bare bones server you can check out http://buildroot.uclibc.org/. Its designed for embedded systems so you won't have the full functionality of a distro but you will have an ultra slim size 0 version of linux which you could set up as a server
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Also if you don't need every option for common commands (sed, find etc) try installing busybox as it includes most common commands with the more common options that way you use one bigger program instead of lots of little ones, most samll/rescue distros use a version of busybox.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.