Code: Select all
vboxmanage modifyhd "D:\vhds\filename.vhd" --resize 112640
Code: Select all
C:\Program Files\Oracle\VirtualBox>vboxmanage showhdinfo "d:\vhds\filename.vhd"
UUID: b8f612f1-6410-4057-938a-b6ff3c57631c
Parent UUID: base
State: inaccessible
Access Error: Could not open the medium 'D:\VHDs\filename.vhd'.
VD: Image file 'D:\VHDs\filename.vhd' is corrupted and can't be opened (VERR_VD_IMAGE_CORRUPTED)
Type: normal (base)
Location: D:\VHDs\filename.vhd
Storage format: VHD
Format variant: dynamic default
Capacity: 0 MBytes
Size on disk: 0 MBytes
Encryption: disabled
In use by VMs: filename.vhd (UUID: 39904c95-9280-47ad-a29b-003563cf157e)
Code: Select all
vboxmanage modifymedium "d:\vhds\filename.vhd" --resizebyte 118111600640
Thanks in advance.