Install VirtualBox
Go to this page:
Download this file:
Install the VirtualBox package as follows:
sudo dpkg -i virtualbox-6.1_6.1.32-149290~Debian~bullseye_amd64.deb
sudo apt -f install
Loading and existing machine image
To load an existing virtualbox machine image (e.g. “FooBar”), first ensire that the existing machine’s folder structure is all owned by your user. If necessary…
sudo chown -R user FooBar/
sudo chgrp -R user FooBar/
Run vboxconfig
sudo apt update
sudo apt install linux-headers-amd64 linux-headers-5.10.0-8-amd64
sudo vboxconfig
Install Extension Pack
Go to this page:
Download this file:
In the VirtualBox main control panel, go to…
- Tools -> Preferences -> Add New Package
Select the downloaded file, “Oracle_VM_VirtualBox_Extension_Pack-6.1.32.vbox-extpack” to add it to the VirtualBox installation.
Install Guest Additions
Start the virtual machine.
From the Devices menu, select “Insert Guest Additions CD image…”
Open a file explorer window (within the virtual machine) and from the (virtual) CD drive, run the file “VBoxWindowsAddition.exe”
Reboot the virtual machine.