Virtualbox: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Installaton =
= Installation on Ubuntu =
http://www.ubuntugeek.com/virtualbox-4-3-8-released-and-ubuntu-installation-instructions-included.html
 
== Virtualization in the host machine ==
Note that even the host machine is 64-bit, if the vT is not available/enabled in the BIOS, we cannot install 64-bit OS in the guest machine.
Note that even the host machine is 64-bit, if the vT is not available/enabled in the BIOS, we cannot install 64-bit OS in the guest machine.
== Ubuntu ==
http://www.ubuntugeek.com/virtualbox-4-3-8-released-and-ubuntu-installation-instructions-included.html


== Virtual box guest addition ==
== Virtual box guest addition ==
Line 12: Line 12:
* http://dl.maximumpc.com/Archives/MPC%202012%2007-web.pdf
* http://dl.maximumpc.com/Archives/MPC%202012%2007-web.pdf


== virtualbox failed to create the host-only network ==
== Trouble Shooting ==
=== virtualbox failed to create the host-only network ===
Virtualbox (*.deb) was downloaded from virtualbox website. However, when I want to create a host-only network, I have to execute
Virtualbox (*.deb) was downloaded from virtualbox website. However, when I want to create a host-only network, I have to execute
<pre>
<pre>
Line 21: Line 22:
This also solves the error "Kernel driver not installed (rc=-1908)".
This also solves the error "Kernel driver not installed (rc=-1908)".


== Clone vs Import/Export appliance ==
= Clone vs Import/Export appliance =


Clone will create a new VM directory (including *.vdi) on the same machine.
Clone will create a new VM directory (including *.vdi) on the same machine.
Line 27: Line 28:
Import/Export appliance (*.ova) allows to transport the appliance to a new machine. The appliance will not be touched on the new machine.
Import/Export appliance (*.ova) allows to transport the appliance to a new machine. The appliance will not be touched on the new machine.


== vmware ==
= vmware =
<pre>
<pre>
apt-get update
apt-get update
Line 40: Line 41:
</pre>
</pre>


== Emulation vs virtualization ==
= Emulation vs virtualization =
Virtualization allows users to configure virtual machines outfitted with similar hardware and processors as the host system, whereas emulation simulates different hardware and processor configurations in software.
Virtualization allows users to configure virtual machines outfitted with similar hardware and processors as the host system, whereas emulation simulates different hardware and processor configurations in software.


Emulators are what allow you to run old Commodore 64 or NES games on a PC, for example.
Emulators are what allow you to run old Commodore 64 or NES games on a PC, for example.

Revision as of 15:30, 18 March 2014

Installation on Ubuntu

http://www.ubuntugeek.com/virtualbox-4-3-8-released-and-ubuntu-installation-instructions-included.html

Virtualization in the host machine

Note that even the host machine is 64-bit, if the vT is not available/enabled in the BIOS, we cannot install 64-bit OS in the guest machine.

Virtual box guest addition

Install guest addition for virtualbox on Debian See the link [1]

virtual machine software benchmark

Trouble Shooting

virtualbox failed to create the host-only network

Virtualbox (*.deb) was downloaded from virtualbox website. However, when I want to create a host-only network, I have to execute

sudo /etc/init.d/vboxdrv setup
sudo apt-get install dkms build-essential linux-headers-$(uname -r)

This also solves the error "Kernel driver not installed (rc=-1908)".

Clone vs Import/Export appliance

Clone will create a new VM directory (including *.vdi) on the same machine.

Import/Export appliance (*.ova) allows to transport the appliance to a new machine. The appliance will not be touched on the new machine.

vmware

apt-get update
apt-get install build-essential module-assistant
m-a prepare
cd Downloads
tar xzvf /media/cdrom0/VMwareTools-9.2.0-799703.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
[Accept all default]
shutdown -r now

Emulation vs virtualization

Virtualization allows users to configure virtual machines outfitted with similar hardware and processors as the host system, whereas emulation simulates different hardware and processor configurations in software.

Emulators are what allow you to run old Commodore 64 or NES games on a PC, for example.