"Install Guest Additions" fail in Debian guest on Mac OsX

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
dokondr
Posts: 8
Joined: 21. Jan 2012, 21:33
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 6, WinXP

"Install Guest Additions" fail in Debian guest on Mac OsX

Post by dokondr »

Hi all,

I am running Debian 6.0.3 Guest on Mac OsX Snow Leopard Host in VirtualBox 4.1.8.
From VirtualBox "Devices / Install Guest Additions " menu I have managed to mount Guest Additions iso in Debian guest.
Yet, it did not autorun, and even on root account I could not start any shell script from this volume.
After that I just copied all files from mounted Guest Additions to tmp, changed script permission and finally run VBoxLinuxAddition.run script.
This script reported failure of some of its tasks, yet luckily for me installed display drivers in Debian 6.0.3 guest successfully.
Now I run Debian guest on Mac OsX Snow Leopard both in Auto-resize and Fullscreen mode.
Other "Guest Additions" modules failed, for example "Shared Folders" dose not work.

Is it a bug, or am I doing something wrong?
Thanks!
Dmitri
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by Sasquatch »

If the video module installed correctly, then shared folders should work as well. Check out my two tutorial about installing the GA and using Shared Folders.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dokondr
Posts: 8
Joined: 21. Jan 2012, 21:33
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 6, WinXP

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by dokondr »

Sasquatch wrote:If the video module installed correctly, then shared folders should work as well. Check out my two tutorial about installing the GA and using Shared Folders.
In my case:
1) GA image was mounted "noexec" from "Devices / install GA"
2) After coping to normal folder GA volume, and set 'x' mode on VBoxLinuxAdditions.run, then running it - video istaled but shared folders not.

Following your tutorials I get:
"""""""""""""""""""""
/home/dokondr# apt-get install dkms build-essential linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
""""""""""""""""""""

What's wrong?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by Sasquatch »

My guide states to change the kernel name to whatever flavour you have. Debian doesn't use -generic, -server, etc. The kernel on Debian is linux-headers-amd64 or linux-headers-i386, depending on your architecture.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dokondr
Posts: 8
Joined: 21. Jan 2012, 21:33
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 6, WinXP

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by dokondr »

Sasquatch wrote:My guide states to change the kernel name to whatever flavour you have. Debian doesn't use -generic, -server, etc. The kernel on Debian is linux-headers-amd64 or linux-headers-i386, depending on your architecture.
Thanks, got that.
Another issue remains: why GA image gets mounted "noexec" from "Devices / install GA" ?
dokondr
Posts: 8
Joined: 21. Jan 2012, 21:33
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 6, WinXP

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by dokondr »

Sasquatch wrote:My guide states to change the kernel name to whatever flavour you have. Debian doesn't use -generic, -server, etc. The kernel on Debian is linux-headers-amd64 or linux-headers-i386, depending on your architecture.
Alas linux-headers-amd64 or linux-headers-i386 do not work also:

root@debian:/home/dokondr# apt-get install linux-headers-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-amd64
root@debian:/home/dokondr# apt-get install linux-headers-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-i386
root@debian:/home/dokondr#
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by Sasquatch »

If amd64 doesn't work, then it means you're not running the 64 bit edition. You never specified which you ran, 64 bit or 32 bit. For 32 bit, it's either linux-headers-686-pae or linux-headers-486. You can see with the command 'uname -r'.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dokondr
Posts: 8
Joined: 21. Jan 2012, 21:33
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Debian 6, WinXP

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by dokondr »

Sasquatch wrote:If amd64 doesn't work, then it means you're not running the 64 bit edition. You never specified which you ran, 64 bit or 32 bit. For 32 bit, it's either linux-headers-686-pae or linux-headers-486. You can see with the command 'uname -r'.
Still no luck:

dokondr@debian:~$ uname -r
2.6.32-5-amd64
dokondr@debian:~$ su
Password:
root@debian:/home/dokondr# apt-get install linux-headers-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-686-pae
root@debian:/home/dokondr# apt-get install linux-headers-486
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-486
root@debian:/home/dokondr# apt-get install linux-headers-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-amd64
root@debian:/home/dokondr# apt-get install linux-headers-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-i386
root@debian:/home/dokondr#

** Notwithstanding:
On Mac OSX everything works: X11 display adjustments work and shared folder gets mounted correctly!
** No such luck with Ubuntu: X11 display adjustments work and shared folder mounting fails.
(see my other message:
viewtopic.php?f=7&t=47518&p=214929#p214929
)
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by stefan.becker »

Why not using Synaptic to install the packages. Probably its only a typo. In Synaptic you can search for packages.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: "Install Guest Additions" fail in Debian guest on Mac Os

Post by Sasquatch »

I think he crossposts his problem in another thread too. I bet he didn't update his package list.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply