Linux Kernel building....

Associate
Joined
21 Apr 2011
Posts
446
Hi guys

Quick question, does anyone have any links / books / recommendations on where to go to find a guide on how to compile your own kernel and then boot it / troubleshoot?

I roughly know the steps to take to build (using menuconfig etc) but I don't know what all the options / modules are in this menu, there are thousands, is this documented anywhere, i.e minimum kernel build with wifi, wired, tcpstack etc etc for basic operation. Also I'm not 100% how to actually boot the new kernel using GRUB (the newer method, /etc/grub.d /boot etc) and the newer custom scripts you need to use.

Basically I want to disable modular kernel and play around with a static (monolithic?) one adding things as I need them. Once I've built one I like I want to package it up so I can literally just do a "dpkg -i <new_kernel>.deb" etc.

Another reason was I wanted to experiment with GRSEC (similar ish to SELinux), here's some links:

http://www.kernel.org

http://grsecurity.net/

I'd be doing this on Ubuntu or Debian

Thanks :D
 
Back
Top Bottom