Virtualbox - Wersja do druku +- ToolsX Windows 11 Tuning (http://darmowe-gry.5v.pl) +-- Dział: Linux (http://darmowe-gry.5v.pl/forumdisplay.php?fid=281) +--- Dział: Ogólnie (http://darmowe-gry.5v.pl/forumdisplay.php?fid=286) +---- Dział: Komendy cmd (http://darmowe-gry.5v.pl/forumdisplay.php?fid=287) +---- Wątek: Virtualbox (/showthread.php?tid=336) |
Virtualbox - admin - 09-29-2018 Zmniejszanie rozmiaru dysku usuwanie pustych miejsc VBoxManage modifyhd /Users/Kuba/VirtualBox\ VMs/Windows\ 7 VD/Windows\ 7.vdi --compact RE: Virtualbox - admin - 10-01-2018 zwiękrzenie ilości ram w karcie grafiki VBoxManage modifyvm "Name of VM" --vram 256 RE: Virtualbox - admin - 11-20-2018 #### Instrukcja https://www.virtualbox.org/manual/ch08.html RE: Virtualbox - admin - 11-20-2018 ###Zmiana identyfikatora dysku VBoxManage internalcommands sethduuid /home/dysk1/nfs/NFS.vdi RE: Virtualbox - admin - 11-23-2018 VBoxManage showvminfo "metin" // infiormacje o maszynie $ VBoxManage createvm --name "testvm" --register Specify the hardware configurations of the VM (e.g., Ubuntu OS type, 1024MB memory, bridged networking, DVD booting). $ VBoxManage modifyvm "testvm" --memory 1024 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0 --ostype Ubuntu Create a disk image (with size of 10000 MB). Optionally, you can specify disk image format by using "--format [VDI|VMDK|VHD]" option. Without this option, VDI image format will be used by default. $ VBoxManage createvdi --filename ~/VirtualBox\ VMs/testvm/testvm-disk01.vdi --size 10000 Add an IDE controller to the VM. $ VBoxManage storagectl "testvm" --name "IDE Controller" --add ide Attach the previously created disk image as well as CD/DVD drive to the IDE controller. Ubuntu installation ISO image (found in /iso/ubuntu-12.04.1-server-i386.iso) is then inserted to the CD/DVD drive. $ VBoxManage storageattach "testvm" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium ~/VirtualBox\ VMs/testvm/testvm-disk01.vdi $ VBoxManage storageattach "testvm" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /iso/ubuntu-12.04.1-server-i386.iso Start VirtualBox VM from the command line Once a new VM is created, you can start the VM headless (i.e., without VirtualBox console GUI) as follows. $ VBoxHeadless --startvm "testvm" & RE: Virtualbox - admin - 11-23-2018 ###Rozdzielczosc w virtualbox apt-get -y install dkms virtualbox-guest-x11 RE: Virtualbox - admin - 11-23-2018 VBoxManage startvm ubuservloc --type headless down vote virtualbox startvm ubuservloc stop VBoxManage controlvm "vm_name" poweroff start nohup VBoxHeadless -startvm "vm_name" & |