I saved you $50
resize VM disk size
-
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 VM disk size
A free bit of info. While you are in the Finder, if you hold down the 'Option' key while clicking on the Go menu, Library will be an option which will open the folder for you.
I saved you $50
I saved you $50
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.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: resize VM disk size
Actually, 4.1.x should be recent enough for this.
Before everyone gets irritated, please answer the obvious question: where did you get that path you used? Are you blindly following some blog, or have you actually looked for your VDI on your host and found it in that folder.
You can settle this doubt quite easily: show a screenshot of that folder containing that VDI.
And not to blow my own trumpet, but if you find the command line difficult to grasp, then perhaps you will have better luck understanding CloneVDI. You'll need Wine to run this on an OS X host. Someone else can no doubt tell you what Wine package is best.
Before everyone gets irritated, please answer the obvious question: where did you get that path you used? Are you blindly following some blog, or have you actually looked for your VDI on your host and found it in that folder.
You can settle this doubt quite easily: show a screenshot of that folder containing that VDI.
And not to blow my own trumpet, but if you find the command line difficult to grasp, then perhaps you will have better luck understanding CloneVDI. You'll need Wine to run this on an OS X host. Someone else can no doubt tell you what Wine package is best.
-
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 VM disk size
I for one am not irritated.
As I mentioned however the OP's path cannot possibly be correct pre-VB 4.0 or post-VB 4.0. Not unless someone purposely created or moved it there which doesn't seem likely.
for OSX, pre-4.0's default location was $HOME/Library/VirtualBox. post 4.0's location is /Users/username (not in the "invisible" Library folder)
Hope that helps.
The vbox.log should have the path if Tony would attach it to a message.
As I mentioned however the OP's path cannot possibly be correct pre-VB 4.0 or post-VB 4.0. Not unless someone purposely created or moved it there which doesn't seem likely.
for OSX, pre-4.0's default location was $HOME/Library/VirtualBox. post 4.0's location is /Users/username (not in the "invisible" Library folder)
Hope that helps.
The vbox.log should have the path if Tony would attach it to a message.
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 VM disk size
loukingjr wrote:A free bit of info. While you are in the Finder, if you hold down the 'Option' key while clicking on the Go menu, Library will be an option which will open the folder for you.
I saved you $50
Unfortunately, my keyboard does not have the "Option" key... I'm remoting into the Mac using a Windows box.
Using command line is my preference. Unfortunately, because I cannot browse to the folder location in finder, I cannot drag the path into terminal. I can browse to the location in terminal, and verify the file exists. I'm just not sure the spaces in the file name are being correctly represented in the overall command.
I will post log info and screen shots when I can log back into it.
Thank you for your time
-
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 VM disk size
Tony, it would have been nice if you had mentioned you weren't on a Mac.
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 VM disk size
To get the actual full path/filename of the disk image, OP could just use
thus eliminating the need for all the conniptions that have been suggested.
On mine, I see the following:
Location: /Users/ba2kell/VirtualBox VMs/Virtual Windows 7/Virtual Windows 7.vdi
With that info, I would useI just tried it, and it worked exactly as expected. (I'm using VBox version 4.3.20)
Code: Select all
VBoxManage list hddsOn mine, I see the following:
Location: /Users/ba2kell/VirtualBox VMs/Virtual Windows 7/Virtual Windows 7.vdi
With that info, I would use
Code: Select all
VBoxManage modifyhd "/Users/ba2kell/VirtualBox VMs/Virtual Windows 7/Virtual Windows 7.vdi" --resize 51200Re: resize VM disk size
THANK YOU! when I did list hdds, I copied and pasted the path into the command. This worked I believe because it was copied and pasted. After that - resized volume in windows, and bammo..
Thank you for all the help, I appreciated it greatly.
Thank you for all the help, I appreciated it greatly.
Re: resize VM disk size
Glad it worked for you! And thanks for letting us know -- messages of thanks are encouraging and appreciated. 