A project may call for a CentOS environment while your computer runs Windows. VirtualBox lets you install CentOS Stream as a guest system and keep Windows as the host.
I’ll walk through selecting the ISO for your computer’s architecture and installing CentOS Stream in a virtual machine.
TL;DR: Install CentOS Stream in VirtualBox
Download a CentOS Stream ISO for your computer’s architecture, create a Linux guest in VirtualBox, and install Stream on its virtual disk.
- CentOS Stream is the current CentOS project. CentOS Linux 7 and 8 are unmaintained.
- Use x86_64 for a typical Intel or AMD Windows PC. Choose ARM64 only when the host and VirtualBox support it.
- Leave enough memory, processor capacity and disk space for Windows.
- Eject the installer ISO after setup so the VM boots from its virtual disk.
What is CentOS Stream in VirtualBox?
CentOS Stream is a Linux distribution that tracks just ahead of Red Hat Enterprise Linux development. In VirtualBox, it runs as a guest system in a virtual machine while Windows remains the host.
CentOS Linux 7 and 8 no longer receive maintenance. The CentOS project currently offers Stream 10 and Stream 9, with separate x86_64 and ARM64 images. Stream is not the same release model as the older CentOS Linux point releases.
An ISO is an installer image that VirtualBox presents to the guest like a DVD. The installer copies the system to a virtual disk file on Windows. The VM has virtual hardware, but it shares the host computer’s physical resources.
| Image choice | Use it when |
|---|---|
| CentOS Stream 10 | You want the current Stream line and its lifecycle fits the project. |
| CentOS Stream 9 | A project requires the Stream 9 generation. |
| CentOS Linux 7 or 8 | Only for isolated legacy testing. Do not use it for a new internet-connected system. |
If you need a downstream RHEL-compatible point-release system, compare Rocky Linux or AlmaLinux instead. They are separate projects, not alternate names for Stream. The earlier CentOS VirtualBox guide covers the related guest setup.
How to install CentOS Stream on VirtualBox in Windows
Choose the ISO first, define the guest’s virtual hardware, then use the CentOS installer. VirtualBox labels can vary by release, so confirm the selected ISO and virtual disk rather than relying on a particular button position.
- Install a supported VirtualBox release from the official download page.
- Keep free host storage for both the ISO and the virtual disk.
- Enable processor virtualization in firmware if VirtualBox cannot start a 64-bit guest.
Step 1: Download the matching CentOS Stream ISO
Open the CentOS download page and choose a mirror for Stream 10 or Stream 9. A typical Intel or AMD Windows computer uses x86_64. Select ARM64 only for compatible ARM hardware and a VirtualBox build that supports that guest architecture.
Choose an installer image available from the selected mirror. A DVD image includes more installation content locally. A boot or network image downloads packages during setup, so the guest needs working network access.

Keep the checksum linked beside the ISO and compare it with the downloaded file using the CentOS verification instructions. A match confirms the file agrees with the published digest. It does not confirm that the architecture is right for your host.
Step 2: Create the virtual machine
In VirtualBox Manager, choose New, give the VM a name, and select the downloaded ISO. The wizard may detect the operating system. If it does not, select an appropriate Linux and Red Hat-compatible profile where one is available.
For a manual installation, disable unattended installation in the wizard. This leaves language, disk destination and software choices to the CentOS installer. Use unattended setup only if you intend to provide credentials and other settings through that path.
Assign memory and virtual processors conservatively. Resources given to a running VM are not available to Windows for other work. Oracle advises assigning no more than half of the host’s processor threads.

Create a virtual disk large enough for the base system and the software you expect to add. A dynamically allocated disk grows as files are written, but its maximum capacity still has to fit on the Windows drive. Check the VM summary before creating it.
Step 3: Boot the ISO and install CentOS
Start the VM and confirm that the CentOS Stream installer opens. Choose the install option and language, then review the installation summary before starting the install.
Set the installation destination to the VM’s virtual disk. The installer sees that disk as a drive belonging to the guest, separate from the Windows host drive. Check its name and capacity before confirming.
Select a software profile for the VM’s job. A minimal server uses fewer resources than a graphical desktop. Configure networking if the installer needs online repositories, then set an administrator password and create a regular user if offered.
Wait for installation to finish and restart when prompted. Before the next boot, eject the ISO from the VM’s optical drive through the Devices menu or Storage settings. The guest should then start from the virtual disk instead of reopening the installer.
Step 4: Check first boot and network access
Sign in with the account created during setup. Confirm the guest opens and reports the expected CentOS Stream release. If you used a network installer, check that the VM can reach the network before installing updates or additional software.
NAT allows basic outbound connections through the Windows host. Bridged networking puts the VM on the local network as a separate machine, which can help with lab access but exposes the guest to that network.
After first boot, our guides to the dnf command and yum command cover package management. Guest Additions are optional and can be installed after the base system works.
Fix common CentOS VirtualBox installation problems
When an install fails, check the image, virtual hardware and boot source before downloading another ISO. These checks address the common failure branches documented by CentOS and VirtualBox.
| Symptom | Check | Next action |
|---|---|---|
| VM reopens the installer | The ISO is still mounted or the boot order selects optical media first. | Eject the ISO and restart from the virtual disk. |
| No 64-bit guest option | CPU virtualization support and Windows virtualization settings. | Check firmware and Oracle’s host requirements. |
| Installer cannot fetch packages | The network adapter and host connection. | Use NAT for outbound access or correct the guest network settings. |
| VM will not start or Windows slows down | Guest memory, processor allocation and host disk space. | Reduce the VM allocation and leave resources for Windows. |
| Legacy ISO is unavailable | The image may belong to an unmaintained CentOS Linux release. | Choose Stream unless the task requires isolated legacy testing. |
If the checksum differs, download the ISO again from an official mirror and verify it before use. A network installer also needs a working guest connection during setup. Oracle’s VM creation guide explains the wizard settings for the current documented release.
Conclusion: boot the installed CentOS VM
Use a maintained CentOS Stream ISO, assign only the resources Windows can spare, and install to the guest’s virtual disk. Eject the ISO after setup so the next start reaches the installed system.
For another guest setup, follow our Kali Linux VirtualBox guide. To preserve a configured machine, see the guide to backing up VirtualBox virtual machines.
Can I still install CentOS 7 in VirtualBox?
CentOS Linux 7 is an unmaintained legacy release. For a current CentOS project install, use a CentOS Stream ISO from the official download page.
Which CentOS ISO should I download for a Windows PC?
Choose an ISO architecture supported by the Windows host and VirtualBox guest. A typical Intel or AMD PC uses x86_64. Use ARM64 only on a compatible ARM host.
Why does VirtualBox start the installer again?
The installation ISO may still be attached or the optical drive may come before the virtual disk in the boot order. Eject the ISO and restart the VM.
Do I need Guest Additions to run CentOS?
No. Guest Additions provide optional VirtualBox integration features. The installed guest can boot without them.
