Archive

Posts Tagged ‘Debian’

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

November 2, 2010 2 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

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

Advertisements