17 C
Texas

How to install Ubuntu 20.04.1 on Windows Server/10 using Hyper-V.

Hello, how are you? Today we will see how the practical use of the Hyper-V platform. In fact, in previous posts we have seen how to enable this feature. Both in Windows 10 and Windows Server. Please remember that Hyper-V is Microsoft’s bet to virtualize systems. Therefore, it is possible to enable it on Windows Server and some versions of Windows 10. Well, today we will detail how to use it to virtualize systems. Specifically Ubuntu 20.04.1 LTS. This GNU/Linux operating system developed by Canonical comes with a support of 05 years. So today we will see how to install Ubuntu 20.04.1 on Windows Server/10 using Hyper-V.

The importance of a virtualization platform like Hyper-V

We have previously highlighted the importance of using a virtualization environment. Indeed, at the level of Windows Server it represents a great advantage. It allows you to test systems and apps in a secure environment. Since any failure or error would not represent a threat to the system or its users. Within a corporate environment, it is a great security measure. Likewise, domestic and professional users can test new systems. Or even polish apps without fear of damaging the main system. Well, in this post we will use Hyper-V from Windows Server 2019. However, the process is very similar in Windows 10. Therefore, you can use the steps for both systems.

Installing Ubuntu on Windows Server using Hyper-V

In today’s post we will see how to install Ubuntu in a virtual machine step by step. In the first place you must download the image from this link. Then press Win+Q and type Hyper-V to launch the manager.

Launching Hyper-V manager
Launching Hyper-V manager

As this is the first time the tool is launched, you can see that there are no virtual machines created. Therefore, we are going to create the first one. With this in mind, select the server or machine. Next New>Virtual Machine

Creating a new virtual machine.
Creating a new virtual machine.

Configuring the virtual machine.

- Advertisement -

An assistant will be launched immediately. You can press Finish to create a virtual machine with default values. Or you can press Next to customize the settings. In this case, press Next to continue.

It is then time to specify the name of the new virtual machine. It is also possible to set the location of the virtual machine. When you are ready, press Next to continue.

Please specify the name and location of the virtual machine.

Hyper-V offers two generations of virtual machine configuration. Generation 1 is for older installations. Generation 2 offers features for more modern machines. You can choose any of them according to your needs.

Please select the generation to create the virtual machine for Ubuntu
Please select the generation to create the virtual machine for Ubuntu

Assigning Ubuntu installation values in Hyper-V.

Now it is time to specify the amount of ram memory intended for the virtual machine. By default, the wizard assigns the recommended minimum to run the system. However, it is recommended to assign a little more so that everything flows smoothly. On the other hand, this amount will also depend on the amount of physical ram memory the computer has. In addition, the platform provides the option of using dynamic ram memory. That is, beyond the assigned memory, Hyper-V assigns memory according to the needs of the virtual machine.

Assigning ram memory for the Ubuntu virtual machine
Assigning ram memory for the Ubuntu virtual machine

Then configure the network connectivity. That is, if you want to enable the Internet connection, please enable the physical network device to act as a switch.

Configuring the network connection

Now it’s time to configure the virtual hard disk. The wizard offers 3 options. The first one is to create a new disk with its assigned size. Besides that you can use a previously created virtual hard disk. Finally, you have an option to assign a virtual disk later.

Configuring a virtual disk for Ubuntu installation

This point you have to configure the values for the Ubuntu installation. That is, the source to boot the system. In this case, we will use the previously downloaded ISO.

Select the downloaded ISO to load Ubuntu.
Select the downloaded ISO to load Ubuntu.

Finally, a summary of the installation is shown. If you are satisfied with all the elements, then press Finish to begin the installation.

Summary of Ubuntu installation in Hyper-V
Summary of Ubuntu installation in Hyper-V

Running Ubuntu 20.04.1 in Hyper-V

Once the installation is finished, it is time to run Ubuntu 20.04.1 for the first time. This process is composed of two steps. In the first place you must turn on the virtual machine, and then click on connect.

Finally, the process is over. In this way we have seen how to install Ubuntu 20.04.1 on Windows Server/10 using Hyper-V. It is a good addition to our domestic system or business environment. See you later!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article