Oracle virtual box inaccessible

后端 未结 9 1790
半阙折子戏
半阙折子戏 2020-12-23 09:25

I am using Oracle Virtual Box version 4.2.16 r86992. Everything was fine until yesterday shutdown. Today, it shows inaccessible and throws this error:

Runtim         


        
相关标签:
9条回答
  • 2020-12-23 09:39

    This is going to sound stupid but try to reinstall VB. It may work.

    0 讨论(0)
  • 2020-12-23 09:43

    I faced the same problem and I resolved by doing following in Oracle Virtual box 4.3.28 with Ubuntu 14.04 LTS, when Virtual box VM was closed.

    1. Removed ubuntu.vbox to another folder outside virtual box folder

    2. removed -prev from file ubuntu.vbox-prev

    3. start oracle virtualbox, it works excellent.

    0 讨论(0)
  • 2020-12-23 09:44

    This normally happens if the host OS crashes or you pull the plug on it, leaving the .vbox file unsaved.

    In the location:

    C:\Users\xxxxxxx\VirtualBox VMs\vBoxxxxXubuntu_Beta\  
    

    you should find two files:

    1. vBoxxxxXubuntu_Beta.vbox-prev
    2. vBoxxxxXubuntu_Beta.vbox-tmp

    Copy vBoxxxxXubuntu_Beta.vbox-prev to vBoxxxxXubuntu_Beta.vbox.

    Select vBoxxxxXubuntu_Beta.vbox, in the VBox manager, right click, and then left click on refresh.

    Observe that it now shows Powered Off.

    Now you are good to go.

    0 讨论(0)
  • 2020-12-23 09:47

    I've faced the same issue using CentOs 6.8 on a VirtualBox 5.1 installed in Windows 7 and AjayKumarBasuthkar's solution worked perfectly for me:

    1. I went to C:\Users\\VirtualBox VMs\CentOS6.8
    2. Made a copy of the file CentOS6.8.vbox-prev and gave it the name of CentOS6.8.vbox
    3. Went to the VirtualBox GUI, right-clicked the VM instance and hit refresh
    4. The CentOS instance went from the State Inaccessible to Powered Off
    0 讨论(0)
  • 2020-12-23 09:48

    The virtual box files with extension .vbox contain metadata the virtualbox hypervisor requires to resolve the guest virtual OS' configuration.

    If the main .vbox file is corrupted (i.e. reporting that it is empty) then use the backup .vbox-prev file to recover the contents of the original file.

    Do this by renaming the empty .vbox files a temporary name (e.g. rename originalVM.vbox to originalVM-empty.vbox).

    Then make a copy of the backup file originalVM.vbox-prev, where the copy will have the same name as the original but with the word "copy" appended to it (i.e. originalVM.vbox-prev is renamed to originalVM (copy).vbox-prev).

    It is important to retain the original backup .vbox-prev file it should not be altered or itself renamed.

    Now go rename the copy of the newly created .vbox-prev file originalVM (copy).vbox-prev to the original name of the empty .vbox file and be mindful to also change it extension from .vbox-prev back to just .vbox.

    That is rename originalVM (copy).vbox-prev back to originalVM.vbox. Now that this is done you may add the .vbox file (guest os) back into the VBOX hypervisor.
    This will recover the state and snapshot of the "inaccessible" guest VM. Now delete the original empty .vbox file.

    0 讨论(0)
  • 2020-12-23 09:54

    VirtualBox 4.3 is released and could it be that you've updated or there was some issues while updating?

    In any case if you are not able to bring up the Virtualbox, remember to backup the VirutalBox VMs folder and going for a fresh install should be the best way forward.

    0 讨论(0)
提交回复
热议问题