resizing the VM on XP

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
denisbarbarossa
Posts: 1
Joined: 21. Nov 2011, 14:32
Primary OS: Mac OS X other
VBox Version: OSE Debian
Guest OSses: Windows XP

resizing the VM on XP

Post by denisbarbarossa »

Hello I try to resize the VM from 10 to 20 Mb because it's already full with XP SP3
in the terminal I put :
VBoxManage modifyhd "/Users/denisbarbarossa/VirtualBox VMs/WinXP" --resize 20000

and get the answer...
VBoxManage: error: The medium '/Users/denisbarbarossa/VirtualBox VMs/WinXP' can't be used as the requested device type
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Medium, interface IMedium, callee nsISupports
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp

I tried many path
I tried with clonehd, no much luck

some ideas ??
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resizing the VM on XP

Post by Perryg »

VBoxManage modifyhd "/Users/denisbarbarossa/VirtualBox VMs/WinXP" --resize 20000
You need the absolute path including the file name and extension.
Probably the following but you need to make sure

Code: Select all

VBoxManage modifyhd "/Users/denisbarbarossa/VirtualBox VMs/WinXP/WinXP.vdi" --resize 20000
Or you can just run the command while in the appropriate folder.

Code: Select all

VBoxManage modifyhd WinXP.vdi" --resize 20000
Post Reply