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/03/20 14:09] (current) – [Reboot (dead) vm] 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 15: Line 15:
   - Repeat steps 3-6 if the kernel or the VirtualBox version changes   - Repeat steps 3-6 if the kernel or the VirtualBox version changes
   * [[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> poweroff''
 +  - ''vboxmanage startvm <machine> --type=headless''