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.
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 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
Follow the instructions below to create an entirely new machine and install Ubuntu after installing Hyper-V on the Windows operating system.
To install Ubuntu virtual machine, run Hyper-V Manager.
Continue by clicking New / Virtual Machine from the Hyper-V Actions panel.
Type a name for the Ubuntu virtual machine, then select Store the guest machine in a separate location.
Continue by selecting Generation 1.
Set the 4 GB (4096) RAM value for the Ubuntu virtual machine and click the Next button.
40 GB of Hard Disk space is sufficient for the Ubuntu virtual machine. You can assign more HDD sizes if you want.
After downloading the Ubuntu ISO file to your computer, add it by clicking the Browse button below.
This window provides summary information for the virtual machine to create. Click the Finish button to skip this window.
In the Virtual Machines panel, Right-Button / Connect on Ubuntu.
Click the Start button to power on the Linux guest machine.
We are starting the Ubuntu operating system.
Click Install Ubuntu.
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.
Select Erase disk, install Ubuntu, and then click Install Now for a clean Linux installation.
Click Continue in the “Do you want to write changes to disk” question window.
Continue the installation by selecting the region where you live in this step.
Adjust the keyboard layout and click Continue.
Enter your username and set a root password to continue the installation.
I am installing Ubuntu on the virtual machine.
The installation wizard installs the necessary programs for Ubuntu.
After successfully installing Ubuntu, click Restart Now to restart the virtual machine.
Remove the Ubuntu installation media (ISO File) and restart the virtual machine.
Click on your username.
Click the Sign in button after entering the root password you established.
After successfully installing Ubuntu, you can start using the virtual machine as a full screen by selecting View / Full Screen.
Ubuntu now runs in full-screen mode.
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!
This article examined how to build Ubuntu using the HyperV virtualization program on Windows 10 operating system. Thanks for following us!
♦ How to Reset Root Password
♦ How to Setup VMware on Ubuntu
♦ How to Upgrade Software in Linux
♦ How to Install VMware Tools in Ubuntu
♦ How to Install Packet Tracer on Ubuntu