Friday, June 21, 2013

[Resolved] virtualbox: Could not find an open hard disk with UUID

I have a CentOS vm for Oracle DB running with Virtual Box.
This morning can not load it after reboot, and got the following error message.



Failed to open virtual machine located in /home/XXX/vms/redhat-oracle-base/redhat-oracle-base.vbox.
Could not find an open hard disk with UUID {ecfd6828-1131-467e-8836-570bfdca0581}.
Result Code:
VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Component:
VirtualBox
Interface:
IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}


Solution: 

1) open the .vbox file by using vi or other editor.
2) copy the hard disk uuid from the error message window, and search it in vi.
3) you will find something similar like:


<StorageController name="SATA Controller" type="AHCI" PortCount="1" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" port="0" device="0">
          <Image uuid="{ecfd6828-1131-467e-8836-570bfdca0581}"/>
        </AttachedDevice>
      </StorageController>

4) remove it.
5) open virtual box, select that VM and right click it, then go to settings->storage
    -- delete all the medium of IDE Controller.
    -- add a SATA Controller and add a hard disk to it by select the .vdi file in you VM directory.
6) Boot VM, you will find it works this time.

Cheers!

6 comments:

  1. Thank you good man

    ReplyDelete
  2. Very good! Thanks! You resolved my problem!

    ReplyDelete
  3. Masterminding Does this press release infringe on your copyright? It is a violation of our terms and conditions for writers to submit material which they did not write and claim it as their own. NayaShopi.in: 1 TB - 1.9 TB - External Hard Disks / External Devices

    ReplyDelete
  4. I conceive this site contains some rattling superb information for everyone : D. for wd external hard disk visit nayashopi

    ReplyDelete