PDA

View Full Version : Linux Kernel Customization



hawaiian1der
June 4th, 2010, 06:38 AM
A friend an I are going to make our own Linux distribution for the heck of it. I wanted to know how to go at hacking the kernel and what kinds of things should be hacked at. I have looked on the forums and the Internet, but I cannot find anything on this subject that fits my needs :/

***I am not really sure if this is where this thread needs to go... So if it isn't, I'm sorry.***

hawaiian1der
June 4th, 2010, 08:35 AM
Can no one answer this or something? There are 45 views and no answers :/

ibuclaw
June 4th, 2010, 08:39 AM
And just what distribution is going to be the base of your remix?

Or are you going to try LFS.


IMO, before you start thinking about which kernel to use, you need to start thinking about the toolchain that you will use to build all software, including the kernel itself. ;)

hawaiian1der
June 4th, 2010, 10:12 AM
We are going to use good 'ol Ubuntu! The server edition for the bare-bones feel ;) I'm pretty sure that Jesse knows what the tool chain and things mean, but I don't and hes not on right now. Can you explain the different type of kernels and tool chains?

mmix
June 4th, 2010, 10:18 AM
This link is good entry point for linux kernel development.
http://kernelnewbies.org/

hawaiian1der
June 4th, 2010, 10:24 AM
This link is good entry point for linux kernel development.
http://kernelnewbies.org/

Aside from how to build a kernel that doesn't show a whole lot... Is there anything else?

ibuclaw
June 4th, 2010, 11:40 AM
Aside from how to build a kernel that doesn't show a whole lot... Is there anything else?

Oh, if you are just making an Ubuntu derivative, then you might as well look up on https://help.ubuntu.com/community/LiveCDCustomizationFromScratch

In your case, a custom kernel shouldn't be needed, unless you don't want to use linux 2.6.32 in your system, of course...

NathanB
June 4th, 2010, 05:29 PM
First, you will definitely want to read "Linux From Scratch" (LFS) which you can find here: http://www.linuxfromscratch.org/lfs/

Second, see what BLFS has to teach you about packaging:
http://www.linuxfromscratch.org/blfs/

If any of that looks too ambitious, then look into re-mastering existing distros:

http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering

http://www.eng.uwaterloo.ca/twiki/bin/view/Linux/RemasteringGuide

hawaiian1der
June 4th, 2010, 09:10 PM
And just what distribution is going to be the base of your remix?

Or are you going to try LFS.


IMO, before you start thinking about which kernel to use, you need to start thinking about the toolchain that you will use to build all software, including the kernel itself. ;)

To clarify, what we really are going to do is some how make it completely from scratch, but use the packaging system from Debian/Ubuntu.

hawaiian1der
June 5th, 2010, 03:39 AM
Scratch that! We are going to use LFS, but at the same time implement some things from Ubuntu/Debian.