Problem with Guest Additions

Discussions about using Linux guests in VirtualBox.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I tried to create a new virtual machine with ubuntu mate but you can not install guestaddition, attached image. You do not even install the programs required by the procedure.
Attachments
Schermata.png
Schermata.png (79.49 KiB) Viewed 4551 times
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I install VM 5.2.2 and related extension but the situation is identical. VM doesn't work correctly and function shared folders and other are inhibited. I don't known... :(
By driver 5.1.30 the machine work. I will wait for the new versions of guest addition.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Problem with Guest Additions

Post by Perryg »

Your failure to build is due to missing packages still. No matter what version you try this must be fixed first. You need the linux-headers that match your running kernel and also build-essential. Previously you ran into an issue that the guest was in a non-stable state and needed repairing, but since you have started over that may not be the same now so install the required packages and try again.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I tried again with all the packages installed but they do not work yet.
I use 5.2.4 guest addition by 5.2.4 vm.
Bye.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Problem with Guest Additions

Post by Perryg »

Each time you try something and it fails you need to provide some diagnostic information or no one can help you figure out what to do. The terminal information you provided earlier and the /var/log/vboxadd-install.log are the minimal requirements.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I attach zip file. See you.
Attachments
Log-VboxAdd.zip
Log
(2.1 KiB) Downloaded 18 times
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I install the last virtualbox version and guest addition. Into vboxadd-install.log there is not data. I attach zip file. Most function doesn't work.
See you.
Attachments
vboxadd-install.log
(42 Bytes) Downloaded 15 times
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I add log machine.
Attachments
Log-machine.log.zip
(32.03 KiB) Downloaded 17 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Problem with Guest Additions

Post by socratis »

00:00:26.060453 VMMDev: Guest Additions information report: Version 5.1.28 r117968 '5.1.28_Ubuntu'
You didn't actually install the additions, you still have the old ones, the ones that came in with your guest. Not only that, you have the ones provided by Ubuntu, the forked ones. You need to remove/delete/uninstall/purge them and install the official ones.

First of all, eject anything from your virtual CD drive. It's not a good idea to keep things inserted when you don't need them. After uninstalling the GAs that are already installed, download the 5.2.6 updated GAs ISO from the Downloads page (VBoxGuestAdditions_5.2.7-120326.iso). Mount that ISO to your VM and install the GAs.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
irotsoma
Posts: 3
Joined: 16. Jan 2013, 08:53

Re: Problem with Guest Additions

Post by irotsoma »

I was able to fix this same error finally with Xubuntu by updating to the latest version of the kernel (currently 4.14.15 using ukuu. Seems there's some sort of problem with 4.13 and the latest VBox guest additions. Note, that I also had to install libelf-dev if you don't already have it. Not sure it will work as well with Ubuntu Mate, but worth a try. Here are the steps:

1. Uninstall VBox Guest Additions (from terminal in VBox mount location type "VBoxLinuxAdditions.run uninstall"
2. install ukuu from the ppa (instructions are here: https://github.com/teejee2008/ukuu)
3. install libelf-dev (if you don't already have it)
4. Run ukuu and install the latest kernel version available (note this may cause some issues and you may have to try more than one, but 4.14.15 is working fine for me in VBox)
5. Reboot into the new kernel
6. Reinstall VBox Guest Additions

Disclaimer: note there are risks to adding a ppa, though this one has always been reliable for me. There are other ways to update the kernel if you need a more secure environment, ukuu is just easy. You can always remove the ppa after getting ukuu or build ukuu yourself from sources.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I tried but it did not work. Bye.
Last edited by socratis on 30. Jan 2018, 16:48, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

Error message
Error message
1.png (17.22 KiB) Viewed 4018 times
Also the guestaddition version 5.2.8 do not work.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

Log
Attachments
Log.zip
Log
(2.16 KiB) Downloaded 16 times
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: Problem with Guest Additions

Post by andyp73 »

Your log file contains several entries of the form:
/bin/sh: 1: gcc: not found
It looks like you don't have the compilation tools installed.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
boxino
Posts: 135
Joined: 24. Nov 2016, 12:04

Re: Problem with Guest Additions

Post by boxino »

I installed gcc and the guest additions installed correctly. Not all functions are still operational. Copy and paste two-way does not work but support for folders goes.
I attach log. See you :!:
Attachments
VBInstallGuestAdd.zip
Log and image
(176.65 KiB) Downloaded 18 times
Post Reply