I want to learn more about the Linux kernel, which means I want to start compiling and testing my own kernel. I'm running Ubuntu 10.04 on my box, so I'll be using QEMU/KVM for virtualization.
I was hoping for something minimal at first, since for educational purposes extras aren't very helpful. I installed Ubuntu Server on the VM I created, and started following some instructions I found online for building the kernel.
That seemed like a mistake, because the instructions didn't do anything with make menuconfig
and I know that's one of the steps. Plus, there's no /boot/grub/menu.lst
on Ubuntu Server by default -- another problem for learning. Finally, when I tried doing make menuconfig
on my own, I somehow asked for a metric s**t-ton of modules to be compiled, even though I tried to go through and un-check unecessary things.
So, can someone recommend a better way to go about building my own kernel in KVM for learning purposes?