Build kernel and module packages

Jump to: navigation, search

Prepare your debian like environment

apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential udev

Patch and Prepare your kernel:

make menuconfig

Now build your .deb file

make-kpkg clean
fakeroot make deb-pkg

Install the .deb file:

dpkg -i linux-2.6-xxx

Prepare your RAM disk (with your modules - startup image)

mkinitrd -o /boot/

And finally prepare your new boot configuration


vi /boot/grub/menu.lst