Install and Run
Install Virtualbox
Install Virtualbox Extension Pack
sudo apt install virtualbox-ext-pack
List installed extension packs
vboxmanage list extpacks
Extension Packs: 1
Pack no. 0: Oracle VirtualBox Extension Pack
Version: 7.1.4
Revision: 165100
Edition:
Description: Oracle Cloud Infrastructure integration, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe, full VM encryption.
VRDE Module: VBoxVRDP
Crypto Module: VBoxPuelCrypto
Usable: true
Why unusable:
Create VM
VBoxManage createvm --name windows10 --ostype Windows10_64 --register
VBoxManage modifyvm windows10 --ioapic on
VBoxManage modifyvm windows10 --memory 4096 --vram 128
VBoxManage modifyvm windows10 --nic1 bridged
VBoxManage modifyvm windows10 --vrde on
VBoxManage storagectl windows10 --name "SATA Controller" --add sata --controller IntelAhci
Configure VirtualBox Remote Display Protocol (VRDP)
Start VM
Install VirtualBox Guest Additions
Issues
No extension pack by the name 'Oracle VM VirtualBox Extension Pack' was found
Reason
Solution
Error: failed to start machine. Error message: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR)
$ VBoxHeadless --startvm windows10
Oracle VirtualBox Headless Interface 7.1.4
Copyright (C) 2008-2024 Oracle and/or its affiliates
Starting virtual machine:
Operation failed: NS_ERROR_FAILURE
Error: failed to start machine. Error message: Nonexistent host networking interface, name '' (VERR_INTERNAL_ERROR)