{"id":10080,"date":"2021-08-18T14:13:38","date_gmt":"2021-08-18T11:13:38","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10080"},"modified":"2024-03-18T18:51:14","modified_gmt":"2024-03-18T15:51:14","slug":"install-virtualbox-guest-additions-on-debian-11","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-debian-11\/","title":{"rendered":"Install VirtualBox Guest Additions on Debian 11"},"content":{"rendered":"\n<p>You might have installed Debian 11 Bullseye on VirtualBox, and realized that it is not in full-screen view by default. If you need to set it to full-screen view, follow through this guide to learn how to install VirtualBox Guest Additions on Debian 11 Bullseye.<\/p>\n\n\n\n<p>There are so many feature that VirtualBox Guest additions can offer. This include;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mouse pointer integration<\/li>\n\n\n\n<li>Shared folders for easy sharing of files between the host and the guest<\/li>\n\n\n\n<li>Ensures better and accelerated video performance.<\/li>\n\n\n\n<li>Seamless windows integration<\/li>\n\n\n\n<li>Generic host\/guest communication channels that enables you to control and manage guest execution.<\/li>\n\n\n\n<li>Provides Host-Guest time synchronization.<\/li>\n\n\n\n<li>Shared clipboard between host and guest vm.<\/li>\n\n\n\n<li>Automated logins.<\/li>\n<\/ul>\n\n\n\n<p>To read more on VirtualBox Guest addition features on the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/download.virtualbox.org\/virtualbox\/6.0.8\/UserManual.pdf\" target=\"_blank\">VirtualBox User Manual<\/a>.<\/p>\n\n\n\n<p>Install Debian 11 Bullseye on VirtualBox by following the link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-debian-11-on-virtualbox\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Debian 11 on VirtualBox<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing VirtualBox Guest Additions on Debian 11<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Mount the guest additions ISO file<\/h3>\n\n\n\n<p>To mount the guest additions ISO file using VirtualBox manager, open the virtual machine and click&nbsp;<strong>Devices<\/strong>&nbsp;&gt;&nbsp;<strong>Insert Guest Additions CD image<\/strong>&nbsp;on the Menu bar.<\/p>\n\n\n\n<p>Before that, ensure you have an empty IDE controller, on storage settings.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"705\" height=\"557\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/empty-ide.png\" alt=\"\" class=\"wp-image-10083\" title=\"\"><\/figure><\/div>\n\n\n<p>When VirtualBox guest addition ISO file is inserted, you  may or may not be prompted on how to open it. If prompted, select&nbsp;<strong>Open with File Manager<\/strong>.<\/p>\n\n\n\n<p>The ISO file is mounted as a removable device. To mount it, open a terminal and run the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo mount \/dev\/cdrom \/mnt<\/code><\/pre>\n\n\n\n<p>Listing the contents of the mount point:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ls -1 \/mnt<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>AUTORUN.INF\nautorun.sh\ncert\nNT3x\nOS2\nrunasroot.sh\nTRANS.TBL\nVBoxDarwinAdditions.pkg\nVBoxDarwinAdditionsUninstall.tool\nVBoxLinuxAdditions.run\nVBoxSolarisAdditions.pkg\nVBoxWindowsAdditions-amd64.exe\nVBoxWindowsAdditions.exe\nVBoxWindowsAdditions-x86.exe\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Required Packages<\/h3>\n\n\n\n<p>Now, to install VirtualBox guest additions, you need to have the kernel headers, DKMS framework, and build tools installed.<\/p>\n\n\n\n<pre id=\"block-863ae92c-2d80-4b11-99bf-cd907ec87875\" class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo apt install dkms linux-headers-$(uname -r) build-essential<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install VirtualBox Guest Additions<\/h3>\n\n\n\n<p>Once the installation is done, you can now install VirtualBox guest additions by executing the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo sh \/mnt\/VBoxLinuxAdditions.run<\/code><\/pre>\n\n\n\n<p>Sample command output;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>Verifying archive integrity... All good.\nUncompressing VirtualBox 6.1.26 Guest Additions for Linux........\nVirtualBox Guest Additions installer\nCopying additional installer modules ...\nInstalling additional modules ...\nVirtualBox Guest Additions: Starting.\nVirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel \nmodules.  This may take a while.\nVirtualBox Guest Additions: To build modules for other installed kernels, run\nVirtualBox Guest Additions:   \/sbin\/rcvboxadd quicksetup &lt;version&gt;\nVirtualBox Guest Additions: or\nVirtualBox Guest Additions:   \/sbin\/rcvboxadd quicksetup all\nVirtualBox Guest Additions: Building the modules for kernel 5.10.0-8-amd64.\nupdate-initramfs: Generating \/boot\/initrd.img-5.10.0-8-amd64\nVirtualBox Guest Additions: Running kernel modules will not be replaced until \nthe system is restarted\n<\/code><\/pre>\n\n\n\n<p>Once the installation is done, restart your virtual machine in order to reload the kernel modules.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl reboot -i<\/code><\/pre>\n\n\n\n<p>Once the system reboots, it should boot to full-screen mode.<\/p>\n\n\n\n<p>If the screen dont automatically switch to full screen upon boot or login, toggle the <strong>View option &gt; Auto-resize Guest Display<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1917\" height=\"1011\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-virtualbox-fullscreen.png\" alt=\"\" class=\"wp-image-10084\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-virtualbox-fullscreen.png?v=1629284748 1917w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-virtualbox-fullscreen-768x405.png?v=1629284748 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/08\/debian-11-virtualbox-fullscreen-1536x810.png?v=1629284748 1536w\" sizes=\"(max-width: 1917px) 100vw, 1917px\" \/><\/figure>\n\n\n\n<p>Uninstall, for some reasons, you can always uninstall Guest Additions using the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sudo sh \/mnt\/VBoxLinuxAdditions.run uninstall<\/code><\/pre>\n\n\n\n<p>Well, that is all on how to install VirtualBox Guest Additions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials;<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install VirtualBox Guest Additions on Rocky Linux 8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-rocky-linux-8-on-virtualbox\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Rocky Linux 8 on VirtualBox<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-on-ubuntu-21-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install VirtualBox on Ubuntu 21.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You might have installed Debian 11 Bullseye on VirtualBox, and realized that it is not in full-screen view by default. If you need to set<\/p>\n","protected":false},"author":3,"featured_media":10076,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[3963,3961,3960,3962],"class_list":["post-10080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-debian-11-guest-additions","tag-debian-11-guest-additions-virtualbox","tag-install-guest-additions-on-debian-11","tag-install-virtualbox-guest-additions-on-debian-11","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10080"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=10080"}],"version-history":[{"count":5,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10080\/revisions"}],"predecessor-version":[{"id":21691,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10080\/revisions\/21691"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/10076"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=10080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=10080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=10080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}