Fedora virtualbox guest additions failure

Discussions about using Linux guests in VirtualBox.

Fedora virtualbox guest additions failure

Postby kkshethin » 8. Apr 2021, 07:42

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 17 times
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

Postby cuppettcj » 8. Apr 2021, 22:17

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.
cuppettcj
 
Posts: 1
Joined: 8. Apr 2021, 22:13

Re: Fedora virtualbox guest additions failure

Postby kkshethin » 9. Apr 2021, 09:11

sudo dnf erase virtualbox-guest-additions
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

Postby scottgus1 » 11. Apr 2021, 00:43

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
scottgus1
Site Moderator
 
Posts: 13050
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Fedora virtualbox guest additions failure

Postby jrc55 » 11. Apr 2021, 17:36

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 :)
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

Postby kkshethin » 12. Apr 2021, 15:20

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
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

Postby scottgus1 » 12. Apr 2021, 15:29

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.
scottgus1
Site Moderator
 
Posts: 13050
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to Linux Guests

Who is online

Users browsing this forum: Google [Bot] and 13 guests