Software⏱️ 3 min read📅 2026-06-19

How to Fix: Error while importing VM in virtual box

Error importing Windows VM in VirtualBox due to VMMR0.r0 issue.

Quick Answer: Check if the virtual machine is using a corrupted or outdated VMMR0.r0 file, and try updating or reinstalling it.

The error 'Failed to open a session for the virtual machine Windows XP Professional With Firefox. Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE). Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}' is encountered when trying to import a Windows VM in VirtualBox on a Mac OS X 10.6.8 machine with 2048 RAM.

This error can be frustrating for users as it prevents them from successfully importing their virtual machines, leading to downtime and lost productivity. However, by following the steps outlined below, you should be able to resolve this issue and get back to work.

💡 Why You Are Getting This Error

  • The primary reason for this error is that VirtualBox is unable to write to the world-readable VMMR0.r0 file due to a permissions issue. This can occur when there are conflicting access controls or incorrect ownership settings on the system.
  • Another possible cause is that the VirtualBox kernel module is not properly loaded, leading to a failure in loading the VMMR0.r0 file.

✅ Best Solutions to Fix It

Updating VirtualBox and adjusting permissions

  1. Step 1: Step 1: Ensure that you are running the latest version of VirtualBox by downloading and installing the latest update from the official VirtualBox website.
  2. Step 2: Step 2: Open the Terminal on your Mac OS X system and run the command 'sudo chown -R vboxuser:vboxgroup /Library/VBox', replacing 'vboxuser' with the actual username of the user who owns the VirtualBox configuration files.
  3. Step 3: Step 3: Run the command 'sudo chmod -R 755 /Library/VBox' to adjust the permissions of the VirtualBox configuration files.

Reinstalling the VirtualBox kernel module

  1. Step 1: Step 1: Open the Terminal on your Mac OS X system and run the command 'sudo vboximg delete -f', followed by 'sudo reboot'
  2. Step 2: Step 2: After restarting, open the VirtualBox GUI application and go to File > Preferences > System > Advanced.
  3. Step 3: Step 3: In the 'Kernel' section, click on 'Edit' next to 'VBoxKernel32' and select the correct kernel module for your system architecture.

🎯 Final Words

By following these steps, you should be able to resolve the error 'Failed to open a session for the virtual machine Windows XP Professional With Firefox. Failed to load VMMR0.r0 (VERR_SUPLIB_WORLD_WRITABLE). Result Code: NS_ERROR_FAILURE (0x80004005)' and successfully import your Windows VM in VirtualBox.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions