Inacessible VM - Could not find an open hard disk

Discussions related to using VirtualBox on Windows hosts.

Inacessible VM - Could not find an open hard disk

Postby SQLCraftsman » 24. Jun 2011, 15:44

VirtualBox 4.0.8 on WIndows 7 64-bit Enterprise.
Default VM folder changed to C:\Vbox

Repro Steps:

Requires a read-only installed OS VHD file with WIndows Server 2008 R2
Create VM named with default settings for Windows 7 64-bit
Do not attach\create a hard drive during initial creation.
Use DISKPART and create a differencing disk in the VM folder using a base install VHD with WIndows 2008 R2.
Using VirtualBox Manager, add the disk to the existing SATA controller.
Optional: Start VM, do work, Save or Shutdown VM.
Close VirtualBox Manager.
Restart VirtualBox Manager (may have wait a few moments or retry a few times)
VM now shows inaccessable with Could not find open hard disk with UUID< abc123> error.
Refresh does not fix VM.

VM is named "test" (just for example)
test.vbox file shows correct HD UUID. Interestingly enough, it does not show the filename or filepath to the VHD. It does show a filename and UUID if I add a .vdi file.
VBoxmanage ShowHDInfo <FileName> shows matching UUID for target hard disk.
Adding a previously deleted VM with same disk fails as well.
Creating a new VM and attaching same hard disk allows refresh of original VM and repairs problem and allows for attach of previously deleted VM.
vboxmanage showvminfo "test" gives same error as when there is no matching VM name while inaccessible. Works fine again after repair steps taken above.
vboxmanage showvminfo "test" fails after closing Virtualbox manager without requiring a restart of Virtualbox Manager.

I also have 3 VMs based on diff VHDs from same base image that work. I looked through the .vbox files and can find no differences. They import and run perfectly fine.

Exit and restart VirtualBox Manager makes both machines inaccessible unless VHD is removed from second VM.

Disabled Diskeeper and Forefront AV and problem persists.

Comment: I have read several threads/bugs similar to this issue. This repros without ever using a snapshot, making it worth a new thread.

Attachment notes:
Including virtualbox.xml and two .vbox files (renamed to .xml). SQLEast is a working VM, Denali3SQL1 is a broken VM.
(6.54 KiB) Downloaded 5 times
(11.58 KiB) Downloaded 2 times
(2.46 KiB) Downloaded 4 times
Posts: 1
Joined: 24. Jun 2011, 15:15
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: MS Windows Server 2008 R2

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: gera_k, Google [Bot] and 32 guests