Page 1 of 1
Unable to install Guest Additions
Posted: 17. Aug 2015, 04:39
by jcdammeyer
I'm running Windows 7 on a laptop. I have VirtualBox 5.02 installed and I am running a Debian 64 version of Linux. I've attached 3 screen grabs that show my problem. Although the Guest Additions .iso file is mounted and readable and the auto run shell starts it crashes with a file not found error.
What do I need to do to get it to run? Is there a log file with a clue?
Thanks
John
Re: Unable to install Guest Additions
Posted: 17. Aug 2015, 10:08
by mpack
Please provide a VM log file: with the VM fully shut down, right click it, save "VBox.log" (ONLY) to a zip, and attach the zip here.
Re: Unable to install Guest Additions
Posted: 18. Aug 2015, 08:07
by jcdammeyer
Thank you. Attached is the zip.
Re: Unable to install Guest Additions
Posted: 18. Aug 2015, 09:57
by noteirak
In the guest, what is the output of the following commands:
Code: Select all
cat /etc/issue
cat /etc/debian_version
uname -a
Re: Unable to install Guest Additions
Posted: 18. Aug 2015, 14:01
by Perryg
Code: Select all
00:02:29.610313 supR3HardenedErrorV: supR3HardenedScreenImage/LdrLoadDll: rc=VERR_LDRVI_NOT_SIGNED fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume3\Program Files (x86)\ASUS\WebStorage Sync Agent\1.1.18.159\AsusWSShellExt64.dll: Not signed.
You should ask asus to sign their file, but I don't suspect this being your issue.
Open a terminal in the guest and install the guest additions from there. Run as su/sudo.
Re: Unable to install Guest Additions
Posted: 19. Aug 2015, 01:56
by jcdammeyer
This problem seems to have gotten more complicated. On my workstation in the past I have been able to set the VBGuestEditions.iso file in Devices|Optical Drives. When I do that it ran and worked fine for installing. At least no errors reported. And from my workstation I can access my windows network.
However today, it fails in the same manner as the laptop. I can still access the windows network but I get the same not found error when I mount the .iso. And cut and paste between the VM Guest and the host doesn't work either.
/etc/debian_version == 8.1
/etc/issue == Debian GNU/Linux 8 \n \l
How exactly would I run the VMGuestEditions?
See attached screen shot. I can Run Software VBoxLinuxEditions.run and I get the same initial dialog asking am I sure and then the program not found.
From the command line as the root user in /media/cdrom0 ./VboxLinuxAdditions.run I get a permission denied.
I'm guessing I've done something fundamentally wrong. On the workstation I can mount one of my windows machines and drag files from /home to the smb://corsair/projects/beaglebone
On the laptop I can't even access the windows network. Both machines are WIN7 Pro. Both used the same set of install files and VM images.
Code: Select all
total 51011
dr-xr-xr-x 6 root root 2048 Aug 13 09:32 .
drwxr-xr-x 3 root root 4096 Aug 15 16:35 ..
dr-xr-xr-x 2 root root 2048 Aug 13 09:32 32Bit
dr-xr-xr-x 2 root root 2048 Aug 13 09:32 64Bit
-r-xr-xr-x 1 root root 647 Sep 2 2014 AUTORUN.INF
-r-xr-xr-x 1 root root 6964 Aug 13 10:29 autorun.sh
dr-xr-xr-x 2 root root 2048 Aug 13 09:32 cert
dr-xr-xr-x 2 root root 2048 Aug 13 09:32 OS2
-r-xr-xr-x 1 root root 5519 Aug 13 10:29 runasroot.sh
-r-xr-xr-x 1 root root 7505343 Aug 13 10:29 VBoxLinuxAdditions.run
-r-xr-xr-x 1 root root 17315840 Aug 13 10:30 VBoxSolarisAdditions.pkg
-r-xr-xr-x 1 root root 16891568 Aug 13 10:30 VBoxWindowsAdditions-amd64.exe
-r-xr-xr-x 1 root root 312384 Aug 13 10:27 VBoxWindowsAdditions.exe
-r-xr-xr-x 1 root root 10180352 Aug 13 10:28 VBoxWindowsAdditions-x86.exe
Re: Unable to install Guest Additions
Posted: 19. Aug 2015, 01:59
by noteirak
open a terminal, cd to the mounted folder for the CD and then type:
Re: Unable to install Guest Additions
Posted: 19. Aug 2015, 04:14
by jcdammeyer
Almost but not quite there yet.
My Debian doesn't like sudo.
So instead I su root and login. Below is what follows:
Code: Select all
root@debianFlipper:/media/cdrom0# sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.2 Guest Additions for Linux............
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Installing X.Org Server 1.16 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the the Window System (or just restart the guest system)
to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
root@debianFlipper:/media/cdrom0#
And here is /var/log/vboxadd-install.log
Code: Select all
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
So to install guest additions I have to have the OS source installed? A bit of google work brings up this link.
https://www.garron.me/en/go2linux/how-i ... buntu.html
As always I'm hesitant to start pressing buttons so to speak in hopes that it will work.
Thanks
Re: Unable to install Guest Additions
Posted: 19. Aug 2015, 13:13
by noteirak
Just have a look at our dedicated
HowTo on the forum.
Re: Unable to install Guest Additions
Posted: 19. Aug 2015, 17:53
by jcdammeyer
My solution so far.
1. Start over and install new downloaded copy of debian-8.1.0-amd64-netinst.iso
2. The point of this whole exercise is to be able to cross compile for the ARM on the BeaglBone Black so
http://exploringbeaglebone.com/chapter3/ has a set of instructions on installing guest additions;
su - doesn't work since I have a password set up for root. Easier to su root, enter password, cd ~ I mounted the Guest Additions .iso on the cdrom and as before that failed. I then did the following from the Chapter 3 page.
Code: Select all
molloyd@debian:~$ su -
root@debian:~# apt-get update
root@debian:~# apt-get install build-essential module-assistant
root@debian:~# m-a prepare
root@debian:~# cd /media/cdrom
root@debian:~# sh ./VBoxLinuxAdditions.run
root@debian:~# reboot
4. To test if it worked I first shutdown both Linux and then VM. Started it all up. Set the flags for cut and paste and drag and drop. Shut it all down and restarted.
5. Under VM Devices|SharedFolders|Shared Folders Settings... I no longer get the message that Guest Additions isn't installed. I can cut and paste in both directions from WIndows to Debian and back.
6. I then followed the instructions and installed the Cairo-Dock which installed without issues and is enabled in Startup.
So thanks everyone for trying to help.
Final problem where the laptop is different from the works station is in access to the Windows Network. I can set up shares by adding smb://Coarsair/ which is how I dragged and dropped a screen capture. But it won't bring up a map of the network. So odd that on one system the behavior is different from another one. Odds are it's something at the Windows Network level that's different. Any suggestions are welcome.
John