網頁

2015年7月25日 星期六

VirtualBox 5.x --- How to resolve a problem that cannot add VM machine by VirtualBox Manager

When I want to add the old VM into the VirtualBox Manager on Ubuntu/Lubuntu 14.04,

I get some error as “Could not find an open hard disk with UUID {...}”
I am not sure what happen and just want to resolve this problem quickly so that search some information by Google. To summary the related process for the interesting guys.
At first, the command “VBoxManage showhdinfo ”  will be executed for showing information about a virtual hard disk image.
We need to make a backup of the .vbox file before edit the .vbox file for recovery discussion. Leter, we will open the .vbox file next to find the "" line that references the UUID for the "missing" disk.
It should be inside of an section inside of a section.
Remove the entire section and save the file.
To do the same action for adding machine, the existing VM can be added now.
The UUID of the disk also is corrected now.
Although I think the problem has already been resolved, maybe need to double confirm the disk structure. After close the VirtualBox Manager and open it again, the fixed VM still be inaccessible.
The reason will be the disk with UUID doesn’t exit in the some configuration file with the extension as .vbox & .vbox-pre
To add this UUID record on .vbox & .vbox-pre as follows:
So does that the VM will be normal in the VIrtualBox Manager now.
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.