Difference between revisions of "VirtualBox"
From Linuxintro
imported>ThorstenStaerk |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | VirtualBox is [[virtualization]] software with not-so-much glidges. | + | VirtualBox is [[virtualization]] software with not-so-much glidges. |
− | = SUSE Linux 11.3 = | + | = use it = |
+ | To use it, [[find out your distribution]] and proceed accordingly: | ||
+ | |||
+ | == SUSE Linux 12.2 to 13.1 == | ||
+ | * install it | ||
+ | yast -i virtualbox-qt | ||
+ | * start it | ||
+ | /etc/init.d/vboxdrv start | ||
+ | VirtualBox | ||
+ | |||
+ | == SUSE Linux 12.1 == | ||
+ | * install it | ||
+ | yast -i virtualbox-qt | ||
+ | * start it | ||
+ | VirtualBox | ||
+ | |||
+ | == SUSE Linux 11.4 == | ||
+ | * install it | ||
+ | yast -i virtualbox | ||
+ | * start it | ||
+ | VirtualBox | ||
+ | |||
+ | == SUSE Linux 11.3 == | ||
* install it | * install it | ||
yast -i virtualbox-ose | yast -i virtualbox-ose | ||
Line 9: | Line 31: | ||
VirtualBox | VirtualBox | ||
− | = | + | = Virtualize your computer = |
− | + | Let's imagine you want to run an exact copy of your notebook inside VirtualbOx. We call this to [[virtualize your computer]]. First, you will need a disk dump from your notebook's harddisk. You can dump the disk over the network onto your desktop using the command | |
− | + | dd if=''/dev/sda'' | ssh root@''desktop'' "cat > hdimage.img" | |
− | + | In this case you would get a file hdimage.img on the computer named ''desktop''. Your only harddisk must be /dev/sda. | |
− | + | ||
+ | Now convert this image: | ||
+ | tweedleburg:~ # VBoxManage convertdd hdimage.img test.vdi | ||
+ | Converting from raw image file="hdimage.img" to file="test.vdi"... | ||
+ | Creating dynamic image with size 7682605056 bytes (7327MB)... | ||
+ | |||
+ | Next, fire up VirtualbOx and Choose New Virtual machine -> Use existing harddisk. Point the wizard to test.vdi and see if it works. | ||
+ | |||
+ | = Hints = | ||
+ | * [http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/ increase screen size with Ubuntu] | ||
+ | |||
+ | = TroubleShooting = | ||
+ | Error message: | ||
+ | Failed to open a session for the virtual machine | ||
+ | Solution: | ||
+ | /etc/init.d/vboxdrv start |
Latest revision as of 09:49, 29 May 2014
VirtualBox is virtualization software with not-so-much glidges.
Contents
use it
To use it, find out your distribution and proceed accordingly:
SUSE Linux 12.2 to 13.1
- install it
yast -i virtualbox-qt
- start it
/etc/init.d/vboxdrv start VirtualBox
SUSE Linux 12.1
- install it
yast -i virtualbox-qt
- start it
VirtualBox
SUSE Linux 11.4
- install it
yast -i virtualbox
- start it
VirtualBox
SUSE Linux 11.3
- install it
yast -i virtualbox-ose
- load its kernel module
modprobe vboxdrv
- start it
VirtualBox
Virtualize your computer
Let's imagine you want to run an exact copy of your notebook inside VirtualbOx. We call this to virtualize your computer. First, you will need a disk dump from your notebook's harddisk. You can dump the disk over the network onto your desktop using the command
dd if=/dev/sda | ssh root@desktop "cat > hdimage.img"
In this case you would get a file hdimage.img on the computer named desktop. Your only harddisk must be /dev/sda.
Now convert this image:
tweedleburg:~ # VBoxManage convertdd hdimage.img test.vdi Converting from raw image file="hdimage.img" to file="test.vdi"... Creating dynamic image with size 7682605056 bytes (7327MB)...
Next, fire up VirtualbOx and Choose New Virtual machine -> Use existing harddisk. Point the wizard to test.vdi and see if it works.
Hints
TroubleShooting
Error message:
Failed to open a session for the virtual machine
Solution:
/etc/init.d/vboxdrv start