How to Install Ubuntu on Hyper-V Manager

This article will discuss installing and using a Linux-based Ubuntu distribution in a virtual machine instead of a Windows system in the Hyper-V virtualization program that works effectively on Windows 10.

Installing Ubuntu in Hyper-V

How to Install Ubuntu 17.10 / 18.04 / 18.10 / 19.04 / 21.04 / 21.10 / 22.04 / 22.10 Using Hyper-V

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

Hyper-V comes with Windows operating system and Windows Server systems and is very simple to install. In our previous article, we used Hyper-V on Windows. In addition, you can install Hyper-V on your machine using Powershell and the CMD Command Prompt.

You can install and use Windows and Linux operating systems after building a virtual computer using Hyper-V.

Let’s compare Hyper-V with the VMware Workstation virtualization program. The most notable distinction between them is that Hyper-V is entirely free.

You can browse our articles on Windows operating systems setup using Hyper-V on Windows PC from the links below;

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

Install the Microsoft VM software on the Windows operating system. Then, follow the steps below to create a new virtual machine and install Ubuntu.

Step 1

To install the 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, then select Store the guest machine in a separate 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 of 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 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 Linux guest machine.

Starting the VM

Step 11

We are starting the Ubuntu operating system.

Starting Linux / Ubuntu

Step 12

Click Install Ubuntu.

Install Ubuntu

Step 13

If you want to use your VM more interactively, select “Install third-party software, Wi-Fi hardware, MP3 and other media” to install 3rd party programs and click Continue.

3rd Party Applications

Step 14

Select Erase disk, install Ubuntu, and then click Install Now for a clean Linux installation.

Erase Entire Disk and Install Ubuntu

Step 15

Click Continue in the “Do you want to write changes to disk” question window.

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 username and set a root password to continue the installation.

Creating a New User Account

Step 19

I am installing Ubuntu on the virtual machine.

Copying Files

Step 20

The installation wizard installs the necessary programs for Ubuntu.

Installing Required Programs

Step 21

After successfully installing Ubuntu, 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

Click the Sign in button after entering the root password you established.

Login the system

Step 26

After successfully installing Ubuntu, you can start using the virtual machine as a full screen by selecting 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, watch the video below and subscribe to our YouTube channel to support us!

Conclusion

This article examined how to build Ubuntu using the HyperV virtualization program on the Windows 10 operating system. Thanks for following us!

Add a Comment

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