Ubuntu 10.10 was today 2010-10-10 released which is great new for us working with Hyper-V R2. We now have access to all the new drivers that Microsoft donates to the Linux community. The earlier drivers available in Ubuntu 10.04 LTS lacked features such as integrated shutdown, heartbeat detection, problematic host and guest synchronization and unstable network drivers (network traffic died unexpectedly). With Ubuntu 10.10 we now have the sames features as the Linux Integration Components 2.1 from Microsoft which only enables us to use Red Hat, Cent OS or SuSE Enterprise where Cent OS is unsupported from Microsoft.
Ubuntu is a strong Linux distribution in the community due to it’s huge repository which often is very up-to date with the newest versions of different applications and the package system apt is also very pleasant. I myself rather choose CentOS due to it’s mature and stable kernel but sometimes CentOS don’t offer up-dated repositories and you may have to wait until getting new features for the applications you are using. Of course you always have the option to compile the software your self. This is a short how-to how to active all the drivers and get Ubuntu 10.10 up and running in Hyper-V R2 in minutes.
Enabling and loading drivers
Make your installation of Ubuntu 10.10, in my case I used server amd64 (64-bit). In my case I compile the loading of the drivers in the ram drive (initramfs) so drivers get loaded early upon start up, similar to Hyper-V installation in CentOS but you can also load the drivers in the /etc/modules for late-stage loading. After finalizing your custom Ubuntu 10.10 installation simply do
// After rebooting add the NIC, remember that nic names have changed back from sethX to ethX so
// Add, in case of dhcp
Secure clock skew
To secure the clock even better I suggest installing the adjtimex package which Microsoft recommends in their Linux Integration Components. And it’s available in Ubuntu repositories, so to install simply:
// Wait until completed, takes around 70 seconds while comparing clocks