Guest addtions on Debian/Jessie

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
bentwookie
Posts: 2
Joined: 7. Mar 2015, 07:08

Guest addtions on Debian/Jessie

Post 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?
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Guest addtions on Debian/Jessie

Post 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.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
bentwookie
Posts: 2
Joined: 7. Mar 2015, 07:08

Re: Guest addtions on Debian/Jessie

Post 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!
marvelBoy
Posts: 2
Joined: 18. Mar 2015, 17:55

Re: Guest addtions on Debian/Jessie

Post by marvelBoy »

Thanks it was a great help!
For me just "bash" was missing, I used prevours "sh" instead!
Last edited by marvelBoy on 18. Mar 2015, 18:07, edited 1 time in total.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Guest addtions on Debian/Jessie

Post by loukingjr »

YVW
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply