Multi-VM Mastery: Setting Up Linux VM in Hyper-V on Windows
Multi-VM Mastery: Setting Up Linux VM in Hyper-V on Windows
Virtual Machines enable you to experience multiple operating systems on a single system while keeping them isolated from the host OS. You must have tried creating virtual machines to try out a new OS you don’t want to install directly. But have you ever tried using Hyper-V inside a virtual machine?
Hyper-V is Windows inbuilt hypervisor that allows you to create virtual machines and run them. But it is also possible to use Hyper-V inside a VMware Windows virtual machine. So, you can create a Hyper-V virtual machine inside a VMware virtual machine and run it without any issues. Here’s how to do it.
The Prerequisites for Running a Linux Virtual Machine Inside Hyper-V
Firstly, you will need a Windows virtual machine that is completely functional inside VMware. We would suggest Windows 10 or 11 virtual machines for this project. Moreover, you must pick either Windows Pro or Enterprise edition because Hyper-V isn’t available for Windows Home edition.
Make sure to dedicate an adequate amount of hardware resources to the virtual machine. The reason behind this is that you will try to run a virtual machine inside a virtual machine. So, the Windows virtual machine can dedicate only a portion of its resources to running a Linux virtual machine using Hyper-V. We tested this using a Windows 11 system with 16GB of RAM and an eight-core AMD processor.
Also, update the VMware Workstation Player to the latest version before you begin the installation method.
How to Create a Linux Virtual Machine Inside Windows Virtual Machine Using Hyper-V
We will break the steps into three parts. Firstly, you must enable the virtualization features for the Windows virtual machine. Then you need to enable Hyper-V on this virtual machine. Lastly, you need to create a Linux virtual machine using Hyper-V.
1. Enable Virtualization for Windows Virtual Machine in VMware
To enable Virtualization, do as follows:
- Launch the VMware app on your system. Click on the Windows virtual machine you want to use.
- Virtual machine details will pop up on the right side. Click on theEdit Virtual Machine settings option.
- TheHardware tab will open by default. Click on theProcessors option.
- Locate the Virtualize engine section and click onVirtualize Intel VT-x/EPT or AMD-V/RV option.
- Click on theOK button to apply changes.
Virtualization features are now active for the above Windows virtual machine. Next, you need to install Hyper-V.
2. Install Hyper-V on the Windows Virtual Machine
To install Hyper-V on the VMware Windows virtual machine, repeat the following steps.
- Launch the VMware app on your system. Double-click on the Windows virtual machine to boot it up.
- Once you boot to the desktop, press theWin + R key to launch the Run command box .
- Typeappwiz.cpl and press the enter key.
- The programs and features window will launch. Click on theTurn Windows Features on or off option.
- Scroll down and click on theHyper-V checkbox in the Windows Features list.
Power Tools add-on for Google Sheets, 12-month subscription - Click on theOK button to install the feature on your system.
- Restart your system to apply changes when the installation completes.
Hyper-V is now active on your Windows virtual machine. Next, you need to create a Linux virtual machine it.
- Title: Multi-VM Mastery: Setting Up Linux VM in Hyper-V on Windows
- Author: Richard
- Created at : 2024-08-16 01:39:40
- Updated at : 2024-08-17 01:39:40
- Link: https://win11-tips.techidaily.com/multi-vm-mastery-setting-up-linux-vm-in-hyper-v-on-windows/
- License: This work is licensed under CC BY-NC-SA 4.0.