This is a question I recently asked in a comment at Slashdot. I didn't really get much of a response, so I decided I'd bring it to a place where I should have gone originally with it.

I'd like to put together a very fast booting Linux system, composed of just the bare minimum needed to be able to run something like BusyBox. I'm not one of those people who make a big deal out of boot times, I'm mainly interested from an academic point of view and am using this to try to learn a little more about how Linux works.

I've googled this topic and have found things like Linux From Scratch, but as far as I can tell these seem to have their own software on which you base whatever you're building. I was under the impression that all you need to boot is a file system, the Linux kernel, an initrd and then userland software for whatever you want to run. I've read that initrd isn't even needed if you compile SATA drivers into the kernel and maybe some other things. In fact I would say that another aim is to boot without using initrd at all, I only intend to use this on my computer for a bit of fun.

Are there any websites that contain a minimal list of things required to get Linux to boot?

  1. List item
link|improve this question
3  
this question would be better suited at serverfault – Chris Gow Jul 18 '09 at 4:53
4  
Serverfault is for professional sysadmins; so this seems more like superuser. – derobert Jul 18 '09 at 5:21
This is definitely a superuser question. – womble Jul 18 '09 at 6:16
Yes, for SuperUser. At the onset this looked like a programming interest question. But, reading it clearly suggests a SU orientation. – nik Jul 18 '09 at 6:26
feedback

migrated from serverfault.com Jul 18 '09 at 13:58

This question came from our site for system administrators and desktop support professionals.

4 Answers

The DistroWatch site has a lot of linux distribution references.
You seem to be interested in a light-weight (less stuff loading) installation to study.
The DamnSmallLinux edition might be one choice.
However, I'd suggest you look up the distros.


To learn the Linux Bootup Process.
There is a good IBM DeveloperWorks article on the Linux Boot Process.
And, another presentation at Ubuntu Living: Understanding the Boot Process

link|improve this answer
feedback

For more information on the booting process of computers in general and linux in particular have a look at these posts by Gustavo Duartes-

How Computers Boot Up and The Kernel Boot Process

Though slightly out-of-date you could also grab a copy of "Understanding the Linux Kernel" to get a more inside glimpse at the kernel architecture including the boot process.

link|improve this answer
feedback

it's true that an initrd isn't needed if you compile in the HD drivers.

but it's more fun the other way, using just the kernel and initrd, no other volume.

I've done this with busybox a couple of times, either because it was a very small box and i wanted it to go without HD, for a storage cluster, where each node had 4 drives all for storage (PATA at the time, so it was hard to connect more than 4), i setup a PXE server to provide the kernel and initrd.

it's very fun and instructive.

link|improve this answer
feedback

you may want to take a look at embedded linux. This article at linuxdevices and the follow up articles are a good intro.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown