VBoxManage list ostypes
VBoxManage createvm --name "winxp" --ostype WindowsXP --register
VRDE = RDP připojení k VS
VBoxManage modifyvm "winxp" --memory 256 --acpi on --ioapic on --boot1 dvd \ --nic1 bridged --bridgeadapter1 eth0 --vrde on --vrdeport 50100 --vrdemulticon on
Velikost uvedena v MB
$ VBoxManage createhd --filename "winxp.vdi" --size 10000
VBoxManage storagectl "winxp" --name "ide0" --add ide --controller PIIX4 VBoxManage storageattach "winxp" --storagectl "ide0" --port 0 --device 0 \ --type hdd --medium "winxp.vdi" VBoxManage storageattach "winxp" --storagectl "ide0" --port 0 --device 1 \ --type dvddrive --medium /usr/share/virtualbox/VBoxGuestAdditions.iso VBoxManage storageattach "winxp" --storagectl "ide0" --port 0 --device 1 \ --type dvddrive --medium emptydrive
VBoxManage storagectl "winxp" --name "sata0" --add sata --controller IntelAHCI vboxmanage storageattach "winxp" --storagectl sata0 --port 1 --device 0 \ --type dvddrive --medium /usr/share/virtualbox/VBoxGuestAdditions.iso
Poznámka:
VBoxManage setextradata "winxp" CustomVideoMode1 1440x900x32
VBoxHeadless --startvm "winxp"
VBoxManage sharedfolder add "winxp" --name shared_folder --hostpath /full/path/to/folder --automount
VBoxManage snapshot "winxp" take "Clean install" VBoxManage snapshot "winxp" restore "Clean install" VBoxManage snapshot "winxp" delete "Clean install" (nebo UUID)
VBoxManage clonehd puvodni.vhdx --format VHD novy.vhd