How to Install Ubuntu in Hyper-V Manager

Hyper-V Manager is a Microsoft virtualization program and is completely free. Hyper-V software is widely used by many system administrators today.

How to Install Ubuntu in Hyper-V Manager

How to Install Ubuntu 17.10 / 18.04 / 18.10 / 19.04 using Hyper-V

Hyper-V is included with the Windows operating system and Server systems and it is very simple to install it. In our previous article, we installed Hyper-V on Windows. You can also install Hyper-V on your computer using the Powershell and CMD command prompt.

After you create a virtual machine with Hyper-V, you can easily install and use the Windows and Linux operating systems.

If you compare Hyper-V to VMware Workstation virtualization program, the biggest difference is that Hyper-V is completely free.

You can browse our article on installing Windows operating systems using Hyper-V on Windows 10.

In this article, we will set up Linux / Ubuntu step by step with Hyper-V virtualization software.

How to Install Linux/Ubuntu in Hyper-V on Windows 10

After installing Hyper-V on the Windows operating system, follow the steps below to create a new virtual machine and install Ubuntu.

   Step 1

To install Ubuntu virtual machine, run Hyper-V Manager.

Running Hyper-V

   Step 2

Continue by clicking New / Virtual Machine from the Hyper-V Actions panel.

Creating a New Virtual Machine

   Step 3

Type a name for the Ubuntu virtual machine, and then select Store the virtual machine in a different location.

Storing the virtual machine in a different location

   Step 4

Continue by selecting Generation 1.

Generation 1

   Step 5

Set the 4 GB (4096) RAM value for the Ubuntu virtual machine and click the Next button.

Adding RAM to the Virtual Machine

   Step 6

40 GB Hard Disk space is sufficient for the Ubuntu virtual machine. You can assign more HDD sizes if you want.

Creating a New Virtual Disk

   Step 7

After downloading the Ubuntu ISO file to your computer, add it by clicking the Browse button in the window below.

Selecting the Image File Location

   Step 8

This window provides summary information for the virtual machine to create. Click the Finish button to skip this window.

Virtual PC Wizard Complete

   Step 9

In the Virtual Machines panel, Right-Button / Connect on Ubuntu.

Operating the Virtual Machine

   Step 10

Click the Start button to power on the virtual machine.

Starting the VM

   Step 11

Starting Ubuntu operating system …

Starting Linux / Ubuntu

   Step 12

Click Install Ubuntu.

Install Ubuntu

   Step 13

If you want to install 3rd party programs, select Install third-party software, Wi-Fi hardware, MP3 and other media, and click Continue.

3rd Party Applications

   Step 14

For a clean Linux installation, select Erase disk and install Ubuntu, and then click Install Now.

Erase Entire Disk and Install Ubuntu

   Step 15

In the “Do you want to write changes to disk” question window, click Continue.

Approve Changes to Disk

   Step 16

Continue the installation by selecting the region where you live in this step.

Selecting Your Country

   Step 17

Adjust the keyboard layout and click Continue.

Configuring the Keyboard Layout

   Step 18

Enter your user name and set a root password to continue the installation.

Creating a New User Account

   Step 19

Installing Ubuntu on virtual machine …

Copying Files

   Step 20

The installation wizard installs the necessary programs for Ubuntu …

Installing Required Programs

   Step 21

After Ubuntu has been successfully installed, click Restart Now to restart the virtual machine.

Restarting the Virtual Computer

   Step 22

Remove the Ubuntu installation media (ISO File) and restart the virtual machine.

Removing Setup Media

   Step 23

Starting Ubuntu …

Opening Ubuntu System

   Step 24

Click on your username.

Login to Ubuntu

   Step 25

Enter the root password you created and click the Sign in button.

Login the system

   Step 26

Once Ubuntu is installed successfully, you can use the virtual machine as a full screen by clicking View / Full Screen.

Ubuntu VM Full Screen

   Step 27

Ubuntu now runs in full-screen mode.

Ubuntu Full Resolution

How to Run Linux in VM ⇒ Video

To install a Linux distribution with Microsoft VM software, you can watch the video below and also subscribe to our YouTube channel to support us!

   Final Word

In this article, we have examined how to build Ubuntu using the HyperV virtualization program on Windows 10 operating system. Thanks for following us!

   Related Articles

How to Reset Root Password
♦ How to Setup VMware on Ubuntu
♦ How to Upgrade Softwares in Linux
♦ How to Install VMware Tools in Ubuntu
♦ How to Install Packet Tracer on Ubuntu

Add a Comment

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