-   Linux - Virtualization and Cloud (
-   -   How to setup a vdi in VirtualBox in text-mode? (

xeon123 05-30-2011 01:55 PM

How to setup a vdi in VirtualBox in text-mode?

I've vdi image with ubuntu installed, and I would like configure the VirtualBox to run this image. I can only acces VirtualBox in text mode from my PC. There's no X11 installed.

How to setup a vdi in VirtualBox in text-mode?

EricTRA 05-30-2011 01:58 PM


Have a look at the VBoxManage command. Just type it in a console without options and you'll get all the info you need.

Kind regards,


xeon123 05-30-2011 02:08 PM


I've created an image with the command and modified the parameters with:

VBoxManage createvm -name "Linux1" -register
VBoxManage modifyvm "Linux1" -memory "512"

Now, I would like to attach the vdi file to the image, and I don't know how to do it. What VBoxManage command should I use? Is the command VBoxManage createvdi?

xeon123 05-30-2011 02:36 PM

I think that 's the command.

VBoxManage registerimage disk ~/VirtualBox/images/Linux1/xubuntu-9.10-x86.vdi

Now I only need to attach the vdi to the vm file.

EricTRA 05-31-2011 12:57 AM


Here's another good source of documentation:

The part you're looking for is this:

VBoxManage modifyvm VMName --hda new.vdi
where VMName is the name of your virtual machine and the new.vdi should be substituted by the name of your disk.

Kind regards,


All times are GMT -5. The time now is 11:48 PM.