VBoxManage --resize destoyed disk
Posted: 8. Jun 2016, 22:50
I wanted to increase the size of my Windows 10 virtual disk:
VBoxManage modifyhd --resize 80000000000 2ef33a2c-82a8-4dbe-97e9-4297a2011a8b
When I wanted to restart my virtual machine I got an error message. I tried to solve it with:
VBoxManage closemedium disk 2ef33a2c-82a8-4dbe-97e9-4297a2011a8b
Got the message: "cannot be closed because it is still attached to 1 virtual machines"
So I de attached this disk and the closed it. Since the when I want to re attach this disk I get:
Die Plattenabbilddatei /home/henri/.VirtualBox/Machines/Windows-10/Windows-10.vdi konnte nicht geƶffnet werden.
Could not get the storage format of the medium '/home/henri/.VirtualBox/Machines/Windows-10/Windows-10.vdi' (VERR_NOT_SUPPORTED).
Fehlercode:VBOX_E_IPRT_ERROR (0x80BB0005)
Komponente:Medium
Interface:IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee:IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC:VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
What can I do to fix the problem?
VBoxManage modifyhd --resize 80000000000 2ef33a2c-82a8-4dbe-97e9-4297a2011a8b
When I wanted to restart my virtual machine I got an error message. I tried to solve it with:
VBoxManage closemedium disk 2ef33a2c-82a8-4dbe-97e9-4297a2011a8b
Got the message: "cannot be closed because it is still attached to 1 virtual machines"
So I de attached this disk and the closed it. Since the when I want to re attach this disk I get:
Die Plattenabbilddatei /home/henri/.VirtualBox/Machines/Windows-10/Windows-10.vdi konnte nicht geƶffnet werden.
Could not get the storage format of the medium '/home/henri/.VirtualBox/Machines/Windows-10/Windows-10.vdi' (VERR_NOT_SUPPORTED).
Fehlercode:VBOX_E_IPRT_ERROR (0x80BB0005)
Komponente:Medium
Interface:IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee:IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC:VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
What can I do to fix the problem?