24.1 C
Texas

How to enable and use Hyper V on Windows 10.

Hello! It is good to be with you again! In this opportunity, we are going to talk to you about virtualization. It refers to the creation of a virtual resource such as a server, desktop, operating system, file, storage or network. This term is most commonly associated with the ability to run several operating systems simultaneously on a single computer. In addition, the different operating systems behave uniquely, running with their files and libraries and remaining disconnected from the host computer. This is called a virtual machine.

There are many reasons to use virtualization. For the average user, the ability to use tools made for different operating systems without having to change computers or reboot into another system. On the other hand, The server administrators offer them the opportunity to run different operating systems within the same server. In addition, this flexibility allows for offering different alternatives, depending on the particular needs of each user. Meanwhile, there are different options in the market to achieve this, such as Virtualbox and Vmware. However, Windows 10 comes with a native tool to virtualize machine, called Hyper V. In this post we will see how to enable it and also how to configure it to run our first virtual machine.

Prerequisites

First of all, we must know that this feature is available only for Pro versions of windows, so if you are a user of a Home version, you can not run it. To verify which version of windows you use, press windows+R, type winver, and press enter.

Windows version is Pro. Capable to run Hyper V
Windows 10 version is Pro. Capable to run Hyper V

On the other hand, we have to check if the processor supports the virtualization feature. Anyway, However, if we continue with the procedure and our processor does not support virtualization, then the installer will not let it continue.

Enabling Hyper V feature.

- Advertisement -

Once the prerequisites are verified, we will proceed to enable the hyper v feature. If you don’t know how to do it, please check our tutorial. For that, we have to go to the Enable Features in Windows 10. If you don’t know how to do it, please check our tutorial. Once there, select Hyper V, press OK and wait for it to be installed. The system will ask you to reboot it.

Using Hyper V

In order to start Hyper V service, we type in the search bar Hyper until Hyper Manager appears and do click on it.

Selecting Hyper V Manager
Selecting Hyper V Manager

Next, the main program window will appear and we are going to select Connect to server to start a new virtual machine.

The main window from Hyper V Manager
The main window from Hyper V Manager

In the next window, select Local computer.

Select local computer in order to connect to the virtualization server
Select local computer in order to connect to the virtualization server

Then, select New, and Virtual Machine to invoke the configuration wizard.

Creating a new virtual machine
Creating a new virtual machine

Ok, now we will configure our virtual machine, in this case, we will install Lubuntu 18.04. Obviously, we need to have the iso already downloaded

Configuring Virtual Machine step by step

Step 1. Press Next to start the configuration wizard.

Press Next to start the configuration wizard.
Press Next to start the configuration wizard.

Step 2. Specify the name and location of our virtual machine. In my case, the name will be Lubuntu and the location will be the default.

Assigning a name and location to thevirtual machine
Assigning a name and location to the virtual machine

Step 3. Choose the generation to the virtual machine. According to the needs of the system to install, then we can select either of the options offered. In my case, I choose Generation 1.

Choose the generation of virtual machine
Choose the generation of the virtual machine

Step 4. In the following box, we allocate the amount of memory for the virtual machine. It is recommended to assign more than the minimum that the system needs to run. In my case, I assign 2024 mebagytes

Assigning memory
Assigning memory

Step 5. Configure networking. We can choose between connecting to the switch or staying disconnected. Select Default Switch.

Configure networking
Configure networking

Step 6. Connect Virtual Disk. In order to install an operating system is necessary to allocate storage to do it. We can modify the options as we want, or we can leave them by default

Connect Virtual Hard Disk
Connect Virtual Hard Disk

Step7. Installation options. This is an important step since we are going to select the image of the operating system that we want to install. With this intention, select Install an operating system from a bootable CD/DVD-ROM, => Media=>Image file (.iso) and browse to the image file location. Press Next to continue.

Selecting the iso file to install the operating system
Selecting the iso file to install the operating system

Step 8. Summary. Finally, we will see a summary of the characteristics of the virtual machine that we configure. Press Next to create the virtual machine.

Summary of the virtual machine
Summary of the virtual machine

Starting the Virtual Machine in Hyper V

The assistant will close and we will return to the main sale, where we will see our new virtual machine. To turn it on, we right-click on it and select start. Or in the menu located at the right, select start.

Starting the virtual machine in Hyper V
Starting the virtual machine in Hyper V

Our new virtual machine will start, and we just need to install and test the operating system. Well, that’s it for now. I hope you enjoyed it

Lubuntu running on Windows 10 through Hyper V
Lubuntu running on Windows 10 through Hyper V
- 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