how to read correctly a vdi file with virutal box?

Discussions about using Windows guests in VirtualBox.

how to read correctly a vdi file with virutal box?

Postby langlais » 12. Feb 2011, 13:29

hello,

I am trying to launch virtual box to read a vdi file (openbravo database) but it doesn't work. Can somebody help me??? Thanks!
langlais
 
Posts: 1
Joined: 12. Feb 2011, 13:24
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: 4.0.2

Re: how to read correctly a vdi file with virutal box?

Postby BillG » 13. Feb 2011, 00:46

.vdi is a virtual hard disk format, like Microsoft's .vhd and VMWare's .vmdk . So you have a virtual hard disk containing a database. To read it you need a virtual machine with an operating system installed. A .vdi file looks like an HDD to a virtual machine.

Create a vm and install an operating system on a new .vdi . When this is working, attach your database .vdi as a second virtual hard disk.
BillG
Volunteer
 
Posts: 2202
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 8
VBox Version: PUEL
Guest OSses: Win 7, Win8, Windows Server 2008&2012

Re: how to read correctly a vdi file with virutal box?

Postby scottgus1 » 13. Feb 2011, 17:13

I don't know a thing about openbravo, but in a quick google search I found this page: http://wiki.openbravo.com/wiki/ERP/2.50 ... _Appliance

It contains the following instructions:

Code: Select all   Expand viewCollapse view
VirtualBox appliance

    * Decompress OpenbravoERP-2.50MP24-x86.virtualbox.gz, this will result in the OpenbravoERP-2.50MP24-x86.virtualbox.vdi file.
    * Open VirtualBox and click on Machine -> New. Enter Openbravo ERP Community in the Name and select Linux 2.6 in OS Type. Click on Next.
    * Select 1024MB of Base Memory Size. Click on Next.
    * Click on Existing to add the image. Then Add, and browse to select the OpenbravoERP-2.50MP24-x86.virtualbox.vdi file. Click on Select, then on Next and finally in Finish.

In order to use Openbravo ERP it is necessary to access the virtual appliance through the network. There are two options here:

    * Use VirtualBox version 2.2 or higher, edit the preferences of the virtualmachine you just created and select Bridge in the network settings. This is the recommended method.
    * Forward (NAT) the http port (80) from the virtual appliance to a random port (8000) in the host machine. This is easier to do than the previous method, and it is recommended for testing. Run the following commands:

$ VBoxManage setextradata "Openbravo ERP Community" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttpd/HostPort" 8000
$ VBoxManage setextradata "Openbravo ERP Community" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttpd/GuestPort" 80
$ VBoxManage setextradata "Openbravo ERP Community" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttpd/Protocol" TCP

Where "Openbravo ERP Community" matches with the name given to the appliance in its creation.

Afterwards it is necessary to shut down VirtualBox and start the appliance again. Then, to access Openbravo ERP enter http://localhost:8000 in a web browser.


I think the .vdi you're trying to open IS the operating system, so you don't need another OS. You just need to attach the .vdi disk to a properly configured machine, as the instructions list.
running version 3.1.2, 3.2.12, 4.0.16, 4.2.16
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in.
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
 
Posts: 359
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: XP SBS2003 Win7

Re: how to read correctly a vdi file with virutal box?

Postby BillG » 14. Feb 2011, 02:05

Very good. I should have checked that myself! Looks like he already had full instructions.
BillG
Volunteer
 
Posts: 2202
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 8
VBox Version: PUEL
Guest OSses: Win 7, Win8, Windows Server 2008&2012


Return to Windows Guests

Who is online

Users browsing this forum: No registered users and 10 guests