Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 want to trim Linux distribution (fedora/mandriva). Trim, I mean removing modules that I don't need. For example I want to setup web server powered by Apache, now it requires only glibc (c-runtime), file system modules, basic core kernel layer module, Ethernet driver, and other necessary modules for admin commands. Physical constraints are disk space not more than 100MB and 20 MB memory size.
Suggest me; is this achievable? If yes then how? Reference
Is this, somehow related to making my own distribution e.g. FC 3 distribution Compact Linux version.
this will be really hard, because you will likely install bare-bones Fedora, then remove all the packages that you don't want. Then install the extra ones you want. Then re-compile the kernel to optimize for size. This will be the hard-bit, because kernel-sources is about 100 meg (at least in suse).
Originally posted by qadria
I want to trim Linux distribution (fedora/mandriva)... Physical constraints are disk space not more than 100MB and 20 MB memory size.
Suggest me; is this achievable?
I once tried to install RH 7.2 (???) on a 32 Meg system with 2 Gig hard disk. Never got through the initial build.
With so much bloat-ware (in the way of non-essential services) in those distros, I don't believe you have any chance.
I think it will be hard to achieve. Even Damn Small Linux suggests that you have 250MB hard disk space available. As for memory, I can run Mandrake9.1 with Apache, IceWM, vim, and Firefox, having only 32MB RAM, on my Linux laptop. So for Apache only, 20MB RAM should be enough.
Anyway, I suggest you rather start from a tiny Linux distribution, such as Damn Small Linux (can be made to use Debian packages), or one of those distributions tailored for handhelds (see http://www.handhelds.org/)
Yet if you decide to actually trim a bigger distribution, I suggest you try that with Mandrake/Mandriva. It has a tool named "urpmi-find_leaves" or something like that, that enables you to easily find packages that are not required by any other packages.