Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

How can I compile a basic linux kernel on Rpi, or is it possible in a any way?

I want a very basic linux with nothing on it but just Linux.

Let me know if there are any alternatives or suggestions.

share|improve this question
    
Can I ask why you want a basic version of Linux on your RPi? –  Vincent P Feb 14 '13 at 6:36
    
If this is really something you're interested in learning then take a look at LFS. I built my own distro for the Raspberry Pi (called Pastry). It was very rewarding. –  Jivings Feb 14 '13 at 8:54
add comment

2 Answers 2

up vote 0 down vote accepted

It's not impossible, but it will take you much less time and frustration to learn how to strip an existing distribution of the things you don't want.

Which if what you don't want is pretty much everything, pretty much everything can be disabled and removed. Most of what you would need to know to do that, you would need to know to build it up to that point anyway -- it is mostly just understanding what "a very basic" but still functional linux would look like.

You might find "linux from scratch" interesting. Although that is going to be painfully slow on the pi, reading it over and trying some of it on a normal computer would be a good place to start thinking about the what and how of what you want.

share|improve this answer
add comment

Maybe what your looking for is ArchLinux, here is the Raspberry Pi Download. Arch Linux is a very simple "uncluttered" distro for Linux. Might be a starting point for what you want. You can also maybe start with Arch Linux and strip it down further.

Other than that as the other answer says, it will take less time to just strip down a current distro.

I know this is not Linux, but if your really feeling like a big project you can always code your own OS for your Raspberry Pi.

share|improve this answer
    
+1 Using arch is a probably a good way of learning to understand the layers of the system better. –  goldilocks Feb 14 '13 at 6:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.