Difference between revisions of "VirtualBox"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 19: Line 19:
  
 
= Virtualize your computer =
 
= Virtualize your computer =
To [[virtualize your computer]] and run it from within virtualbOx, use
+
To [[virtualize your computer]] and run it from within virtualbOx, transfer your harddisk over the network like this:
  tweedleburg:~ # VBoxManage convertdd testdisk.img test.vdi
+
dd if=''/dev/sda'' | ssh root@earth "cat > hdimage.img"
 +
In this case you would get a file hdimage.img on the computer named earth.
 +
 
 +
Now convert this image:
 +
  tweedleburg:~ # VBoxManage convertdd hdimage.img test.vdi
 
  Converting from raw image file="testdisk.img" to file="test.vdi"...
 
  Converting from raw image file="testdisk.img" to file="test.vdi"...
 
  Creating dynamic image with size 7682605056 bytes (7327MB)...
 
  Creating dynamic image with size 7682605056 bytes (7327MB)...

Revision as of 12:02, 30 July 2011

VirtualBox is virtualization software with not-so-much glidges.

use it

To use it, find out your distribution and proceed accordingly:

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

To virtualize your computer and run it from within virtualbOx, transfer your harddisk over the network like this:

dd if=/dev/sda | ssh root@earth "cat > hdimage.img"

In this case you would get a file hdimage.img on the computer named earth.

Now convert this image:

tweedleburg:~ # VBoxManage convertdd hdimage.img test.vdi
Converting from raw image file="testdisk.img" to file="test.vdi"...
Creating dynamic image with size 7682605056 bytes (7327MB)...