Fix VirtualBox No Bootable Medium Found Error
In this article
The "No bootable medium found" error in VirtualBox means the virtual machine cannot find a valid operating system to start from. To fix it, you need to attach a bootable ISO file or a virtual hard disk with an OS installed to the VM's storage controller, then adjust the boot order if necessary.
Why This Error Happens
VirtualBox is a hypervisor that emulates hardware for a guest operating system. When you power on a VM, it goes through the same boot process as a physical computer: it checks the configured boot devices (floppy, optical drive, hard disk, network) in a set order, looking for a bootable medium. The error appears when none of those devices contain a valid boot loader. Common causes include:
- An empty optical drive with no ISO file attached.
- A virtual hard disk that is blank or not attached.
- An ISO file that is not bootable (e.g., a data disc or a corrupted download).
- The boot order is set to skip the device that actually has the OS.
- The VM was created without a storage controller or disk.
Quick Fix: Attach a Bootable ISO
If you are trying to install an operating system for the first time, the most direct fix is to attach an installation ISO to the VM's optical drive. Here are the steps:
- Open VirtualBox and select the VM that shows the error.
- Click Settings (gear icon), then go to Storage.
- Under the Storage Devices tree, click the optical drive (usually labeled Empty or Controller: IDE).
- In the Attributes panel on the right, click the disk icon next to Optical Drive and choose Choose a disk file....
- Browse to your OS ISO file (e.g., Ubuntu, Windows, Debian) and select it.
- Click OK to save, then start the VM.
If the ISO is valid and bootable, the installer should start. If you already installed an OS but still get the error, the problem is likely that the virtual hard disk is not attached or the boot order is wrong.
Attach or Reattach the Virtual Hard Disk
If you have an existing virtual disk (a .vdi, .vmdk, or .vhd file) that contains an operating system, you need to make sure it is connected to the VM. Follow these steps:
- Go to Settings > Storage.
- Click the Controller: SATA (or IDE) line, then click the Add Hard Disk icon (a hard disk with a plus sign).
- Choose Choose existing disk and browse to your virtual disk file.
- Alternatively, if the disk is already listed but greyed out, remove it and add it again.
- Make sure the disk is set as Primary Slave or Primary Master—any position works, but it must be enabled (checkbox ticked).
If the disk is attached but still not booting, verify that the OS is actually installed on it. You can check by temporarily booting from an ISO and inspecting the disk with a live environment, but that is more advanced.
Check and Change the Boot Order
VirtualBox's default boot order is usually: floppy, optical, hard disk. If your OS is on the hard disk but the optical drive has a non-bootable ISO attached, the VM may try the optical first, fail, then try the hard disk. In most cases it will eventually find the hard disk, but if the hard disk is not first, some BIOSes will halt. To be safe:
- Go to Settings > System > Motherboard.
- In the Boot Order section, uncheck Floppy and Optical if you want the hard disk to boot first.
- Make sure Hard Disk is checked and moved to the top (use the arrows).
- Click OK and try booting again.
If you are installing from an ISO, keep Optical first, but after installation you can change it back to Hard Disk to speed up boot.
Common Mistakes and Misconceptions
Many users think the error means their ISO is corrupt, but often it is simply not bootable. For example, a Windows ISO downloaded via the Media Creation Tool is bootable, but a plain data ISO of the same files is not. Also, some Linux ISOs are hybrid and work both as a CD and a USB image, but if you extract the contents to a folder and then burn that folder as an ISO, it will not boot.
Another common mistake is attaching the ISO to the wrong controller. VirtualBox supports IDE, SATA, and NVMe controllers. While any can work, some older OSes (like Windows XP) require IDE. If you are using a SATA controller and the OS does not have SATA drivers, it may not see the disk. In that case, switch the controller to IDE in the Storage settings.
Also, remember that the ISO must be mounted before the VM starts. If you attach the ISO while the VM is running, it will not appear until you reboot the VM.
When the Error Persists: Advanced Checks
If you have verified the ISO is bootable, the disk is attached, and the boot order is correct, try these additional steps:
- Enable EFI: Some modern OSes (like Windows 11) require UEFI. Go to Settings > System > Motherboard and check Enable EFI (special OSes only). If you are using a legacy BIOS, try unchecking it.
- Reset the VM: Sometimes a VM gets stuck in a bad state. Right-click the VM and choose Reset (not just restart).
- Check the ISO checksum: If the download was interrupted, the ISO might be incomplete. Verify the SHA256 checksum against the official one.
- Try a different ISO: Download a fresh copy from the official site. Some third-party ISOs are not bootable.
- Use the Virtual Media Manager: In VirtualBox, go to File > Virtual Media Manager to see if the ISO or disk is listed as Inaccessible. If so, remove it and re-add it.
If none of these work, the issue might be with the VM configuration itself. Create a new VM, but when asked for a disk, choose Use an existing virtual hard disk file and point to your .vdi. This often fixes subtle configuration corruption.
Frequently Asked Questions
Why does VirtualBox say "No bootable medium found" even though I have an ISO attached?
The ISO might not be attached to the optical drive, or the optical drive might be disabled. Go to Settings > Storage and confirm the ISO is listed under a controller. Also, make sure the ISO is actually bootable—some files are just data discs.
Can I boot from a USB drive in VirtualBox?
Yes, but it is not as simple as plugging in a USB. You need to create a virtual disk that points to the physical USB drive. This requires command-line tools like VBoxManage and is not recommended for beginners. It is easier to convert the USB's contents to an ISO or use a pre-made bootable ISO.
How do I make a bootable ISO from a USB?
You can use a tool like Rufus to create a bootable USB, but to make an ISO from a USB, you would need to copy the entire contents and then create an ISO with a tool like ImgBurn. However, simply copying files from a bootable USB to a folder and then making an ISO often does not preserve the boot sector. It is better to download the official ISO from the OS vendor.
What does "FATAL: No bootable medium found! System halted." mean exactly?
It means the virtual machine's BIOS/UEFI could not find any device with a valid boot sector. The VM then halts because there is nothing to execute. It is the same as a physical PC showing "No bootable device" on a blue screen.
Does the error mean my hard drive is broken?
Not necessarily. It usually means the disk is not attached, is empty, or the boot loader is missing. If you have an existing OS, the boot loader might be corrupted. In that case, you can boot from a rescue ISO and repair the boot loader, but that is more advanced.
Is there a way to fix this without reinstalling the OS?
Yes, if the OS is already installed on the virtual disk, you only need to attach the disk correctly and set the boot order. Reinstalling is only necessary if the disk is blank or the OS installation was incomplete.