LinuxFromScratch is still too big ...
Hi, all:
From this page http://www.linuxfromscratch.org/lfs/...hitecture.html it seems to tell that LFS will build a 32-bit system at a size 648 MB. Why is it still that big? Is there any very small Linux release? How can I build a very small Linux by myself, like a LFS? Cheers Pei |
Quote:
|
Hi
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
|
Quote:
Try my lfs system here http://sf.net/projects/smartutils/files/lfs_linux/ I install some blfs packages also. about 400MB. 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. About the gcc use a libbackend.so, it will save 20MB with lto enabled. http://gcc.gnu.org/ml/gcc-help/2011-04/msg00025.html |
Fabulous !! That's exactly what I want !!!!
I want a very small system for a very simple web server... Quote:
|
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.
|
All times are GMT -5. The time now is 03:39 AM. |