Install Ubuntu Linux with Hyper-V

In this article we will teach you Install Ubuntu 22.04 Linux with Hyper-V. Ubuntu Desktop is a Linux distribution developed by Canonical and is one of the most popular Linux distros thanks to its ease of use. It’s also one of the first choices for people starting out with Linux. So what is a Linux distribution? It is an operating system developed from the Linux kernel, a UNIX-like system created by Linus Torvalds in 1991. Linux distributions are usually free and open source, and many are great alternatives to popular operating systems like Windows and macOS.

Hyper-V is an optional Windows feature that is only available in Windows 11 Pro/Education and is not available in Windows 11 Home (for Windows 11 Home and non-commercial use, you can use VMware instead). Hyper-V can be used to create a more secure virtual machine with UEFI BIOS, Secure Boot, and Machine Owner Key (MOK). In general, Hyper-V virtual machines perform better than virtual machines created by VMware. Hyper-V is also cheaper for business use, as business systems come with Windows 11 Pro pre-installed, and on the other hand, the cost of Hyper-V is included in the Windows 11 Pro OEM license that comes with the PC.

VMware has an advantage over Hyper-V in usability because it automatically updates the virtual machine display using VMware tools in response to the virtual machine window resizing on the host machine; however, we can make our virtual machine full screen with some additional command lines. Below we have mention the steps to install Ubuntu 22.04 Linux with Hyper-V

How to Install Ubuntu 22.04 with Hyper-V

Enable Virtualization in BIOS

Using Hyper-V requires virtualization enabled in the motherboard BIOS. The exact steps in this process will vary depending on your motherboard model.

  • Open the BIOS by restarting your computer and pressing the BIOS button (F1, F2, F10, F12, or Delete, depending on your motherboard model) when prompted.
  • Virtualization settings are located in the CPU or Advanced Settings category of the BIOS, depending on your system.
  • Once you enable the appropriate settings, use the Save and Exit option to confirm your changes.

Enable Hyper-V

Before configuring the virtual machine, you must enable Hyper-V in Windows settings:

  • Open the Windows Start menu and select the Settings window.
  • Click the Apps tile to open the app settings.
  • On the right side, click the Programs and Features link.
  • In the Programs and Features window, click the Turn Windows features on or off link on the left side.
  • Scroll down and check the Hyper-V option, along with the Hyper-V Management Tools and Hyper-V Platform sub-options.
  • Click OK to confirm the changes.
  • Restart your computer

Create Virtual Switch

After enabling Hyper-V, create a virtual network switch for the virtual machine to use:

  • From the Start menu, go to the Windows Administrative Tools folder and open Hyper-V Manager.
  • Right click on your system name on the left side of the Hyper-V Manager window. Select the Virtual Switch Manager option from the dropdown menu.
  • In the Virtual Switch Manager window, select the New Virtual Network Switch option on the left side. Set the virtual switch type to Foreign and click Create Virtual Switch.
  • Enter a name for the new virtual switch. In this example, we will be using Ubuntu 20.04. Click OK to finish configuring the virtual switch.
  • A new window may appear asking you to apply the network changes. Click Yes to confirm.

Install Ubuntu 22.04

Hyper-V offers two options when creating a new virtual machine:

The Quick Create option allows you to use a wizard to automatically download an operating system and install it in a virtual machine. You can also manually set up a new virtual machine and install an operating system from your hard drive or external media.

  • Quick Create
    • In the Action dropdown menu, click Quick Create to start the quick create wizard.
    • On the left hand side, select Ubuntu 20.04 from the list of operating systems.
    • Click More Options to set a name for the new virtual machine and select the Ubuntu 20.04 virtual switch from the Network menu.
    • Click Create Virtual Machine to start the setup process. Hyper-V will download and install Ubuntu automatically.
    • After the installation is complete, use the Connect button to start your virtual machine or the Edit Settings… button to change the settings.
  • By Hand
    • Before you start setting up a new virtual machine, download the Ubuntu 20.04 installation image from the official Ubuntu website.
    • In the Action dropdown menu, select New and click Virtual Machine.
    • In the New Virtual Machine Wizard, click Next to begin configuring the new virtual machine.
    • Choose a name and install location for the new virtual machine, then click Next to continue.
    • Choose the generation of the new virtual machine and click Next.
    • Allocate the amount of memory to allocate to the virtual machine. Use at least 2 GB of memory and enable dynamic memory usage. Click Next to continue.
    • Choose Ubuntu 20.04 as the virtual network switch, then click Next.
    • Use the Create a virtual hard disk option to create a new hard disk for the virtual machine. Allocate at least 20 GB of internal hard drive space and click Next to continue.
    • In the Install an operating system from a bootable CD/DVD-ROM option, choose Image File (.iso) and select the Ubuntu image you downloaded earlier. Click Next to continue.
    • The final step provides a summary of the configuration of the new virtual machine. Click Previous to make changes or click Finish to create the virtual machine.

Start Virtual Machine

  • The new virtual machine appears in the Hyper-V Manager window. Right-click on the virtual machine name and click Connect to start it.

Final Words

We hope our article on how to download/install Ubuntu 22.04 Linux with Hyper-V will help you and resolve all your problems, Microsoft Hyper-V is Microsoft’s virtualization platform, or “hypervisor,” that enables administrators to make better use of their hardware by virtualizing multiple operating systems to run simultaneously on the same physical server.

James Hogan
James Hogan
James Hogan is a notable content writer recognized for his contributions to Bollyinside, where he excels in crafting informative comparison-based articles on topics like laptops, phones, and software. When he's not writing, James enjoys immersing himself in football matches and exploring the digital realm. His curiosity about the ever-evolving tech landscape drives his continuous quest for knowledge, ensuring his content remains fresh and relevant.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Hubspot Service Hub review 2024: a comprehensive platform

When it comes to customer support operations, HubSpot Service Hub is an all-encompassing customer service platform that is meant to...
Read more
When players on Windows 11 or 10 try to log in to Steam, they may get the error code E87....
Users of Windows 11 or 10 may find it frustrating to deal with the error number 147-0 in Microsoft Office....
The Microsoft Store is an important part of the Windows operating system because it gives users a single place to...
It can be hard to find the right balance between usefulness, durability, and cost when it comes to kitchen storage....
Both AirDroid and Vysor are well-known tools that help Android users control their devices and mirror them. One of the...