DevOps

How to Install Ubuntu 22.04 on Virtual Machine in Windows (Step-by-Step Guide for Beginners)

N
NexGeniumSenior Solutions Engineers·
Reviewed by: NexGenium Engineering CouncilVerified Technical Content
How to Install Ubuntu 22.04 on Virtual Machine in Windows (Step-by-Step Guide for Beginners)

🖥️ How to Install Ubuntu 22.04 on Virtual Machine (Windows) – Step-by-Step Guide

If you're starting your Linux or DevOps journey, installing Ubuntu on a virtual machine is the safest and easiest way to practice—without affecting your main system.

In this guide, you’ll learn how to install Ubuntu 22.04 on Windows using a Virtual Machine step by step.


📌 What is a Virtual Machine?

A Virtual Machine (VM) allows you to run another operating system (like Linux) inside your current OS (Windows) without dual booting.

👉 Popular tools:

  • Oracle VM VirtualBox (Free)
  • VMware Workstation Player (Free for personal use)

🧰 Prerequisites

Before starting, make sure you have:

  • ✅ Windows 10/11 system
  • ✅ Minimum 8 GB RAM (4 GB works but slow)
  • ✅ 20 GB free disk space
  • ✅ Virtualization enabled in BIOS

📥 Step 1: Download Required Files

1. Download VirtualBox

Go to the official website and download:
👉 https://www.virtualbox.org/

2. Download Ubuntu 22.04 ISO

👉 https://ubuntu.com/download/desktop


🖼️ VirtualBox Setup Interface

5

⚙️ Step 2: Install VirtualBox

  1. Open downloaded .exe file
  2. Click Next → Next → Install
  3. Allow network permissions
  4. Click Finish

🖥️ Step 3: Create a New Virtual Machine

  1. Open VirtualBox
  2. Click New
  3. Fill details:
    • Name: Ubuntu 22.04
    • Type: Linux
    • Version: Ubuntu (64-bit)

🧠 Step 4: Allocate Memory (RAM)

  • Minimum: 2048 MB (2 GB)
  • Recommended: 4096 MB (4 GB)

👉 More RAM = better performance


💾 Step 5: Create Virtual Hard Disk

  • Select: VDI (VirtualBox Disk Image)
  • Storage: Dynamically Allocated
  • Size: 20–40 GB

📀 Step 6: Attach Ubuntu ISO File

  1. Select your VM → Click Settings
  2. Go to Storage
  3. Under Controller IDE → Click Empty
  4. Click disk icon → Choose ISO file
  5. Select Ubuntu ISO

🚀 Step 7: Start Installation

Click Start → Ubuntu installer will load


🖼️ Ubuntu Installation Screens

6

⚙️ Step 8: Install Ubuntu

Follow these steps:

  1. Select Try or Install Ubuntu
  2. Choose language
  3. Select Normal Installation
  4. Check:
    • Install updates
    • Install third-party software
  5. Select: Erase disk and install Ubuntu
    (Safe because it's inside VM)
  6. Set:
    • Username
    • Password
  7. Click Install

⏳ Step 9: Complete Installation

  • Wait 10–20 minutes
  • Click Restart Now
  • Remove ISO when prompted

🎉 Step 10: Ubuntu is Ready!

You now have Ubuntu running on your Windows system 🎯


⚡ Post Installation Tips

  • Install Guest Additions for better performance
  • Increase RAM/CPU if system is slow
  • Enable full-screen mode
  • Practice Linux commands daily

❗ Common Issues & Fixes

🔴 Ubuntu not starting?

➡ Enable virtualization (VT-x/AMD-V) in BIOS

🔴 64-bit option not showing?

➡ Enable virtualization + disable Hyper-V

🔴 Slow performance?

➡ Increase RAM & CPU cores


🎯 Why Use Virtual Machine?

  • Safe learning environment
  • No risk to Windows OS
  • Perfect for DevOps & Cloud practice
  • Easy to delete/reset

🚀 Conclusion

Installing Ubuntu on a virtual machine is the first step toward mastering Linux, DevOps, and Cloud technologies.


🔥 Want Professional Training?

Learn Linux, DevOps, Cloud & AI with real-world projects 👇
📧 Contact: [email protected]

N

About NexGenium

Senior Solutions Engineers

NexGenium technical practitioners providing production-grade engineering, cloud infrastructure solutions, and industry training.

Related Articles

Explore more articles in the DevOps category

How to Choose the Right Software Development Company in 2026
DevOps
August 9, 2026
Ryan

How to Choose the Right Software Development Company in 2026

Choosing the right software development company can determine the success of your digital product. Learn what to look for in a technology partner, from technical expertise and security to AI, cloud, DevOps, communication, pricing, and long-term support.

Docker vs Kubernetes: What Should You Learn First in 2026?
DevOps
August 9, 2026
Cathrine

Docker vs Kubernetes: What Should You Learn First in 2026?

Confused about Docker and Kubernetes? Learn the difference between Docker and Kubernetes, how they work together, what DevOps professionals should learn first, and how hands-on projects can accelerate your career.

DevOps Training with Real Production Projects: The Fastest Way to Become Job-Ready
DevOps
August 4, 2026
NexGenium

DevOps Training with Real Production Projects: The Fastest Way to Become Job-Ready

Learn why real production projects are the key to mastering DevOps. Discover how hands-on experience with Linux, Docker, Kubernetes, AWS, CI/CD, and cloud infrastructure helps working professionals and students become industry-ready.