[Solved] Resize Hard drive

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

[Solved] Resize Hard drive

Post by Gutchi »

Hello,

I have a stupid problem... I used before vmware, and now for budget reason blaba..., i have migrate my Windows 7 VM on virtualbox.
Now, I have to resize the harddrive of this VM, but is format is vmdk

Code: Select all

Windows 7-disk.vmdk: VMware4 disk image
And of course, the resize command failed

Code: Select all

VBoxManage modifyhd Windows 7-disk.vmdk --resize 70000
Progress state: VBOX_E_NOT_SUPPORTED
What can i do for resize the drive sucessfully?

Thank a lot.

PS: I'm on VirtualBox 5.2.30
Last edited by Gutchi on 28. Jun 2019, 14:53, edited 2 times in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Resize Hard drive

Post by mpack »

Convert it to VDI first to use the standard tool, or use CloneVDI to expand the VMDK directly while cloning to VDI format.

Really: you are using VirtualBox, please use the VirtualBox formats. It's not like you are committed to anything: tools are provided to convert back to VMDK in future if you want. In the meantime nothing else is as compatible with VirtualBox features as the VirtualBox native format: VDI.

Besides, it's also a damn good format: no gross design errors (unlike VHD), and yet a very simple format, which makes it very repairable.
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Resize Hard drive

Post by Gutchi »

Awesome, it take a bit of time, but i run perfectly.
Thank you bro
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] Resize Hard drive

Post by mpack »

Well, I gave you two options and you don't say which one worked for you. I'm going to assume it was the CloneVDI option, so thanks for the feedback.
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: [Solved] Resize Hard drive

Post by Gutchi »

Ah yes of course, it was the CloneVD option.
Post Reply