Create a virtual machine by using Hyper-V Manager

  1. Open Hyper-V Manager.
  2. From the Action pane, click New, and then click Virtual Machine.
  3. From the New Virtual Machine Wizard, click Next.
  4. From the Wizard type your VM Name

5. Choose Generation 2

6. Startup Memory: I have 8GB on my laptop, so I assigned 6GB, but it depends on your own machine. With dynamic memory enabled.

8. Hard-Disk: create a virtual hard-disk, I assigned 100GB.

9. Install the operating system from a bootable image file: and specify your OS ISO image, in our case Ubuntu server 16.04.

  • Click next, then finish. Hyper-V will now create your VM.
  • Once created, on Hyper-V, select your VM, right-click and choose Settings…
  • Go under Security and disable Secure Boot. Otherwise the boot with the ISO will not start.
  • Go under Processor and increase the number of virtual processors, according to your hardware.
  • Click OK.
  • Connect to the VM and start it. The Ubuntu installation will start, with this message:

Follow installation instructions to complete installing Ubuntu server

See the instructions to How to Install Ubuntu Server 16.04 in a Hyper-V Generation 2 VM

One thought on “Create a virtual machine by using Hyper-V Manager

Leave a comment