Erstellen einer VirtualBox-VM: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→BlaBla) |
|||
| Zeile 15: | Zeile 15: | ||
*VBoxManage modifyvm u20 --boot1 disk --boot2 none --boot3 none --boot4 none | *VBoxManage modifyvm u20 --boot1 disk --boot2 none --boot3 none --boot4 none | ||
| − | = | + | =RDP Server anschalten= |
| − | *VBoxManage modifyvm | + | *VBoxManage modifyvm u20 --vrde on |
| − | *VBoxManage modifyvm | + | *VBoxManage modifyvm u20 --vrdemulticon on --vrdeport 10001 |
| − | *VBoxHeadless --startvm | + | =Maschine starten= |
| + | *VBoxHeadless --startvm u20 | ||
Version vom 28. März 2022, 18:09 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
SATA Controller erstellen
- VBoxManage storhttps://xinux.net/index.php/Hauptseiteagectl u20 --name "SATA Controller" --add sata --controller IntelAhci
Harddisk anbringen
- cd ~/"VirtualBox VMs/"
- VBoxManage clonemedium disk ubuntu/ubuntu.vdi u20/u20.vdi
- VBoxManage storageattach u20 --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium u20/u20.vdi"
Boot Einstellungen
- VBoxManage modifyvm u20 --boot1 disk --boot2 none --boot3 none --boot4 none
RDP Server anschalten
- VBoxManage modifyvm u20 --vrde on
- VBoxManage modifyvm u20 --vrdemulticon on --vrdeport 10001
Maschine starten
- VBoxHeadless --startvm u20