How to Setup RHEL 9 on Windows Using Virtual Box

Introduction I’ve recently started my 30-day Linux challenge as part of my preparation for the RHCSA exam. This is Day 1 and in today’s article, I’m walking you through how I set up my own RHEL 9 lab environment on Windows using VirtualBox step by step. If you're just starting your Linux journey or planning to get certified, this guide is for you. I’ll be sharing practical articles every day, based on what I learn and apply in real-time during my RHCSA + RHCE bootcamp. Feel free to follow along, ask questions or even take this challenge with me. This is not just about commands, it is about building real skills. Stick around, there is a lot more coming over the next 29 days. Index Requirements Step by Step Lab Setup Best Practices and Recommendations Quick Summary Requirements • Oracle VirtualBox (Download: VirtualBox.org) • RHEL 9 ISO File (You can get it from Red Hat Official Site) • Minimum 4GB RAM machine. Step by Step Lab Setup Step 1: Open VirtualBox and Create a New Virtual Machine • Open VirtualBox. • Click on Machine → New. Step 2: Enter VM Details • Name: RHEL9-VM1 • Choose a location to save the VM. • Type: Linux • Version: Red Hat (64-bit) Click Next. Step 3: Set Memory Size • Allocate 2GB RAM (2048 MB). Step 4: Create Virtual Hard Disk • Choose Create a virtual hard disk now (default). Click Create. Step 5: Select Hard Disk File Type • Choose VDI (VirtualBox Disk Image) (default). Click Next. Step 6: Storage on Physical Hard Disk • Choose Dynamically allocated (default). Click Next. Step 7: Set File Location and Size • Set size to 25GB. Click Create. Step 8: Adjust VM Settings for Better Performance • Select the VM → Click Settings. System → Processor: • Change Processor count to 2. System → Motherboard: • Change Pointing Device to USB Tablet. Click OK to save changes. Step 9: Attach the RHEL 9 ISO • Click Start on the VM. • When prompted, click the folder icon to choose a disk. • Select your rhel-baseos-9.0-x86_64-dvd.iso file. Click Start. Step 10: Begin RHEL Installation • Use arrow keys to select Install Red Hat Enterprise Linux 9. Press Enter. Step 11: Choose Language • Select English (United States) or English (United Kingdom) depending on your region. Click Continue. Step 12: Installation Destination • Click on Installation Destination. • Confirm your 25GB disk is selected. Click Done. Step 13: Set Root Password • Click Root Password under User Settings. • Set password: redhat (for learning purposes). • Enable Allow root SSH login with password. Click Done. Step 14: Begin Installation • Click Begin Installation. Installation will start. Relax and wait for it to complete!

Apr 15, 2025 - 20:33
 0
How to Setup RHEL 9 on Windows Using Virtual Box

Introduction

I’ve recently started my 30-day Linux challenge as part of my preparation for the RHCSA exam. This is Day 1 and in today’s article, I’m walking you through how I set up my own RHEL 9 lab environment on Windows using VirtualBox step by step.

If you're just starting your Linux journey or planning to get certified, this guide is for you. I’ll be sharing practical articles every day, based on what I learn and apply in real-time during my RHCSA + RHCE bootcamp.

Feel free to follow along, ask questions or even take this challenge with me. This is not just about commands, it is about building real skills.
Stick around, there is a lot more coming over the next 29 days.

Index

  1. Requirements
  2. Step by Step Lab Setup
  3. Best Practices and Recommendations
  4. Quick Summary

Requirements

• Oracle VirtualBox (Download: VirtualBox.org)
• RHEL 9 ISO File (You can get it from Red Hat Official Site)
• Minimum 4GB RAM machine.

Image description

Step by Step Lab Setup

Step 1: Open VirtualBox and Create a New Virtual Machine
• Open VirtualBox.
• Click on Machine → New.

Step 2: Enter VM Details
• Name: RHEL9-VM1
• Choose a location to save the VM.
• Type: Linux
• Version: Red Hat (64-bit)
Click Next.
Image description

Step 3: Set Memory Size
• Allocate 2GB RAM (2048 MB).
Image description

Step 4: Create Virtual Hard Disk
• Choose Create a virtual hard disk now (default).
Click Create.
Image description

Step 5: Select Hard Disk File Type
• Choose VDI (VirtualBox Disk Image) (default).
Click Next.
Image description

Step 6: Storage on Physical Hard Disk
• Choose Dynamically allocated (default).
Click Next.
Image description

Step 7: Set File Location and Size
• Set size to 25GB.
Click Create.
Image description Step 8: Adjust VM Settings for Better Performance
• Select the VM → Click Settings.
System → Processor:
• Change Processor count to 2.
Image description System → Motherboard:
• Change Pointing Device to USB Tablet.
Click OK to save changes.
Image description Step 9: Attach the RHEL 9 ISO
• Click Start on the VM.
• When prompted, click the folder icon to choose a disk.
Image description • Select your rhel-baseos-9.0-x86_64-dvd.iso file.
Click Start.
Image description Image description Image description Step 10: Begin RHEL Installation
• Use arrow keys to select Install Red Hat Enterprise Linux 9. Press Enter.
Image description Step 11: Choose Language
• Select English (United States) or English (United Kingdom) depending on your region.
Click Continue.

Step 12: Installation Destination
• Click on Installation Destination.
Image description • Confirm your 25GB disk is selected.
Click Done.
Image description Step 13: Set Root Password
• Click Root Password under User Settings.
Image description • Set password: redhat (for learning purposes).
• Enable Allow root SSH login with password.
Click Done.
Image description Step 14: Begin Installation
• Click Begin Installation.
Image description Installation will start. Relax and wait for it to complete!