Page 1 of 1

Fedora virtualbox guest additions failure

Posted: 8. Apr 2021, 07:42
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

Re: Fedora virtualbox guest additions failure

Posted: 8. Apr 2021, 22:17
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.

Re: Fedora virtualbox guest additions failure

Posted: 9. Apr 2021, 09:11
by kkshethin
sudo dnf erase virtualbox-guest-additions

Re: Fedora virtualbox guest additions failure

Posted: 11. Apr 2021, 00:43
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

Re: Fedora virtualbox guest additions failure

Posted: 11. Apr 2021, 17:36
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 :)

Re: Fedora virtualbox guest additions failure

Posted: 12. Apr 2021, 15:20
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

Re: Fedora virtualbox guest additions failure

Posted: 12. Apr 2021, 15:29
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.