Installing Ubuntu 16.04 On A Hyper-V VM (The Long Way)
TL;DR
Download Ubutnu Server or Ubuntu Desktop; these instructions cover installing Ubuntu Server and then installing Ubuntu Desktop over it.
Disable secure boot in your VM’s settings via Hyper-V Manager.
Choose “Install Ubuntu Server” once booted, and step through the settings in each section. Settings of note include:
-Choosing a descriptive hostname
-Not encrypting the home directory
-Choosing “guided – use entire disk” when partitioning
-Not settings an HTTP proxy
-Installing security updates automatically, and
-Leaving just “standard system utilities” checked when choosing utilities to install
When prompted, remove the VM’s DVD drive to remove the boot media via Hyper-V Manager by going to your VM’s settings > SCSI Controller > Remove DVD Drive.
Log in and check for updates with “sudo apt-get update”.
(Optional) Install Ubuntu Desktop on top of your server installation with “sudo apt-get update”.
Reboot with “sudo reboot”, and log in.
Check for security updates again via “sudo apt-get update” in Terminal.
Glad my post was helpful. Thanks for the link!