1. Stop the VirtualBox machine.
2. Convert VDI Image to RAW Disk Format
vboxmanage clonehd --format RAW /home/user/VirtualBox_VMs/Debian_vm.vdi /home/user/VirtualBox_VMs/Debian_vm.img
3. Copy RAW image to KVM server
rsync -av --progress /home/user/VirtualBox_VMs/Debian_vm.img user@kvmserver:/home/kvm/Debian_vm.img
4. Convert RAW Image Disk Format to KVM Format
qemu-img convert -f raw Debian_vm.img -O qcow2 Debian_vm.qcow2
Źródło: https://www.tecmint.com/migrate-virtualbox-vms-into-kvm-vms/
useradd -m vbox -G vboxusers passwd vbox
vi /etc/default/virtualbox
VBOXWEB_USER=vbox
update-rc.d vboxweb-service defaults service vboxweb-service start
apt-get install apache2-mpm-prefork apache2-utils apache2.2-bin apache2 apache2-doc apache2-suexec libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libapr1 php5-common php5-mysql php-pear wget
service apache2 restart
cd /var/www/html wget http://downloads.sourceforge.net/project/phpvirtualbox/phpvirtualbox-4.3-1.zip unzip phpvirtualbox-4.3-1.zip mv phpvirtualbox-4.3-1 phpvirtualbox cd /var/www/html/phpvirtualbox/ cp config.php-example config.php
vi config.php
var $username = 'vbox'; var $password = 'secret';
Błąd podczas instalacji Windows 7 na Virtualboxie.
Kod błędu: 0xc0000225
Rozwiązanie:
Zmiana ustawień maszyny w Virtualboxie:
chipset from PIIX3 to ICH9
enabled IO APIC