kernel_compilation

Install the Required packages for building it

apt-get install git-core kernel-package fakeroot build-essential ncurses-dev

Then download latest kernel version

cd /usr/src

sudo su wget --continue http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.9.x.tar.bz2 tar jxvf linux-3.9.*.tar.bz2 cd linux-3.9.* $ cp /boot/config-`uname -r` ./.config $ make menuconfig

Enable Xen. Use attached .config for reference

support otherwise you will get this error

make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-vanillaice kernel_image kernel_headers cd .. dpkg -i linux-image-3.9.*

dpkg -i linux-headers-3.9.*

sudo shutdown -r now