Installing Linux on a Windows PC using Virtualisation (Hypervisor Guide)


Linux is one of the most powerful and flexible operating systems available today. Many developers, system administrators, and cloud enthusiasts prefer Linux for its open-source nature, security, and compatibility with servers.
But what if you are a Windows user and want to explore Linux without removing or dual-booting your existing OS? The answer lies in Virtualisation – using a Hypervisor to run Linux inside Windows like a separate computer.
In this article, I’ll guide you step by step on how to install Linux on your Windows PC using a hypervisor such as VirtualBox or VMware Workstation Player.
🔑 What is Virtualisation?
Virtualisation is a technology that allows you to create and run multiple operating systems (called Virtual Machines) on a single physical computer.
A Hypervisor (Virtual Machine Manager) is the software that enables virtualisation by managing these virtual machines.
Popular hypervisors include:
Oracle VirtualBox (Free & Open Source)
VMware Workstation Player (Free for personal use)
Hyper-V (Built into Windows Pro/Enterprise editions)
💻 Why Install Linux on Windows via Virtualisation?
✅ No risk of losing Windows data (unlike dual boot)
✅ Run Linux and Windows side by side
✅ Great for learning Linux commands, scripting, and server setup
✅ Easy to delete or reset Linux if needed
🛠️ Prerequisites
Before we start, make sure you have:
Windows PC (with at least 8GB RAM recommended)
Hypervisor software (VirtualBox or VMware)
Linux ISO file (Ubuntu, Fedora, Debian, etc. – download from official website)
Enough disk space (20GB+ free storage)
⚡ Step-by-Step Installation Guide
Step 1: Enable Virtualization in BIOS
Restart your PC and enter BIOS/UEFI (press
F2
,Del
, orEsc
depending on your manufacturer).Locate Intel VT-x or AMD-V option and enable it.
Save and exit BIOS.
Step 2: Install a Hypervisor
Download and install VirtualBox from virtualbox.org
ORInstall VMware Workstation Player from vmware.com
Step 3: Create a New Virtual Machine
Open VirtualBox/VMware.
Click New → Enter a name (e.g., “Ubuntu VM”).
Select Linux as the type and choose the version (e.g., Ubuntu 64-bit).
Allocate memory (at least 2GB, preferably 4GB+).
Create a virtual hard disk (20GB+ recommended).
Step 4: Mount the Linux ISO
Select your newly created VM.
Go to Settings → Storage.
Add the downloaded Linux ISO file as a virtual CD/DVD drive.
Step 5: Boot and Install Linux
Start the Virtual Machine.
It will boot into the Linux installer.
Choose Install Linux.
Follow the on-screen steps:
Select Language & Keyboard layout
Set up Username & Password
Allocate storage (use default guided installation)
Wait for installation to complete.
Step 6: Start Using Linux
After installation, restart the VM.
Log in with your username and password.
You now have a fully functional Linux system running inside Windows! 🎉
⚙️ Tips for Better Performance
Install Guest Additions (VirtualBox) or VMware Tools to enable better graphics, copy-paste, and file sharing.
Allocate more RAM and CPU cores if your PC allows.
Use Shared Folders for easy file transfer between Windows and Linux.
🎯 Conclusion
Installing Linux on Windows through virtualization is the safest and easiest way to get hands-on experience with Linux. Whether you’re a beginner exploring commands or a cloud enthusiast practicing server setups, a Linux VM is the perfect playground.
👉 Next step: Try experimenting with Linux commands, setting up servers, or even simulating cloud environments directly on your PC!
Subscribe to my newsletter
Read articles from saumya singh directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

saumya singh
saumya singh
Welcome to my corner of the cloud, where ideas scale faster than servers and downtime is not an option! Here, I write about everything from spinning up VPCs to tearing down myths about the cloud. Whether you’re an engineer, a curious learner, or someone who just likes seeing words like 'serverless' and 'auto-scaling,' you’re in the right place. Consider this blog your high-availability zone for tips, tutorials, and tech thoughts—delivered with 99.99% uptime .