Impossible OS Docs

Running Impossible OS in VirtualBox

VirtualBox provides a user-friendly GUI for running Impossible OS. It requires UEFI mode and a VDI disk image (included in releases).

Important

Running the March 2026 demo (v26.3.18-alpha.821)? Use 1 CPU. Set Processors to 1 (VBoxManage modifyvm "Impossible OS" --cpus 1). The same setting was tested in QEMU; it has not been tested in VirtualBox. With 2 or more CPUs and an AHCI (SATA) disk, that build stops at "Timer: sleeping 1 second" (issue 6). Later builds boot with several CPUs.


Prerequisites

  • VirtualBox 7.0+ -- Download
  • VirtualBox Extension Pack (recommended) -- USB 2.0/3.0 support

Option A: Using the Pre-built VDI (Easiest)

Each release includes a .vdi file ready for VirtualBox:

  1. Download system-disk.vdi from the latest release
  2. Follow Create the VM below, and select this VDI as the hard disk

Option B: Convert RAW Image to VDI

If you only have the .img file:

VBoxManage convertfromraw system-disk.img system-disk.vdi --format VDI

Note

On Windows, use the full path: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"


Create the VM

Via GUI

  1. New → Name: Impossible OS, Type: Other, Version: Other/Unknown (64-bit)
  2. Memory: 2048 MB
  3. Hard Disk: "Use an existing virtual hard disk file" → select system-disk.vdi
  4. Settings → System:
    • ✅ Enable EFI (required -- Impossible OS does not boot in legacy BIOS)
    • Uncheck "Floppy" from boot order
  5. Settings → Storage:
    • Controller should be AHCI (default for SATA)
  6. Start the VM

Via Command Line

# Create VM
VBoxManage createvm --name "Impossible OS" --ostype Other_64 --register

# Configure
VBoxManage modifyvm "Impossible OS" \
    --memory 2048 \
    --cpus 1 \
    --firmware efi \
    --graphicscontroller vmsvga \
    --vram 64 \
    --nic1 nat \
    --nictype1 82540EM

# Attach storage
VBoxManage storagectl "Impossible OS" \
    --name "SATA" \
    --add sata \
    --controller IntelAhci

VBoxManage storageattach "Impossible OS" \
    --storagectl "SATA" \
    --port 0 \
    --device 0 \
    --type hdd \
    --medium system-disk.vdi

# Start
VBoxManage startvm "Impossible OS"

Setting Value Why
Firmware EFI UEFI required -- legacy BIOS will NOT boot
RAM 2048 MB Not measured in VirtualBox below 2048 MB. In QEMU the smallest size a boot was measured at is 96 MB (2026-11-24); builds from before that date halt at 1 GiB or less
Processors 1 Required by the March 2026 demo; later builds run with more
VRAM 64 MB Recommended for 1280×720 framebuffer
Storage AHCI/SATA Impossible OS uses AHCI DMA drivers
Network NAT + Intel PRO/1000 Default works; RTL8139 also supported
Audio Disabled Not yet implemented

Troubleshooting

Issue Solution
"No bootable medium found" Enable EFI in Settings → System → Enable EFI
Black screen after UEFI logo Increase VRAM to 64 MB or higher
VM crashes on start Ensure "Other/Unknown (64-bit)" is the OS type
Mouse not working VirtualBox mouse integration may conflict; try disabling it
Slow performance Enable VT-x/AMD-V in BIOS and in VirtualBox settings
Cannot convert .img to .vdi Ensure VBoxManage is in your PATH, or use full path

Accessing Serial Output

To capture kernel serial output in VirtualBox:

  1. Settings → Serial Ports → Port 1
  2. ✅ Enable Serial Port
  3. Port Mode: Raw File
  4. Path: /path/to/serial.log (or C:\Users\You\serial.log on Windows)
  5. Port Number: COM1 (IRQ 4, I/O 0x3F8)
Impossible OS is free software under the GPL-3.0-only license. Last updated Privacy Edit this page on GitHub