Reducing the logical size of a VDI
Posted: 13. May 2012, 19:27
Hi all,
In an attempt to give myself some more space on my Ubuntu hosted Windows 7 VM I ran:
Now I have an unusable 64TB (!) disk. I tried to resize it back down:
but get:
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
I have been unable to boot into Windows 7 now and, yes, I realize that reducing a hard drive could cause corruption but since the Windows 7 O/S won't boot if I could just reduce it to, say, 64GB (it was 32), then I'm confident that fdisk can handle the rest.
Is there some way to force the modifyhd command to run even if it isn't a good idea?
In an attempt to give myself some more space on my Ubuntu hosted Windows 7 VM I ran:
Code: Select all
VBoxManage modifyhd "Windows 7.vdi" --resize 67108864Code: Select all
VBoxManage modifyhd "Windows 7.vdi" --resize 65536Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
I have been unable to boot into Windows 7 now and, yes, I realize that reducing a hard drive could cause corruption but since the Windows 7 O/S won't boot if I could just reduce it to, say, 64GB (it was 32), then I'm confident that fdisk can handle the rest.
Is there some way to force the modifyhd command to run even if it isn't a good idea?