(SOLVED) Resize VirtualBox VDI
(SOLVED) Resize VirtualBox VDI
I'm running Mac OSX Mavericks 10.9.3 with the latest version of VirtualBox. I created a dynamically allocated HD via the VB wizard. I misunderstood the concept and now have a virtual HD that's nearly full. I've installed Windows 7 Pro and all of the updates. I've now created a new virtual HD that is much larger and attached it to the controller that my original HD is attached to. Is there a simple way to clone my original installation (Win 7 Pro) to my newly created HD? I don't have a lot of windows technical expertise so any simple help would be greatly appreciated. Thanks !!
Last edited by SCTS on 27. Jun 2014, 23:48, edited 2 times in total.
Re: Resize VirtualBox VDI
Thank you - I've looked at that and I can't figure out how to do that.
Re: Resize VirtualBox VDI
I put in this command in terminal: iMac27:~ 20imac$ VBoxManage modifyhd "VirtualBox VMs/Windows 7 Pro.vdi" --resize 76800 and I get this response: VBoxManage: error: Could not find file for the medium '/Users/20imac/VirtualBox VMs/Windows 7 Pro.vdi' (VERR_FILE_NOT_FOUND)
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
you have a typo...SCTS wrote:I put in this command in terminal: iMac27:~ 20imac$ VBoxManage modifyhd "VirtualBox VMs/Windows 7 Pro.vdi" --resize 76800 and I get this response: VBoxManage: error: Could not find file for the medium '/Users/20imac/VirtualBox VMs/Windows 7 Pro.vdi' (VERR_FILE_NOT_FOUND)
Code: Select all
VBoxManage modifyhd "Windows 7 Pro" --resize 76800OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Resize VirtualBox VDI
You need to either be in the folder that has the *.vdi or provide the absolute path.
Edit: and you need to provide the exact file name and extension.
Edit: and you need to provide the exact file name and extension.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
true, I forgot.Perryg wrote:You need to either be in the folder that has the *.vdi or provide the absolute path.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Resize VirtualBox VDI
Tried that suggestion and got this: iMac27:~ 20imac$ VBoxManage modifyhd "Windows 7 Pro" --resize 76800
VBoxManage: error: Could not find file for the medium '/Users/20imac/Windows 7 Pro' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
Not sure what I'm doing wrong !!
VBoxManage: error: Could not find file for the medium '/Users/20imac/Windows 7 Pro' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
Not sure what I'm doing wrong !!
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
the easy way... first in the terminal type in... VBoxManage modifyhd then drag the .vdi file into the terminal window, then type in the rest... --resize 76800
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Resize VirtualBox VDI
okay - i did that and now i've got this: iMac27:~ 20imac$ VBoxManage modifyhd /Users/20imac/VirtualBox\ VMs/Windows\ 7\ Pro/Windows\ 7\ Pro.vdi --resize 76800
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
I'm getting close but I'm not sure what to do with these percentages. My original virtual hd is 25gb and I want to make it 75gb (76800).
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
I'm getting close but I'm not sure what to do with these percentages. My original virtual hd is 25gb and I want to make it 75gb (76800).
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
the percentages are how far along it was resizing
you now have a 75GB drive but you will have to expand the partition inside your Windows 7 guest.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Resize VirtualBox VDI
Oh my gosh - it worked !!! Thank You so much for your patience and your help. I'm very grateful.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
no problem, sorry about my earlier faux pas. 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Resize VirtualBox VDI
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Resize VirtualBox VDI
well good.SCTS wrote:This saved me a TON of time !!
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.