LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 05-30-2011, 01:55 PM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 367

Rep: Reputation: 16
How to setup a vdi in VirtualBox in text-mode?


Hi,

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?
 
Old 05-30-2011, 01:58 PM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

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,

Eric
 
Old 05-30-2011, 02:08 PM   #3
xeon123
Member
 
Registered: Sep 2006
Posts: 367

Original Poster
Rep: Reputation: 16
Ok.

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?

Last edited by xeon123; 05-30-2011 at 02:12 PM.
 
Old 05-30-2011, 02:36 PM   #4
xeon123
Member
 
Registered: Sep 2006
Posts: 367

Original Poster
Rep: Reputation: 16
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.
 
Old 05-31-2011, 12:57 AM   #5
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

Here's another good source of documentation:
VBoxManage

The part you're looking for is this:
Code:
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,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
manually removing the .vdi files left over after removing VirtualBox adityavpratap Linux - General 2 10-24-2010 01:04 PM
Is there a way to increase the VDI size in VirtualBox on Fedora 9? Mr. Rey Linux - Software 10 05-24-2010 09:05 AM
VirtualBox virtual disk image backup? .vdi .sav brianpbarnes Linux - Software 3 07-17-2009 03:12 PM
copy hard disk from xp to vdi file for virtualbox[zenwalk] deathalele Linux - Software 3 06-23-2009 07:26 PM
Migrating a VirtualBox .vdi Image to CoLinux MetalSubstance Linux - Software 2 02-25-2008 08:03 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration