Here is a guide to compile a kernel 3.6.X kernel for hyper-v the debian way.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
sudo apt-get install git-core kernel-package fakeroot build-essential ncurses-dev #Download the latest kernel cd /usr/src sudo wget --continue http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.6.tar.bz2 sudo tar jxvf linux-3.6.6.tar.bz2 cd linux-3.6.6 #Copy kernel config to the new source sudo cp /boot/config-`uname -r` ./.config #Choice what you want #Hyper-V is locate at: Device Drivers, Microsoft Hyper-V guest support sudo make menuconfig #Compile the kernel sudo make-kpkg clean sudo fakeroot make-kpkg --initrd --append-to-version=-hyperv01 kernel_image kernel_headers cd .. sudo dpkg -i linux-image-3.6.* sudo init 6 |