edoceo

VirtualBox on Gentoo Linux

Installation

Below is a typical installation example, note the USE flags.

~ # emerge -pv app-emulation/virtualbox-modules app-emulation/virtualbox
[ebuild  N     ] app-emulation/virtualbox-modules-4.1.22  USE="-pax_kernel"
[ebuild  N     ] app-emulation/virtualbox-4.1.22  USE="-additions alsa -doc -extensions -headless -java opengl -pam -pulseaudio -python qt4 -sdk -vboxwebsrv vnc"

Copy/Clone Virtual Disk Images

To Convert from VDI to RAW format for KVM.

VBoxManage clonehd –format RAW WinXP-baseline.vdi WinXP-baseline.raw

To Convert from RAW to QCOW format for KVM.

kvm-img convert -f raw WinXP-baseline.raw -O qcow2 WinXP-baseline.qcow2

To Convert from QCOW to RAW to VDI image format for KVM to VirtualBox Migration.

kvm-img convert -f raw WinXP-baseline.raw -O qcow2 WinXP-baseline.qcow2
VBoxManage clonehd –format RAW WinXP-baseline.vdi WinXP-baseline.raw

Cloning Windows Images from VirtualBox to Linux-KVM

Windows is very sensitive to the hardware it runs on so before migrating it's important to prepare Windows for the event. This method does not always work. If this fails the other option is to boot up into a Recovery Console from a Windows Install CD/DVD and reset the Hardware Registry.

  1. Use Device Manager to remove

See Also

Edoceo provides consulting on VirtualBox and Linux-KVM Virtualization technologies.

Loading Comments from Disqus...