A grep CONFIG_HYPERV /boot/config-2.6.32-5-amd64 shows CONFIG_HYPERV is not set. It appears that Debian has chosen not to build those modules. I am reading about it, several articles mention hv not being well supported by MS, and some people want to drop it.

I looked and the hv source is present in the 2.6.32 kernel source package (drivers/staging/hv). One thing you could do is install the kernel source package and the kernel-package tool. (apt-get install apt-get install linux-source-2.6 libncurses-dev kernel-package) Extract the source, copy /boot/config-2.6.32-5-amd64 to .config, use make menuconfig and enable the hyperv drivers. Then compile your kernel with make-kpkg.

For kernels with version >3.0 the drivers are no more located in staging. The new locations a described here: http://dietrichschroff.blogspot.de/2013/03/hyper-v-compile-linux-kernel-with.html


In order to get Hyper-V modules install on fresh Debian 6 in Hyper-V you need to compile your own kernel. This is how i did it

http://www.microsofttranslator.com/bv.aspx?ref=Internal&from=ru&to=en&a=http://blogs.technet.com/b/abeshkov/archive/2011/03/17/hyperv_5f00_debian.aspx

http://blogs.technet.com/b/abeshkov/archive/2011/03/17/hyperv_5f00_debian.aspx

I think it is also applicable to Debian 5 and bunch of Ubuntu systems.


I've been able to have some moderate success with network drivers, but only when the vm was created on a hyperv console, not scvmm. In HyperV, selecting "Legacy Adapter" for network adapter type works.. I was able to get tcp connectivity to my vm. I did not stress the connectivity, or test it's stability, but it worked out of the box. I found a link on the web that gave me this method (currently uncited, but I'm sure you can find it..)

My version of scvmm does not list "Legacy Adapter" as a network cary type, however, so I can't get it to work without sideloading a driver after install.

Just for your notes..