Page 1 of 1

Guest addtions on Debian/Jessie

Posted: 7. Mar 2015, 07:25
by bentwookie
I'm running:
MacOSX 10.10.1
VirtualBox 4.3.22 (4.3.24 breaks my mouse)
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt4-3 (2015-02-03) x86_64 GNU/Linux

I've been using Debian/Jessie with VirtualBox and have been having problems with copy & paste and my resolution is stuck at 1024x768. Figuring this has something to do with guest additions being wrong I tried reinstalling them.

I inserted guest additions cd image and then things go wrong:

# ./VBoxLinuxAdditions.run
sh: 2: ./VBoxLinuxAdditions.run: Permission denied
# sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.22 Guest Additions for Linux............
VirtualBox Guest Additions installer
Copying additional installer modules ...
/bin/bzip2: 1: /bin/bzip2: Syntax error: word unexpected (expecting ")")
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
/bin/bzip2: 1: /bin/bzip2: Syntax error: word unexpected (expecting ")")
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Is something wrong with the included guest image iso? I've tried reinstalling 4.3.22 and that didn't help. Thoughts?

Re: Guest addtions on Debian/Jessie

Posted: 7. Mar 2015, 13:14
by loukingjr
First run…

Code: Select all

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
Then…
1. mount the GA .iso from the Devices menu.
2. in the terminal type or cut and paste…

Code: Select all

sudo bash /media/cdrom0/VBoxLinuxAdditions.run
3. enter password.
4. restart Debian once completed.

Re: Guest addtions on Debian/Jessie

Posted: 8. Mar 2015, 05:52
by bentwookie
Hi. Thanks for the reply.

As it turns out, I must have installed a funky bzip2 (perhaps one meant for my arm cross compiler). I reinstalled bzip2 and the script completed.

Sorry for the noise!

Re: Guest addtions on Debian/Jessie

Posted: 18. Mar 2015, 18:03
by marvelBoy
Thanks it was a great help!
For me just "bash" was missing, I used prevours "sh" instead!

Re: Guest addtions on Debian/Jessie

Posted: 18. Mar 2015, 18:06
by loukingjr
YVW