Erstellen einer VirtualBox-VM: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
*VBoxManage modifyvm u20 --memory 2048 --vram 128       
 
*VBoxManage modifyvm u20 --memory 2048 --vram 128       
 
*VBoxManage modifyvm u20 --nic1 nat
 
*VBoxManage modifyvm u20 --nic1 nat
 +
 +
*VBoxManage storagectl [MACHINE NAME] --name "SATA Controller" --add sata --controller IntelAhci     
 +
*VBoxManage storageattach [MACHINE NAME] --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium  `pwd`/[MACHINE NAME]/[MACHINE NAME]_DISK.vdi               
 +
*VBoxManage modifyvm [MACHINE NAME] --boot1 disk1 --boot2 none --boot3 none --boot4 none

Version vom 28. März 2022, 17:41 Uhr

Grundkonfiguration erstellen

  • VBoxManage createvm --name u20 --ostype Ubuntu_20 --register

Speicher und Netzwerk konfigurieren

  • VBoxManage modifyvm u20 --ioapic on
  • VBoxManage modifyvm u20 --memory 2048 --vram 128
  • VBoxManage modifyvm u20 --nic1 nat
  • VBoxManage storagectl [MACHINE NAME] --name "SATA Controller" --add sata --controller IntelAhci
  • VBoxManage storageattach [MACHINE NAME] --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium `pwd`/[MACHINE NAME]/[MACHINE NAME]_DISK.vdi
  • VBoxManage modifyvm [MACHINE NAME] --boot1 disk1 --boot2 none --boot3 none --boot4 none