You would like virtualisation support for your linux system with hyperV
Install Debian 5 under Hyper-V with an old NIC in the Hyper-V Settings
After installation has finishe, log in as root and follow these steps...
apt-get install build-essential ncurses-dev kernel-package fakeroot zlib1g-dev
wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-184.108.40.206.tar.bz2
bzip2 -d linux-220.127.116.11.tar.bz2
tar xf linux-18.104.22.168.tar
- Select “Device Drivers”
- Select “Staging Drivers” (with a “*”)
- Deselect “Exclude Staging drivers from being build”
- Select “Microsoft Hyper-V client driver” (with a “M”)
- The Microsoft drivers should automaticly marked with an “M”
=> Exit the “menuconfig”
- Set „#CONFIG_LGUEST_GUEST=n“
- Set „#CONFIG_LGUEST=n“
=> Save it
fakeroot make-kpkg --initrd --revision=hv.custom.1.0 kernel_image
dpkg -i linux-image-22.214.171.124_hv.custom.1.0_i386.deb
sed -i 's/eth/seth/g' /etc/network/interfaces
- Add “hv_vmbus”
- Add “hv_blkvscb”
- Add “hv_netvsc”
- Add “hv_storvsc“
=> Save it
update-initramfs –u –k 126.96.36.199
- Search for the new kernel entries and replace the boot device from “root=/dev/hda1” to “root=/dev/sda1”
- Think about: there are two sections for the new kernel (singleusermode)!
=> Save it
Note the MAC-Adress of your NIC
Replace the Hyper-V “old network adapter” against the Hyper-V “
standard NIC” an set the MAC-Adress to the noticed one of your old NIC
Should be all done!
Disclaimer:The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
About the Author
Author: Wim Peeters - Keskon GmbH & Co. KG
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.