Background
Ubuntu Linux 11.04 has been released. Currently, two release versions (11.04 and 10.10) are available for Ubuntu that can run efficiently in Windows Hyper-V ). Because the Hype-v ic module has been compiled in the Ubuntu Server kernel, you only need to perform simple configuration, enables the kernel to load the Hyper-v ic module at startup to run efficiently. Download and install the Ubuntu Linux 11.04 and 10.10 media. Only the Server version contains the Hyper-v ic module. Therefore, you need to download the Ubuntu Server Installation ISO: http://releases.ubuntu.com/11.04/ubuntu-11.04-server-amd64.isohttp://releases.ubuntu.com/10.10/ubuntu-10.10-server-amd64.iso Installation Process 1. in Hyper-V, create a VM for the Ubuntu Server, with 1-4 CPUs, memory greater than MB, Nic, and set to start ISO installation from the downloaded Ubuntu. If You Cannot initialize the VM, enter the patch (windows6.1-kb976932-x64.exe) of Windows Server 2008 R2 SP1 ).: http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=c3202ce6-4056-4059-8a1b-3a9b77cdfdda2 . After Ubuntu Server is installed, edit the file/etc/initramfs-tools/modules in Ubuntu Server and add the configuration line hv_vmbushv_storvschv_blkvschv_netvsc4 at the end of the file. run update-initramfs and reboot system # update-initramfs-u # reboot5. enable after restarting ut. You can run the lsmod command to verify that Hyper-v ic is enabled: # lsmod | grep hv_vmbushv_vmbus 50431 4 hv_utils, hv_netvsc, hv_blkvsc, hv_storvsc6. set the IP address, gateway, and mask. Vi/etc/network/interfaces, add the following content: use static IP: iface eth0 inet staticaddress 255.255.255.255.0gateway 192.168.83.2auto eth0 use DHCP: auto eth0iface eth0 inet dhcp7. add DNS, vi/etc/resolv. conf (may be new), add the following content: nameserver 192.168.83.28. restart the network:/etc/init. d/networking restart Author: nanqiao Yimeng