How to install Linux Integration Services Version 2.1 on a Hyper-V virtual machine running Debian
- June 8th, 2010
- Posted in Tech Recipes
- By Germán Medina
- Write comment
Linux Integration Services Version 2.1 now has support for Timesync, Integrated Shutdown and Symmetric Multi-Processing (SMP) up to 4 virtual processors.
- Get the Linux Integration Services 2.1 Beta from https://connect.microsoft.com/site495
- Extract the files and insert the .iso as a disk in your virtual machine
- Now the hard/long part, update your Kernel with version 2.6.27.47 (This is out of scope, so you will have to look for info on how to do this).
- Reboot and choose your new Kernel
- #mount /cdrom
- #mkdir /opt/linux_ic_v21_rc
- #cp /cdrom/* /opt/linux_ic_v21_rc -R
- #mkdir /etc/sysconfig/network
- # cd /opt/linux_ic_v21_rc -R
- Modify the Mafile file replacing all the occurrences of —reload-rules with —reload_rules
- Modify the scripts/updateinitrd.pl file commenting lines 79 to 87 and adding this line after that $initrdfile = “/boot/initrd.img-2.6.27.47″;
- Modify scripts/updategrub.pl file replacing line 55 with $grubfile = “/boot/grub/menu.lst”;
- #apt-get install chkconfig
- #make
- #make install
- Modify your /etc/init.d/vmbus file commenting lines 55 to 61 and 108 to 112. Also replace line 73 with return 0 and 75 with return 1
- Modify your /etc/network/interfaces file replacing eth0 with seth0
- Modify your /etc/initramfs-tools/modules file adding a vmbus line and a netvsc line
- #update-initramfs –u –k 2.6.27.47
- Shutdown your virtual machine #init 0
- Replace your legacy network adapter with a normal Network adapter copying your old adapter’s MAC to your new adapter
- Start your virtual machine
- That’s it, now you have a Debian Hyper-V virtual machine with Integration Services.
Hi Manglar,
Could you also take a look on how to install the comonents on opensuse ? (minimal text server install) v11.3
Thx to your article I succeeded the install on debian.
But in opensuse I’m still stuck at compile errors.
Kind Regards,
Aswin
Hello,
I have tried your howto with the last kernel 2.6.35.6.
When I run the command make I get the following issue :
make -C /lib/modules/2.6.35.6/build SUBDIRS=/opt/linux_ic_v21_rc/src modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.35.6 »
CC [M] /opt/linux_ic_v21_rc/src/osd.o
/opt/linux_ic_v21_rc/src/osd.c: In function âMemAllocâ:
/opt/linux_ic_v21_rc/src/osd.c:221: error: implicit declaration of function âkmallocâ
/opt/linux_ic_v21_rc/src/osd.c:221: warning: return makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âMemAllocZeroedâ:
/opt/linux_ic_v21_rc/src/osd.c:226: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âMemAllocAtomicâ:
/opt/linux_ic_v21_rc/src/osd.c:233: warning: return makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âMemFreeâ:
/opt/linux_ic_v21_rc/src/osd.c:238: error: implicit declaration of function âkfreeâ
/opt/linux_ic_v21_rc/src/osd.c: In function âTimerCreateâ:
/opt/linux_ic_v21_rc/src/osd.c:265: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âWaitEventCreateâ:
/opt/linux_ic_v21_rc/src/osd.c:320: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âSpinlockCreateâ:
/opt/linux_ic_v21_rc/src/osd.c:369: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âWorkQueueCreateâ:
/opt/linux_ic_v21_rc/src/osd.c:435: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c: In function âWorkQueueQueueWorkItemâ:
/opt/linux_ic_v21_rc/src/osd.c:458: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c:469:41: error: macro “INIT_WORK” passed 3 arguments, but takes just 2
/opt/linux_ic_v21_rc/src/osd.c:469: error: âINIT_WORKâ undeclared (first use in this function)
/opt/linux_ic_v21_rc/src/osd.c:469: error: (Each undeclared identifier is reported only once
/opt/linux_ic_v21_rc/src/osd.c:469: error: for each function it appears in.)
/opt/linux_ic_v21_rc/src/osd.c: In function âQueueWorkItemâ:
/opt/linux_ic_v21_rc/src/osd.c:476: warning: initialization makes pointer from integer without a cast
/opt/linux_ic_v21_rc/src/osd.c:487:41: error: macro “INIT_WORK” passed 3 arguments, but takes just 2
/opt/linux_ic_v21_rc/src/osd.c:487: error: âINIT_WORKâ undeclared (first use in this function)
make[2]: *** [/opt/linux_ic_v21_rc/src/osd.o] Erreur 1
make[1]: *** [_module_/opt/linux_ic_v21_rc/src] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.35.6 »
make: *** [all] Erreur 2
Do you have some information to help me ?
Thanks a lot.
fabrice
Hi,
I am wondering if this also installs the hard drive support, the base install seems to be limited to the old 127Gb limit and I am trying to get the SCSI support working on it.