Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
I need to build a small linux for reimaging computers (Windows). It must have ability to get ip from dhcp and mount a windows network drive to pull the image off network drive. I want to get as small as possible. Please help!
Originally posted by guosheng I need to build a small linux for reimaging computers (Windows). It must have ability to get ip from dhcp and mount a windows network drive to pull the image off network drive. I want to get as small as possible. Please help!
If you have time and patience try Linux from Scratch.
In the introduction of the LFS book the author states that he has build a 8MB linux web server.
If you compile only the things you really need you can build a really small linux.
If you don't have patience and time, you may try Damn Small Linux.. It's about 50MB and has X-windows (fluxbox). I cannot recall if samba is installed in DSL but you can easily find it out.
Anyway, you have many different options
Opps! I just noticed that this thread is in the LFS forum. Sorry. I should be more careful
Last edited by perfect_circle; 04-28-2005 at 05:54 PM.
Firstly i dont recommend you use linux from scratch to build a very small distro, its simply not suitable for this. However in building lfs you may learn something (a lot) about how to go about building your small installation. I say this because lfs does not contain the kind of packages you'll need to use, for a start glibc is much too large for your purposes and many of the binaries would be better replaced by using a busybox alternative. Sure you can strip it down but in terms of effort it would make more sense to build from scratch your own system, that way you choose everything that goes in and you understand the build process better. If you want to try theres a few hints on stripping down and building a small lfs at the lfs site.
The build techniques and the version info of the toolchain packages will be most useful to you, take a look at hlfs, the toolchain uses the uclibc library. Apart from that take a look at from power up to bash prompt, its over at tldp and perhaps some texts on embedded systems.
Just to give you an idea of size i once made a lfs (compiled to optimise for size), without texinfo,kbd (but keyboard map compiled in kernel), wihout documentation, compressed man pages and without locales. I probably deleted some other stuff but not much. After stripping it weighed in at 182mb.
Try ttylinux on http://www.minimalinux.org/
I do some work on the site there, and have tried ttylinux briefly, but couldn't tell you if it can do all the things you want. It's small though. It comes with networking support.