Old version of guest additions--how to remove?

Discussions about using Linux guests in VirtualBox.

Old version of guest additions--how to remove?

Postby RoyG » 5. May 2021, 17:21

Environment: Windows 10 host, Ubuntu 16.04 guest.

The guest additions stopped working for me recently. I upgraded all the Ubuntu packages, and upgraded VirtualBox to 6.1.22. Nothing I did helped.

I uninstalled the guest additions, rebooted the guest from a cold start and found this line in the VBox.log:

00:00:20.514468 VMMDev: Guest Additions information report: Version 5.0.18 r106667 '5.0.18_Ubuntu'

Does this mean I have an ancient version of the guest additions somewhere hiding in my Ubuntu setup? Does anyone know where it is and how to get rid of it?

Thanks.

Full VBox.log attached. Note this is after removing the guest additions from the guest, and making sure that no other virtualbox packages from Ubuntu were installed.
Attachments
VBox.zip
VBox.log from cold boot to shutdown without guest additions installed
(35.71 KiB) Downloaded 2 times
RoyG
 
Posts: 15
Joined: 18. Mar 2019, 22:14

Re: Old version of guest additions--how to remove?

Postby mpack » 5. May 2021, 17:42

Not a "Windows Hosts" question. The question concerns the guest, therefore I'll move the topic to "Linux Guests".
mpack
Site Moderator
 
Posts: 33906
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Old version of guest additions--how to remove?

Postby fth0 » 5. May 2021, 18:26

RoyG wrote:Does this mean I have an ancient version of the guest additions somewhere hiding in my Ubuntu setup? Does anyone know where it is and how to get rid of it?

Part of the VirtualBox Guest Additions are Linux kernel modules, and an old version (*) of those is usually part of the Ubuntu linux-modules-* packages, which are installed by default. You can find them with find /lib/modules -name "vbox*" and remove them. Note that they will naturally reappear with later Linux kernel updates.

(*) In todays Linux distributions, the ancient version is sometimes 6.0.0, BTW.
fth0
Volunteer
 
Posts: 1969
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: Old version of guest additions--how to remove?

Postby RoyG » 5. May 2021, 19:09

fth0 wrote:
RoyG wrote:Does this mean I have an ancient version of the guest additions somewhere hiding in my Ubuntu setup? Does anyone know where it is and how to get rid of it?

Part of the VirtualBox Guest Additions are Linux kernel modules, and an old version (*) of those is usually part of the Ubuntu linux-modules-* packages, which are installed by default. You can find them with find /lib/modules -name "vbox*" and remove them. Note that they will naturally reappear with later Linux kernel updates.

(*) In todays Linux distributions, the ancient version is sometimes 6.0.0, BTW.


I think that deleted too many things :(

Now the guest additions will no longer build:

Code: Select all   Expand viewCollapse view
VirtualBox Guest Additions installer
Removing installed version 6.1.22 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-4.4.0-210-generic
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.4.0-210-generic.

VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted


and the file /var/log/vboxadd-setup.log just contains this:

Code: Select all   Expand viewCollapse view
Installing X.Org Server 1.18 modules
VBoxClient: info: Try 'VBoxClient --help' for more information
RoyG
 
Posts: 15
Joined: 18. Mar 2019, 22:14

Re: Old version of guest additions--how to remove?

Postby scottgus1 » 6. May 2021, 00:25

Those messages don't look bad to my non-Linux-ish view. Did you try this:
RoyG wrote:Running kernel modules will not be replaced until
the system is restarted
scottgus1
Site Moderator
 
Posts: 12016
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Old version of guest additions--how to remove?

Postby RoyG » 6. May 2021, 18:50

@scottgus1, I've never seen the "what went wrong" message before when building the guest additions, but it seems that maybe they are built now.

I'm still having problems with shared folders not getting mounted, but I will probably open a different question for that.
RoyG
 
Posts: 15
Joined: 18. Mar 2019, 22:14


Return to Linux Guests

Who is online

Users browsing this forum: DaveT2929 and 10 guests