Page 1 of 1
[SOLVED] Creating VDI in different folder than default
Posted: 17. Mar 2009, 19:33
by Marvin0815
Hi all,
I'm now undergoing severe experiences with VBoxManage on an headless machine

. Unlike with the graphical frontend I found no way to create virtual harddisks in another folder than the default hdfolder with VBoxManage's createhd.
I need another location for this file cuz of the free space of my /home.
Is it possible to do so without permanent change of the property?
Thx in advance.
--marv
Re: Creating VDI in different folder than default hdfolder
Posted: 17. Mar 2009, 21:09
by vbox4me2
Edit the xml files or when creating the VDI browse to where it should store it.
Re: Creating VDI in different folder than default hdfolder
Posted: 17. Mar 2009, 21:49
by Marvin0815
Sorry for misunderstanding. I meant using VBoxManage without X.
Re: Creating VDI in different folder than default hdfolder
Posted: 17. Mar 2009, 22:03
by vbox4me2
How about reading the manual?
8.4 VBoxManage createvm
Code: Select all
VBoxManage createvm -name <name>
[-register]
[-basefolder <path> | -settingsfile <path>]
[-uuid <uuid>][/list]
Re: Creating VDI in different folder than default hdfolder
Posted: 17. Mar 2009, 22:33
by Marvin0815
vbox4me2 wrote:How about reading the manual? 8.4 VBoxManage createvm
I had. Basefolder does not affect the virtual disk path IMHO.
I have an existing VM with an VDI in the standard path and I want to create a 2nd in a different location without changing the default value permanently.
Re: Creating VDI in different folder than default hdfolder
Posted: 17. Mar 2009, 22:38
by vbox4me2
VBoxManage createvdi -filename c:\otherpath\myvdi.vdi -size 60000
?
Code: Select all
VBoxManage createvdi -filename <filename>
-size <megabytes>
[-static]
[-comment <comment>]
[-register]
[-type normal|writethrough] (default: normal)
Re: Creating VDI in different folder than default hdfolder
Posted: 18. Mar 2009, 15:09
by Marvin0815
Obviously it was so easy. I never thought about this before.
Thank You.Thank You.