How to Install ChromeOS in a Virtual Machine
In this article
You can run Google ChromeOS in a virtual machine (VM) using the official ChromeOS Flex image or the open-source ChromiumOS build. This lets you test the OS, run Chrome-only apps, or use a lightweight environment without replacing your current system. You'll need a virtualization tool like VirtualBox or VMware, a ChromeOS Flex ISO (free from Google), and a computer with at least 4GB of RAM and 20GB of free disk space. Below are step-by-step instructions for VirtualBox (the free, most common option), plus tips for other tools.
What You'll Need
- A computer with a 64-bit processor and hardware virtualization enabled (Intel VT-x or AMD-V).
- VirtualBox (free) or VMware Workstation Player (free for personal use).
- The ChromeOS Flex ISO file – download from Google's official ChromeOS Flex page (requires a Google account).
- At least 4GB of RAM (8GB recommended) and 20GB of free hard drive space.
- An internet connection for downloading the ISO and updates.
Step-by-Step
- Enable virtualization in your BIOS/UEFI. Restart your computer, enter the BIOS/UEFI setup (usually by pressing F2, F10, DEL, or ESC during boot), find the virtualization setting (often under “Advanced” or “CPU Configuration”), and enable it. Save and exit. If you're unsure, check your motherboard manual or search for your model.
- Download and install VirtualBox. Go to the official VirtualBox website (virtualbox.org) and download the latest version for your host OS (Windows, macOS, or Linux). Run the installer and follow the prompts. Accept default settings.
- Download the ChromeOS Flex ISO. Visit the ChromeOS Flex download page (chromeos.google/products/chromeos-flex/), sign in with your Google account, and download the ISO file. The file is about 2GB.
- Create a new virtual machine in VirtualBox. Open VirtualBox, click “New.” Name it “ChromeOS Flex” (or any name). Set “Type” to “Linux” and “Version” to “Linux 2.6 / 3.x / 4.x (64-bit).” Click “Next.”
- Allocate memory. Set RAM to at least 2048MB (2GB). If your host has 8GB or more, use 4096MB for smoother performance. Click “Next.”
- Create a virtual hard disk. Choose “Create a virtual hard disk now,” then “VDI (VirtualBox Disk Image).” Choose “Dynamically allocated.” Set the size to at least 20GB (32GB is safer). Click “Create.”
- Attach the ChromeOS ISO. Select the VM in the VirtualBox manager, click “Settings,” then go to “Storage.” Under “Storage Devices,” click the empty optical drive (the CD icon), then click the disk icon on the right and choose “Choose a disk file.” Browse to the ChromeOS Flex ISO and select it. Click “OK.”
- Configure system settings (optional but recommended). In the VM's Settings, go to “System” > “Processor” and give it at least 2 CPU cores. Also go to “Display” and increase Video Memory to 128MB, and enable “3D Acceleration” if available.
- Start the VM. Click “Start” in VirtualBox. The VM will boot from the ISO. You may see a menu asking to try or install – choose “Try ChromeOS Flex” first to test it, or “Install” to install it to the virtual disk.
- Install ChromeOS Flex (if you chose “Try”). Once the desktop loads, click the time in the bottom-right corner, then click the gear icon (Settings). Scroll down and select “Install ChromeOS Flex.” Follow the on-screen prompts. It will ask to erase the virtual disk – that's fine because it's a blank virtual disk. Confirm and wait for the installation to complete (10-20 minutes).
- Remove the ISO and reboot. After installation, shut down the VM. Go to VM Settings > Storage, remove the ISO from the optical drive (click the disk icon and choose “Remove disk from virtual drive”). Start the VM again – it should boot into ChromeOS directly.
- Set up ChromeOS. Follow the first-run setup: choose language, connect to Wi-Fi (the VM will use your host's network), sign in with a Google account (or use “Guest mode” for a quick test). You'll then see the ChromeOS desktop.
Common Mistakes
- Not enabling virtualization in BIOS. VirtualBox will show an error like “VT-x is not available.” You must enable it in the BIOS/UEFI.
- Using the wrong OS type in VirtualBox. If you pick “Windows” or “Other,” the VM may not boot. Use “Linux” and “Linux 2.6 / 3.x / 4.x (64-bit)” as described.
- Allocating too little RAM. ChromeOS is light, but the VM needs at least 2GB. If you give it 1GB, it may be sluggish or fail to start.
- Trying to install ChromeOS Flex on a physical machine with unsupported hardware. This guide is for a VM; if you try to install on real hardware, ensure your device is on Google's certified list.
- Forgetting to remove the ISO after installation. If you leave the ISO attached, the VM will boot from it again instead of the installed OS.
Tips
- Use a solid-state drive (SSD) on your host for better VM performance.
- Enable “Guest Additions” in VirtualBox after installation? ChromeOS doesn't support Guest Additions, so skip that – it won't install.
- If you want a more authentic ChromeOS experience, try ChromiumOS (the open-source version) instead of ChromeOS Flex – but ChromeOS Flex is easier to get and more stable.
- In the VM, you can adjust screen resolution by going to Settings > Device > Displays.
- For VMware, the steps are similar: create a new VM, choose “Linux” > “Other Linux 5.x 64-bit,” and attach the ISO.
Troubleshooting
VM won't start with a virtualization error. Check that virtualization is enabled in BIOS. Also, if you're on Windows, make sure Hyper-V is disabled (go to Windows Features and uncheck Hyper-V, then restart).
Black screen after boot. Try increasing Video Memory to 128MB and enabling 3D Acceleration. If still black, try disabling 3D Acceleration.
Installation fails or hangs. Make sure you have enough disk space (20GB minimum). Also, try using the “Try” mode first and then install from the desktop.
No internet in the VM. VirtualBox's default NAT should work. If not, go to VM Settings > Network and set “Attached to” to “NAT.”
Keyboard or mouse not working. Click inside the VM to capture input, and press the right Ctrl key to release it. If the mouse is erratic, try disabling “Mouse Integration” in the VM menu (View > Disable Mouse Integration).
If all else fails, try a different VM tool. VMware Workstation Player is a good alternative, and the steps are nearly identical.
Frequently Asked Questions
Is ChromeOS Flex the same as ChromeOS?
ChromeOS Flex is Google's official version of ChromeOS designed for older PCs and Macs. It's very similar to the ChromeOS on Chromebooks, but lacks some features like the Google Play Store (Android apps) on some devices. In a VM, you'll get the core ChromeOS experience, but Android app support may not work.
Can I run Android apps in the VM?
In most cases, no. ChromeOS Flex in a VM typically does not support the Google Play Store or Android apps. If you need Android apps, consider using a ChromiumOS build with Play Store support, but that's more complex and not officially supported.
How much RAM and disk space do I need?
At minimum, 2GB RAM and 20GB disk. For smoother performance, use 4GB RAM and 32GB disk.
Can I use a Mac as the host?
Yes, VirtualBox and VMware run on macOS. The steps are the same, but the BIOS virtualization setting is not needed on Macs (it's always enabled).
Will my files be safe?
Yes, because the VM uses a virtual hard disk that is just a file on your host. Installing ChromeOS inside the VM won't affect your host OS or files.
Is it legal to run ChromeOS in a VM?
Yes, Google provides ChromeOS Flex for free, and running it in a VM is allowed under its terms. ChromiumOS is open-source, so it's also fine.