Product Navigation

Repair VBOX File VirtualBox


VBOX file is a configuration file developed by oracle corporation. It corrupts due to system file corrpution of OS and system crashes of system on which virtual box manager is running. In this article manual solutions have been discussed to recover vbox file.

What is VBOX File?


VBOX file is a setting file used by Oracle VM VirtualBox. Virtualbox is a free open source hypervisor for x86 computers and allow users to run multiple operating system such as MAC, Linux, windows or oracle solaris on a single x86 machine. It is saved in xml format. It stores information such as virtual machine, OS type, system memory, version etc.used for launching Virtual machine.

Note : Hypervisor is a software that creates and run virtual machines.

Programs Used To Open VBOX File :

VirtualBox opens VBOX settings file. It runs on host operating systems such as :


Windows

  • Windows vista (32 bit and 64 bit)
  • Windows 7 (32 bit and 64 bit)
  • Windows 8 (32 bit and 64 bit)
  • Windows 10 (32 bit and 64 bit)

Mac OS (64 bit)

  • 10.9
  • 10.10
  • 10.11

Linux (32 bit and 64 bit)

  • Ubuntu 10.04 to 16.04
  • Debian GNU/ Linux 6.0 and 8.0
  • Redhat Enterprise Linux 5, 6 and 7
  • Oracle Enterprise Linux 5, Oracle Linux 6 and 7
  • Ubuntu 10.04 to 16.04
  • Fedora Core / Fedora 6 to 24
  • Gentoo Linux

Solaris (64 bit)

  • Solaris 11
  • Solaris 10

Causes Of Corruption :


  • Upgrading operating system
  • Corrupt virtual box machine
  • System crashes on which vm virtual box manager is running
  • System file corruption
  • Sudden system shut down on which virtual box is running

Read about how to repair VBOX file.

Common Errors


  • "Virtual machine fails to start"
  • "Unable to read files"
  • " File Not Found"
  • "VBoxManage.exe: error: Code VBOX_E_FILE_ERROR (0x80BB0004) – File not accessible or erroneous file contents"

Repair VBOX File – Manual Guide


Solution # Restore VBOX file using check disk

For windows operating system

Repair corrupted files using check disk option. Follow :

  • Locate the drive where the corrupted VirtualBox VBOX file is stored.
  • Go to My Computer and click the drive in which vbox file is located.
  • Right click selected drive to open the context menu then choose Properties.

  • Go to Tools tab, under Error Checking, click Check now button.

  • Check All options in Check disk options dialog box and then Start button.

  • a) If the drive is not currently being used , the check disk will start.


    b) If the drive is being used by the system, dialog box opens up with message "Windows can't check the disk while it's in use".

  • Press cancel.
  • Dialog box opens up with option "schedule disk check"

  • Restart the PC to start the disk check and repair VBOX file.

For linux OS :

Use fsck to check and repair linux file system. Fsck stands for "file system consistency check".

fsck command syntax :

fsck [-lsAVRTMNP] [-C [fd]] [-t fstype] [filesys][--] [fs-specific-options]

Options :

- I   Lock the whole-disk device.

- S   Serialize operations

-t fslist   Specifies the type of filesystem to be checked

-C[fd]   Display completion bars for those filesystem checkers that support them.

Filesystem-Specific Options

-a   Automatically repair the filesystem.

-r   Repair the filesystem interactively.

Solution #

Follow steps to resolve error "Virtual machine fails to start" :

Uninstall the virtual machine and repair VBOX file

or

Rollback few updates to solve the problem

Solution #

Use VirtualBox log files to diagnose an issue in VirtualBox. When VirtualBox launchVM, "log file" is created. Vbox.log file contains following information such as : Host OS type and version, VirtualBox version, host CPU type, device-specific log entries etc.

Location of Log file

Windows

%HOMEDRIVE%%HOMEPATH%\.VirtualBox\Machines\\Logs

Mac OS X

$HOME/Library/VirtualBox/Machines//Logs

For Linux or Solaris OS

$HOME/.VirtualBox/Machines//Logs

Solution #

Enable Built-in VirtualBox debugger :

Access debugger :

  • A debugger console window displayed alongside the VM
  • Using telnet protocol at port 5000

Follow steps to enable the debugger and fix VBOX file :

  • Start VM directly using command VirtualBox --startvm, with an additional --dbg,--debug, or --debug-command-line argument.
  • Debugger console opens up.
  • Use help command to know about all debugger commands. Some of the commands are as follows :
    • stop--  stops VM execution and enables single step an instruction
    • g--   continue VM execution
    • t--   single step an instruction
    • rg/rh/r--   print the guest/hypervisor/current registers
    • bp/br--   set normal/recompiler breakpoint

Conclusion


In this article we explored manual solutions such as VirtualBox debugger, log file, fsck command and check disk option to repair VBOX file. If above solutions fail then use a third party tool to rebuild oracle virtualbox file.