August 16, 2011

Installing Ubuntu Server 11.04 on Hyper V

Installing Ubuntu Server 11.04 on Hyper V is as same as you would do on a x64 machine or a VM on VMWare/VirtualBox. The problem is the drivers. Hyper V is obviously not going to provide drivers for Ubuntu. You can have a nice installation guide located over here for your reference:
https://help.ubuntu.com/11.04/serverguide/C/installing-from-cd.html
So if you start the installation, go as if you are normal till you encounter following warning:
Continue at this dialog box.
Let the Server install completely.
After you install and log on to the new server, edit the file /etc/initramfs-tools/modules
Type following commands at the prompt:


sudo chmod 777 /etc/initramfs-tools/modules
vi /etc/initramfs-tools/modules


After you open the file, you add following module at the end of the file:


hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc


After you make the changes run the following command:


sudo update-initramfs –u
sudo reboot


After a reboot and logging in, you can verify that the modules are added using lsmod command.


And then you can configure the network interface using /etc/network/interface file.


Note: Make sure that you change the permissions of the /etc/initramfs-tools/modules file after you are done.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home