How to Install Ubuntu 24.04 or 22.04 Linux on Windows with Hyper-V

Follow these steps to install Ubuntu 24.04 Noble or 22.04 LTS Jammy JellyFish Linux on Windows 10 or 11 using a Hyper-V virtual machine.

Windows 11 and 10 have a ” Hyper-V ” feature to run virtual machines. Hence, we don’t require third-party tools like VirtualBox or VMware Player. When it comes to experiencing Linux, such as Ubuntu, we already have WSL on Windows. However, that is more in the command line and cannot give us the experience we get from a fully-fledged installed Ubuntu Desktop.

Hyper-V is a Type-1 virtualization technology; therefore, after enabling it on Windows 10 or 11, you won’t be able to use VirtualBox or VMware Player, at least not to the full potential of these Type-2 virtualization techniques.

 

Steps to install Ubuntu 24.04 or 22.04 on Windows 11 or 10 using Hyper-V

The steps to set up Ubuntu 24.04 or 22.04 Linux on Hyper-V are not limited to this version. You can follow this tutorial for other previous versions, such as Ubuntu 20.04 or 18.04, including for Linux, such as Debian, Linux Mint, POP_OS, and more…

1. Enable Virtualization in BIOS

To run Hyper-V, we need to enable Virtualization in the BIOS. If you are using VirtualBox or VMwarePlayer, then it is already enabled; move to the next step. Those who don’t know whether or not virtualization is activated in the BIOS should check our tutorial to find out how to check virtualization-enabled-on-windows-10-without-accessing-bios-menu.

If it is not enabled, reboot your system and open the BIOS by immediately pressing the F1, F2, F10, F12, or Del keys, depending on which motherboard model you are using.

Once you have the BIOS, discover the CPU or Advanced settings and enable virtualization.

 

2. Enable the Hyper-V feature on Windows 10 or 11

The steps to activate the Hyper-V feature will be the same whether you are using Windows 11 or 10.

Click on the Search icon or bar given on the Taskbar.
• Search for “Turn Windows features on or off“.
• As its icon appears, click to open it.

Open Turn Windows feature on or off

Scroll down and find the “Hyper-V” option.
Check it and press the OK button.

Enable Hyper v
Soon, the system will ask you to Restart to finish the process.

Windows Feature installation

 

3. Download Ubuntu 24.04 or 22.04 ISO

If you already have the Ubuntu 22.04 ISO image, you can proceed to the next step; otherwise, visit Ubuntu’s official website and download the ISO file of Jammy JellyFish Linux.

 

4. Create Ubuntu 24.04 or 22.04 Virtual Machine on Hyper-V

Go to the Windows search box and type – Hyper-v and its icon appear to click, open the “Hyper-v Manager”.

Open Hyper V in Windows 11 or 10

Now, select your System name in the Hyper-V manager and click on the “Action” menu to select “New” and then “Virtual Machine.”

create new virtual machine hyper v

 

5. Specify Name and Location of Virtual Machine

Give your virtual machine a name. Here, we are using “Ubuntu 22.04,” but you can assign whatever you want. You can also change the location to store the files created by Hyper-v for the virtual machines. This helps us save some C drive space.

Name and specify virtual machine location

After that, let the default Generation 1 be selected and hit the Next button.

Select VM Generation

 

6. Assign Memory for Ubuntu 24.04 or 22.04 VM

Set the amount of RAM you want to assign to your Ubuntu 24.04 or 22.04 Virtual machine. For optimum performance, go for 4 GB RAM if you plan to install a complete graphical desktop of this Linux.

Set RAM for Ubuntu 22.04 VM

 

7. Configure Network

We have to assign a virtual network switch to get the network connection to the created virtual machine. From the drop-down box, select Default Switch.

Configure Network

 

8. Create Virtual Hard Disk

We need storage space to install Ubuntu 22.04 or 24.04 LTS on Windows 11 or 10 Hyper-v. To that end, let’s create a virtual hard disk.

Enter the amount of space you want to assign to your Virtual disk. If your requirements are for at least 60 GB, click on the Next button.

Create Virtual Harddisk ubuntu 22.04 Hyper V

 

9. Set the Ubuntu 24.04 or 22.04 ISO file to Hyper-V VM

To install the operating system, we need a source file, which is the Ubuntu 24.04 or 22.04 ISO file in our case. Select the option “Install an operating system from a bootable CD/DVD-ROM” and then “Image file (.iso).” After that, hit the Browse button to navigate to the Ubuntu 24.04 or 22.04 ISO file and select it. Once done, click “NEXT” and then the Finish button.

Set Ubuntu 22.04 ISO file to Hyper V VM

 

10. Run Ubuntu 24.04 or 22.04 VM on Windows Hyper-v

After following all the above steps, you will have an Ubuntu virtual machine on your Hyper-V interface. Right-click on it and select the “Connect” option.

Connect Virtual Machine interface

You will be connected to the Virtual Machine. There, hit the “Start” button to perform the guided Ubuntu 24.04 or 22.04 Installation.

Start Ubuntu 22.04 Hyper V virtual machine

Install Ubuntu 22.04 on Hyper V Windows 11 or 10

 

Other Articles:

 

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.