Installing Ubuntu 14.04LTS on Microsoft Hyper-V

Hyper-V is a pretty cool hypervisor platform from Microsoft, that’s come quite a long ways in the last few years. It’s vastly cheaper than vSphere Enterprise is, and if you run Server Core and not the full GUI, the performance is pretty good.

Luckily, you can also install many supported flavors of Linux on there now as well, one of them being my personal favorite, Ubuntu 14.04LTS.

Installing Ubuntu on Hyper-V

Installing Ubuntu on Hyper-V is more or less the same as any other virtualization product. Download the ISO file, allocate RAM and CPU, as well as creating a virtual hard disk. For best performance, allocate all of the space at the beginning; for production, do not select dynamic disk. I generally do the Server install, though the desktop version will work fine too.

Installing the Daemons for Hyper-V “Tools”

Similar to Virtualbox and VMWare, Microsoft provides Tools for Linux, that allow the “checkpoint” system to work, as well as the needed drivers. Installing is easy; they’re already included in the Ubuntu repositories. Simply do the following:

sudo apt-get install –install-recommends linux-virtual-lts-wily

Which installs the modified kernel, and:

sudo apt-get install –install-recommends linux-tools-virtual-lts-wily linux-cloud-tools-virtual-lts-wily

which installs the actual tools, with the drivers. That’s it! Now, you can use Hyper-V to take snapshots, er “Checkpoints”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.