I want to build a really small linux distribution which would be using busybox, possibly uClibc. In the beginning, just a ramfs would do. Plus, I dont mind not having a native toolchain. I went through 'linux from scratch'; but apparently, it is meant for a full blown distro. Can you please advice me on this ?
migrated from stackoverflow.com Jan 25 at 13:35
This question came from our site for professional and enthusiast programmers.
|
I can't tell you what the smallest possible is, but Tiny Core Linux is the smallest that I have ever heard of. They manage to squeze a graphical system into 12MB and a text-based system into 8MB. | |||
|
feedback
|
|
Not sure what the "smallest possible" minimum config is, but you can start with an initramfs (see also the kernel documentation) containing just a few files. That tucks a ramdisk image onto the actual In fact, using a statically-linked busybox as At this stage, there's no need for any actual storage device, functional root filesystem and all that quite yet. If your device is used in kiosk mode (no data preserved across reboots) it's actually all you need. | |||
|
feedback
|
|
There isn't really a restriction to how small a distro is except the functionality you want in the distro. I recommend looking at linuxfromscratch.org if you're interested in creating a new distro. | |||
|
feedback
|