Home > Virtualization > Debian on Hyper-V with 4 vCPU support and syntetic network.

Debian on Hyper-V with 4 vCPU support and syntetic network.

November 2, 2010 Leave a comment Go to comments

When Microsoft says that does not support all linux distributions, does not mean that a particular distribution will not work on Hyper-V.

It’s easy to get a DEBIAN running on Hyper-V. It took me more time to install Debian than to add the Hyper-V integration services components, thanks to Yusuf Ozturk , who created the kernel updates, ready to deploy on Debian.

Here are the steps:

1. Download Debian 5.06 (lenny)  from http://www.debian.org/releases/lenny/debian-installer/  (full CD/DVD sets – CD 1 )
2. Create a VM with 1 Legacy Network ( we will add the synthetic one, later ) and 4 processors
3. Install Debian using the ISO.
4. After installation finished, logon

5. Using a Terminal session, typed the following commands

# apt-get update


# aptitude update
# wget -c http://www.yusufozturk.info/linux/linux-headers-2.6.36-hyperv-debian.x86_64.deb
# wget -c http://www.yusufozturk.info/linux/linux-image-2.6.36-hyperv-debian.x86_64.deb

# dpkg -i linux-image-2.6.36-hyperv_2.6.36-hyperv-10.00.Custom_amd64.deb linux-headers-2.6.36-hyperv_2.6.36-hyperv-10.00.Custom_amd64.deb
# echo -e “hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc” >> /etc/initramfs-tools/modules
# update-initramfs –u –k 2.6.36-hyperv
6. Shutdown the Virtual Machine
7. Added synthetic Network
8. Start the VM

Now you have a Debian distribution running on Hyper-V, with 4 processors, synthetic network and also integrated shutdown is available. Simple as that!

  1. Andrey Beshkov
    March 20, 2011 at 19:59

    Iti is possible to use your on custom build kernel to run Debian 6 with synthetic drivers under Hyper-V. This is how i did it.



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

  2. November 8, 2012 at 17:36

    working great on hyper-v server 2008 excelent work thank you !!!!!!!!!!!!!!!!!!!!!!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: