Install Ubuntu in a Hyper-V VM

The process of installing Ubuntu in Hyper-V is like installing any OS.  Once the OS is installed you need to add the Hyper-V tools for Linux to get the most out of your Linux guest.

If you are using the non-LTS version of Ubuntu run the following commands:

  • sudo apt-get install Linux-virtual
  • sudo apt-get install Linux-tools-virtual Linux-cloud-tools-virtual

If you are using the 16.04 LTS version of Ubuntu you will need to run the following commands:

  • sudo apt-get install –install-recommends Linux-virtual-lts-xenial
  • sudo aptget install installrecommends linuxtoolsvirtualltsxenial linuxcloudtoolsvirtualltsxenial

 

Leave a Reply

Your email address will not be published. Required fields are marked *

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