Fedora virtualbox guest additions failure

Discussions about using Linux guests in VirtualBox.
Post Reply
kkshethin
Posts: 21
Joined: 8. Feb 2011, 07:14
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Fedora/Mac/Windows

Fedora virtualbox guest additions failure

Post by kkshethin »

I have fedora 33 (x86_64) as guest in windows 10 host.
I already remove preinstalled fedora-guest-additions.
When i try to install guest additions from devices>install guest additions it fails with message to look up what went wrong /var/log/vboxadd-setup.log.
log file attached.
I have installed all requisite packages like time, make perl, dkms, kerne-headers kernel-devel, gcc etc.
This happended to me in fedora cinnamon spin as well as in fedora mate-compiz spin.
Kernel is latest 5.11.11-200.fc33.x86_64
Attachments
vboxadd-setup.log
(13.56 KiB) Downloaded 47 times
cuppettcj
Posts: 1
Joined: 8. Apr 2021, 22:13

Re: Fedora virtualbox guest additions failure

Post by cuppettcj »

Thank you for posting this. I get almost the exact same error with Fedora 32 LXQt spin guest in Windows 10 host and was just about to create a post for this. Can I ask how you removed the preinstalled fedora-guest-additons? I didn't do this step, but I do remember the console output saying it was removing the previous version of guest-additions before trying to install the latest.
kkshethin
Posts: 21
Joined: 8. Feb 2011, 07:14
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Fedora/Mac/Windows

Re: Fedora virtualbox guest additions failure

Post by kkshethin »

sudo dnf erase virtualbox-guest-additions
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Fedora virtualbox guest additions failure

Post by scottgus1 »

Don't forget the prerequisites for the GAs, same in a Linux VM as for Virtualbox on a Linux host PC:
https://www.virtualbox.org/manual/ch02. ... nux-prereq
jrc55
Posts: 62
Joined: 7. Jan 2012, 20:36
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: winxp, fedora16

Re: Fedora virtualbox guest additions failure

Post by jrc55 »

The Vbox 6.1.18 is not compatible with Linux 5.11. It's fixed in the Vbox test build but those do not work for a WIN10 host with a motherboard that has UEFI enabled. That's just the way VBox makes the test builds. I don't know why. That said ... I am curious as to why. So if anyone knows why I'd like to hear it ... but it's no big deal to me :)
kkshethin
Posts: 21
Joined: 8. Feb 2011, 07:14
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Fedora/Mac/Windows

Re: Fedora virtualbox guest additions failure

Post by kkshethin »

scottgus1 wrote:Don't forget the prerequisites for the GAs, same in a Linux VM as for Virtualbox on a Linux host PC:
https://www.virtualbox.org/manual/ch02. ... nux-prereq
please reread my message. I have already done that
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Fedora virtualbox guest additions failure

Post by scottgus1 »

kkshethin wrote:I have installed all requisite packages like time, make perl, dkms, kerne-headers kernel-devel, gcc etc.
OK, I missed that. Many Linux folks don't install the prerequisites, so I have been suggesting it a lot.

On the other hand, Virtualbox Guest Additions don't use dkms. The link I posted doesn't mention dkms as a prerequisite.
Post Reply