This guide helps you resolve common issues when running OpenOS in VirtualBox.
grub-mkrescue not foundSolution: Install GRUB tools:
# Ubuntu/Debian
sudo apt-get install grub-pc-bin
# Arch Linux
sudo pacman -S grub
# macOS
brew install grub
xorriso not foundSolution: Install xorriso:
# Ubuntu/Debian
sudo apt-get install xorriso
# Arch Linux
sudo pacman -S xorriso
# macOS
brew install xorriso
mformat invocation failedSolution: Install mtools:
# Ubuntu/Debian
sudo apt-get install mtools
# Arch Linux
sudo pacman -S mtools
# macOS
brew install mtools
Kernel binary not foundSolution: Build the kernel first:
make clean
make
make iso
Possible causes and solutions:
openos.iso is attached to the IDE controllerSolution:
make clean && make isoSolution:
ls -lh Kernel2.0/openos.binmake clean && make && make isogrub.cfg:
menuentry "OpenOS" {
multiboot /boot/openos.bin
boot
}
Solution:
Solution:
Note: This is expected behavior. The OS uses VGA text mode without a visible cursor currently.
Solutions:
Note: OpenOS currently uses US keyboard layout only. Other layouts are not yet supported.
Note: Only basic alphanumeric keys and Enter are currently supported. Function keys and other special keys will be added in future versions.
Before testing in VirtualBox, verify the ISO works in QEMU:
make run-iso
This is faster and easier for debugging.
Verify the ISO was created correctly:
file openos.iso
# Should output: ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector)
For best performance:
If things are not working, try a clean rebuild:
make clean
make
make iso
If you’re still experiencing problems:
# Check installed tools
which grub-mkrescue xorriso mtools gcc
# Check GCC version
gcc --version
# Check that 32-bit compilation works
gcc -m32 -v
make run
If this works but VirtualBox doesn’t, the issue is with ISO creation or VirtualBox configuration.
Check the build output: Look for warnings or errors during compilation that might indicate problems.
make clean && make && make iso# Build everything from scratch
make clean && make && make iso
# Test in QEMU (fast)
make run-iso
# Run in VirtualBox (automatic)
make run-vbox
# Manually check ISO
file openos.iso
ls -lh openos.iso
# Manual VirtualBox VM creation
VBoxManage createvm --name "OpenOS" --ostype "Other" --register
VBoxManage modifyvm "OpenOS" --memory 512 --vram 16
VBoxManage storagectl "OpenOS" --name "IDE" --add ide
VBoxManage storageattach "OpenOS" --storagectl "IDE" --port 0 --device 0 --type dvddrive --medium openos.iso
VBoxManage startvm "OpenOS"
Current version limitations:
These are planned features for future releases!