{"id":5323,"date":"2020-03-29T22:26:19","date_gmt":"2020-03-29T19:26:19","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5323"},"modified":"2024-03-14T19:48:07","modified_gmt":"2024-03-14T16:48:07","slug":"install-virtualbox-guest-additions-on-fedora-31-32","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-fedora-31-32\/","title":{"rendered":"Install VirtualBox Guest Additions on Fedora 31\/32"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install VirtualBox Guest Addition on Fedora 31\/32. When installed on a VirtualBox, Fedora VM doesn&#8217;t display in full-screen view by default neither does the vm support other important features. VirtualBox Guest additions provides quite a number of features;<\/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>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<h2 class=\"wp-block-heading\">Installing VirtualBox Guest Additions on Fedora<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Add an Empty Optical Drive to VM<\/h3>\n\n\n\n<p>In order to be able to install the Guest Additions, ensure that you have an empty optical drive attached to the virtual machine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install Kernel Headers and Required Build Tools<\/h3>\n\n\n\n<p>Installation of VirtualBox guest additions requires that the kernel headers for the target system kernel be installed. To simplify kernel upgrades, you need to install Dynamic Kernel Module Support (DKMS).<\/p>\n\n\n\n<p>Therefore, run the command below to install DKMS, Kernel development package and other required build tools;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install dkms kernel-devel gcc make bzip2 perl<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Installed Kernel Headers<\/h3>\n\n\n\n<p>Once the installation of the kernel build tools above is done, verify that the version of the running kernel headers matches the version of the installed kernel development (<code><strong>kernel-devel<\/strong><\/code>) tool installed.<\/p>\n\n\n\n<p>To check the version of the running kernel;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>hostnamectl | grep Kernel<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><strong>Kernel: Linux 5.3.7-301.fc31.x86_64<\/strong><\/code><\/pre>\n\n\n\n<p>Check version of installed kernel;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rpm -qa kernel-devel<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><strong>kernel-devel-5.5.11-200.fc31.x86_64<\/strong><\/code><\/pre>\n\n\n\n<p>If the versions match, proceed to install VirtualBox guest additions.<\/p>\n\n\n\n<p>If they do not match as in our case above, update your kernel headers;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf update kernel-*<\/code><\/pre>\n\n\n\n<p>Once the update is done, <strong>reboot the system<\/strong> and re-verify the kernel versions;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>uname -r<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><strong>5.5.11-200.fc31.x86_64<\/strong><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rpm -qa kernel-devel<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>kernel-devel-<strong>5.5.11-200.fc31.x86_64<\/strong><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Installing VirtualBox Guest Additions on Fedora<\/h3>\n\n\n\n<p>You can now proceed to install Guest Additions on your VM. The installation can be done from the terminal or from the graphical user interface.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Install Guest Additions via the GUI<\/h4>\n\n\n\n<p>Click&nbsp;<strong>Devices<\/strong>&nbsp;&gt;&nbsp;<strong>Insert Guest Additions CD image<\/strong>&nbsp;on the VM Menu bar to mount the VirtualBox guest addition disk file.<\/p>\n\n\n\n<p>You are prompted whether to automatically run the installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"597\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/install-guest-additions.png\" alt=\"install VirtualBox Guest Additions on Fedora 31\/32\" class=\"wp-image-5326\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/install-guest-additions.png?v=1585503586 795w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/install-guest-additions-768x577.png?v=1585503586 768w\" sizes=\"(max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p> Click <strong>Run<\/strong>. Authorize the installation by authenticating as the user with privileges to run the installer to proceed with installation.<\/p>\n\n\n\n<p>Restart the system to apply the changes by clicking on the dropdown button at the top right corner close to the battery icon &gt; power button &gt; restart system.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"238\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/03\/restart-system.png\" alt=\"\" class=\"wp-image-5327\" title=\"\"><\/figure><\/div>\n\n\n<p>And boom, you are now on Fedora 31\/32 full screen on VirtualBox.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Install Guest Additions via the Terminal<\/h4>\n\n\n\n<p>To install VirtualBox guest additions via the terminal, insert the Guest Addition iso file as done above and when prompted on whether to automatically run the installation, simply cancel the installer.<\/p>\n\n\n\n<p>Next, mount the guest additions iso file on your preferred directory, for example, <code>\/run\/media\/<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mount \/dev\/cdrom \/run\/media\/<\/code><\/pre>\n\n\n\n<p>This will mount the guest addition installers under the&nbsp;<code>\/run\/media\/<\/code>&nbsp;directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ls \/run\/media\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>AUTORUN.INF  NT3x          TRANS.TBL                          VBoxLinuxAdditions.run          VBoxWindowsAdditions.exe\nautorun.sh   OS2           VBoxDarwinAdditions.pkg            VBoxSolarisAdditions.pkg        VBoxWindowsAdditions-x86.exe\ncert         runasroot.sh  VBoxDarwinAdditionsUninstall.tool  VBoxWindowsAdditions-amd64.exe<\/code><\/pre>\n\n\n\n<p>Execute the Linux Guest Additions installer;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/run\/media\/VBoxLinuxAdditions.run<\/code><\/pre>\n\n\n\n<p>Once the installation completes, restart the system to effect the changes. When the system boots, you should now be on full screen.<\/p>\n\n\n\n<p>That marks the end of our guide on how to installing VirtualBox Guest Additions on Fedora.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-ubuntu-20-04\/\" target=\"_blank\">Install VirtualBox Guest Additions on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-centos-8\/\" target=\"_blank\">Install VirtualBox Guest Additions on CentOS 8<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-debian-10-buster\/\" target=\"_blank\">Install VirtualBox Guest Additions on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install VirtualBox Guest Additions on Ubuntu 18.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install VirtualBox Guest Addition on Fedora 31\/32. When installed on a VirtualBox, Fedora VM doesn&#8217;t<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,46,36],"tags":[954,1391,1392,1233,1390],"class_list":["post-5323","post","type-post","status-publish","format-standard","hentry","category-howtos","category-virtualbox","category-virtualization","tag-guest-additions","tag-guest-additions-fedora-31-fedora-32-fedora-30","tag-install-guest-additions-on-fedora-31-32","tag-virtualbox-6-1","tag-virtualbox-guest-additions-fedora","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5323"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=5323"}],"version-history":[{"count":5,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5323\/revisions"}],"predecessor-version":[{"id":21334,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5323\/revisions\/21334"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=5323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=5323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=5323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}