How to install Virtualbox Guest Additions on Fedora 25

November 24, 2016 | By | 13 Replies More

Fedora 25 has been released recently and most people want to try this new Fedora 25 on their computer via Virtualbox. Unfortunately, Fedora 25 does not shipped with Guest Additions installed, so you won’t get full screen features on your Virtualbox with this Fedora 25 Workstation. And here I want to show you how to fix it by installing Virtualbox Guest Additions on Fedora 25.

If you are willing to run Fedora 25 on Virtualbox as Guest Machine, I suggest you to allocate 5 GB of RAM to Fedora 25 guest machine. It will run faster and smoother.  

Please follow these guide to install Virtualbox Guest Additions on Fedora 25

Step 1. Update Kernel

Execute this command to update your kernel.

update-kernel-fedora-25

Step 2. Reboot Fedora

Step 3. Install required packages

install-kernel-devel-on-fedora-25

Step 4. Mount Virtualbox Guest Additions.

Go to Devices and click Insert Guest Additions CD Images as shown in picture below.

insert-guest-additions

Then you should see a new window opened on your screen and click Run to start the installation.

fedora-25-tutorial

If all goes well, you will see this kind of notification.

guest-additions-success

Reboot Fedora and now you should have a Fedora 25 with Virtualbox Guest Additions installed. Have a try.

This is my Fedora 25 on top of Ubuntu 16.04.

fedora-25-on-ubuntu-16-04

Tags: , ,

Category: Fedora

Comments (13)

Trackback URL | Comments RSS Feed

  1. Richard G. says:

    Is there a minimum version of VBox required? I’m running VBox 5.0.20 and it failed for me. I can’t post/upload my screenshot but the message I got was…

    Building the main Guest Additions module[FAILED]
    (Look at /var/log/vboxadd-install.log to find out what went wrong)

    Looking through the vboxadd-install.log, I can see the build error:
    /tmp/vbox.0/r0drv/linux/timer-r0drv-linux.c: In function ‘rtTimerLnxStartSubTimer’

    implicit declaration of function ‘mod_timer_pinned’

    It’s been many years since I wrote C code. I could probably fix this but if I need to just upgrade my version of VBox, that would be easier.

  2. Richard G. says:

    OK, I upgraded my version of VBox to 5.1.10, matching yours. And I managed to successfully build the vbox additions module(s).

    Unfortunately VBox still uses X.org for it’s graphics library. I was hoping to preview Wayland using VBox. Oh well – will have to wait for VBox to support Wayland I guess.

    Thank you for the article.

  3. sahin says:

    Thank you.

  4. whirlyNerd says:

    I wasn’t able to build the VB Guest additions until I found your post. Running the command to update and install all kernel packages did the trick! Thanks for the post!

  5. Jeff says:

    This method seemed to pooch my VM. I can’t login now. I get a login prompt, but after entering my password the screen goes black then drops back to the login prompt.

    The login prompt screen takes up the whole VB window, so it looks like it’s trying to work. That black screen I mentioned is smaller, about the size of the VM before we tried to install the Guest Additions.

    For the install process I got the same sorts of screens and messages that you got.

    It’s just a test machine so I didn’t lose anything, but it would be nice to get it working.

    I’m running Windows 10 as the host, with Virtualbox Version 5.1.10 r112026 (Qt5.6.2).

  6. Jeff says:

    This method seemed to pooch my VM. I can’t login now. I get a login prompt, but after entering my password the screen goes black then drops back to the login prompt.

    The login prompt screen takes up the whole VB window, so it looks like it’s trying to work. That black screen I mentioned is smaller, about the size of the VM before we tried to install the Guest Additions.

    For the install process I got the same sorts of screens and messages that you got.

    It’s just a test machine so I didn’t lose anything, but it would be nice to get it working.

    I’m running Windows 10 as the host, with Virtualbox Version 5.1.10 r112026 (Qt5.6.2).

    • Ariel says:

      Please note that Virtualbox support to Wayland is not so well. So, make sure you choose Xorg from the login screen.

      • Jeff says:

        You’re probably quite right, Ariel.

        I do an addendum that might be useful, though.

        First off, I saw on other websites that it might be helpful to remove open-vm-tools before attempting to install the guest additions. I did that with a KDE install of Fedora 25 and it seemed to go well. Now whether it was the open-vm-tools removal or the fact that it was KDE and not Gnome that solved the problem, I couldn’t tell you.

        Thanks for your reply, though; it’s something to keep in mind.

  7. IrreleventIdiot(SpeltWrongIKnow) says:

    This worked great for me! Thanks

  8. Rahul says:

    Great tip. I was struggling earlier, but after I followed your posts it worked like a charm.
    Thanks!!

  9. steveo says:

    Works perfect! Thank you.

Leave a Reply