Saturday, May 22, 2010

Small script to build Linux Kernel

Make sure we have busybox, otherwise install it:


sudo apt-get install busybox


And then save the following lines to o file and execute it:


VERSION=2.6.34-p4
make
make modules && sudo make modules_install
sudo make install
sudo mkinitramfs -o /boot/initrd.img-${VERSION} ${VERSION}

No comments:

Post a Comment