Page 1 of 1
"Install Guest Additions" fail in Debian guest on Mac OsX
Posted: 21. Jan 2012, 23:34
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
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 21. Jan 2012, 23:38
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.
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 22. Jan 2012, 00:35
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?
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 22. Jan 2012, 15:52
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.
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 23. Jan 2012, 11:31
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" ?
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 23. Jan 2012, 14:51
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#
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 23. Jan 2012, 20:56
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'.
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 26. Jan 2012, 11:19
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
)
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 26. Jan 2012, 20:31
by stefan.becker
Why not using Synaptic to install the packages. Probably its only a typo. In Synaptic you can search for packages.
Re: "Install Guest Additions" fail in Debian guest on Mac Os
Posted: 26. Jan 2012, 21:37
by Sasquatch
I think he crossposts his problem in another thread too. I bet he didn't update his package list.