Follow us:
How to Install Fedora OS in VirtualBox: 2025 Complete Beginners Guide
Are you curious about Fedora Linux but hesitant to install it directly on your main machine? Installing Fedora OS in VirtualBox is the perfect solution. It allows you to explore the full capabilities of Fedora—without making permanent changes to your computer.
In this guide, you’ll learn how to install Fedora OS in VirtualBox safely and efficiently, even if you’re a complete beginner.
What You’ll Need Before You Start
Before diving in, make sure you have the following:
- A computer running Windows, macOS, or Linux
- At least 8 GB of RAM (4 GB minimum)
- Around 20 GB of free disk space
- An active internet connection
- The following downloads:
Step-by-Step: How to Install Fedora OS in VirtualBox
Step 1: Install VirtualBox on Your Computer
- Visit the official VirtualBox website.
- Download the version compatible with your operating system.
- Run the installer and follow the on-screen instructions.
- Once installed, launch VirtualBox.
Step 2: Download Fedora ISO File
Fedora comes in multiple editions. For general use:
- Go to https://fedoraproject.org//.
- Click on Workstation Download.
- Choose the latest version and download the ISO file (around 2 GB+).
Step 3: Create a New Virtual Machine
- Open VirtualBox and click on “New”.
- Name it something like Fedora Linux.
- Folder: Choose where you want to save the virtual machine files.
- ISO Image: Choose the ISO file of Fedora OS from where you’ve downloaded it.
- Set the Type to
Linux
and Subtype toFedora
and Version toFedora (64-bit)
. - Skip Unattended Installation: If this option is not disabled then check this option to skip the automatic installation.
- Now ignore the Unattended Installation Section and Click on Hardware.
Allocate RAM to the VM
- Base Memory:
- Recommended: Allocate 4096 MB (4 GB) of RAM.
- Minimum: 2048 MB (2 GB) if you’re low on memory.
- Processors: Set CPUs to 2 or more (depending on your hardware).
- Click on Hard Disk.
Create a Virtual Hard Disk
- Choose Create a virtual hard disk now.
- Select VDI (VirtualBox Disk Image).
- Keep Unchecked Pre-allocate Full Size option to save space initially.
- Set size to 20 GB or more.
- Click Finish.
Step 4: Boot the VM
- Select Fedora Linux Virtual Machine
- Then hit Start.
Step 5: Install Fedora on the Virtual Machine
Once Fedora boots:
- Choose Start Fedora Workstation Live.
- After the desktop loads, click “Install to Hard Drive”.
- Select your language and region.
- In Installation Destination, select the default virtual disk.
- Click Begin Installation.
- Set a root password and create a user account.
- Wait for the installation to finish.
- Once complete, click Reboot.
Step 6: Final Setup and Updates
- After reboot, you’ll land on the Fedora login screen.
- Log in using the account you created.
- Open Terminal and run:
sudo dnf update
- This ensures your Fedora VM is up to date.
If you want to try another Linux distro like Debian OS, check out our guide on How to install Debian OS in VirtualBox in Windows OS!
Tips for Better VirtualBox Performance
- Enable Virtualization (VT-x/AMD-V) in BIOS settings.
- In VirtualBox settings > Display, increase Video Memory to 128 MB.
- Use Guest Additions for better screen resolution and clipboard sharing.
Conclusion: Try Fedora Risk-Free with VirtualBox
That’s it! You’ve successfully installed Fedora OS in VirtualBox. This setup is perfect for learning Linux, testing software, or just exploring Fedora’s features—without affecting your main operating system.
If you ever mess something up, just reset the VM or take a snapshot for quick recovery.
FAQs
1. Is Fedora good for beginners?
Yes. Fedora offers a clean, modern experience with up-to-date software. It’s a great choice for learning Linux.
2. Can I install software in the Fedora VM like on a real machine?
Absolutely. The VM behaves just like a real system.
3. How do I uninstall Fedora from VirtualBox?
Just delete the virtual machine and its virtual disk from within VirtualBox.