gg99 wrote:open command prompt and run the code for thread you mentioned replacing filename and size of your own.
Thanks gg99. I did assume the "VBoxManage modifyhd <absolute path to file> --resize <size in MB>" was something typed in DOS. So that's what I did, with my own parameters of course, and it didn't work since VBoxManage is not an executable that is in the system path so it will
not work in just any directory. Opening a command prompt from the Windows Start menu always lands you in the C:\Windows\System32> directory which threw me off at first.
Luckily though, I started out in computers using DOS like 20 years ago so today it occurred to me to navigate to the directory that contained the VBoxManage.exe file in order to complete the process. Within Windows, I made my way to the C:\Program Files\Oracle\VirtualBox directory (after searching for the file), held down the Shift key and right-clicked to see the option to open a command prompt in that directory.
So, now being in the right directory, I typed at the prompt the following and got a syntax error, and this is where I'm stuck now, I believe I typed it right, I copy/pasted the path and included the filename with the extension and I can't imagine what went wrong.
C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd C:\Users\Lee\VirtualBox VMs\Win7-VM Clone\Win7-VM Clone.vdi --resize 35840
Oracle VM VirtualBox Command Line Management Interface Version 4.3.10
(C) 2005-2014 Oracle Corporation
All rights reserved.
Usage:
VBoxManage modifyhd <uuid|filename>
[--type normal|writethrough|immutable|shareable|
readonly|multiattach]
[--autoreset on|off]
[--property <name=[value]>]
[--compact]
[--resize <megabytes>|--resizebyte <bytes>]
Syntax error: Invalid parameter 'VMs\Win7-VM'
C:\Program Files\Oracle\VirtualBox>
Any idea why it didn't work?
And btw, sorry for the delay, I posted that before I went to bed last night and just now am I able to get back to it. Also, sorry for not including what OS I'm on, it's Windows 7 as the host and Windows 7 as the guest, and I'm using v4.3.1.0 of VirtualBox. Thanks again.