Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb11:virtualboxvm [2022/09/24 12:15] – [Install Guest Additions on a Debian 11 host] Bernard Condraudeb11:virtualboxvm [2025/06/06 12:23] (current) – [Settings] Bernard Condrau
Line 4: Line 4:
   * After installing the Guest Additions, close VirtualBox and restart it under your user account   * After installing the Guest Additions, close VirtualBox and restart it under your user account
  
-===== Install Guest Additions on a Debian 11 host ===== +===== Install Guest Additions on a Debian 11 guest operating system ===== 
-  - The following steps need to be taken inside the VM+  - The following steps need to be taken inside the VM after the operating system has been installed
   - Install the kernel headers, DKMS framework, and build tools<code>$ sudo apt update -y && sudo apt upgrade   - Install the kernel headers, DKMS framework, and build tools<code>$ sudo apt update -y && sudo apt upgrade
 sudo apt install dkms linux-headers-$(uname -r) build-essential</code> sudo apt install dkms linux-headers-$(uname -r) build-essential</code>
Line 16: Line 16:
   * [[https://kifarunix.com/install-virtualbox-guest-additions-on-debian-11/|Install VirtualBox Guest Additions on Debian 11]]   * [[https://kifarunix.com/install-virtualbox-guest-additions-on-debian-11/|Install VirtualBox Guest Additions on Debian 11]]
  
 +===== Reboot (dead) vm =====
 +  - ''vboxmanage list runningvms''
 +  - ''vboxmanage controlvm <machine> acpipowerbutton''
 +  - ''vboxmanage startvm <machine> --type=headless''
 +
 +==== Settings ====
 +  * ''vboxmanage modifyvm <machine> --defaultfrontend headless''
 +  * ''vboxmanage controlvm <machine> poweroff'' if the vm cannot be shut down gracefully