BBOX 3.05 + Linux headers / error in Virtual Box

Started by TAPE, May 23, 2013, 03:19:06 PM

Previous topic - Next topic

TAPE

Hey Guys,


Just finished installing BBOX in VM in VirtualBox., it looks slick as always, nice going ! ;)

I had a problem however when trying to install the guest additions in VirtualBox to allow for
correct resizing etc.
When trying to run I was confronted with message that the Headers for the current kernel were not found

apt-get gets stuck on 'Waiting for Headers'

Is there a simple solution to this issue ?

Thanks ! - TAPE

ostendali

Quote from: TAPE on May 23, 2013, 03:19:06 PM
Hey Guys,


Just finished installing BBOX in VM in VirtualBox., it looks slick as always, nice going ! ;)

I had a problem however when trying to install the guest additions in VirtualBox to allow for
correct resizing etc.
When trying to run I was confronted with message that the Headers for the current kernel were not found

apt-get gets stuck on 'Waiting for Headers'

Is there a simple solution to this issue ?

Thanks ! - TAPE
you are asking a question that you answering yourself.
So the question is, what are the headers?
Do you have idea about or you need us to help you out?

In case you do not know what are they please read carefully the forum disclaimer before asking such questions.

A: install the kernel headers :)

TAPE

I never pose a query without having tried the solutions found with teh evil google myself..

So yes, I am requesting help, is that OK ?

When trying to install headers it failed, as I assume there will be quite a few among us that
try this distro out on a VM, I did not feel it fell outside of the usual questioning that could
be posed on these forums..

Excuse me if I was incorrect in that assumption..
(as we all know well, assumptions are the mother of all Fuck Ups.. )

If there is a kind soul that would be able to spend a minute or two possibly required in
assisting me with this error, then it would be greatly appreciated, if not, well then back to
the drawing board it is for me..

weVeg

#3
first you have to know the version of your kernel, open a terminal and type:
uname -r
after that you can install your header, with apt:
apt-get install linux-header-"version_found_prev"

what you are asking, is part of "normal administration" (the very very very base) so it's logic to think that your actual knowledge is not enough to use bbox (as you can read on disclaimer page). sorry tape, but ostendali tell you the true, may be he didn't use polite words, but it's the true.... also cause your question is simple to find in google, I repeat: is the base of administration knowing this stuff.....
Have a nice day!
una voce libera è sempre liberatrice
under_r00t

TAPE

Thank you for your reply weVeg,

I had tried that and have gotten the same error message on missing headers, even though it seemed to install OK,
however on reboot I was presented with a command line only interface..

Must be royally screwing something up, so will try some more..

Will do some more testing and if succeeding in my endeavours will post back here to at least
have a more constructive post on a possibly more frequent issue.


Thanks -

weVeg

sorry but I don't know what happen.
Being a VM install again your bbox...
una voce libera è sempre liberatrice
under_r00t

TAPE

Oh well, I have tried, but have failed to get the Virtual Machine guest additions installed on a VM of BBOX
with VirtualBox.

The actual distro seems great, no worries whatsoever there, however installing the Guest Additions in the VM
does not work out for me.

I did the following ;

> Installed BBOX on VM with VirtualBox, all running fine.
> Did an apt-get update && apt-get upgrade (both sudo)
> Installed dkms as suggested on VB site
> Rebooted machine as suggested

On reboot all still working well.

Installed linux headers with the information received from a uname -r
Rebooted VM to be sure still working OK, it was.

Tried installing the Guest Additions which all seemed to work well, no errors, however on rebooting
I am not presented with the normal log-in GUI;  it then only runs in command line.


Now please dont get me wrong, and please don't think this is the first time I tried this..
have been happily running BBox and other Linux distros for quite some time now.
(although previously was using VMware Player, maybe I need to retry that avenue..)
Of course I realise that VB issues are not your concern, but it is a widely used virtual machine software
and as such possibly interesting for you to note issues that some 'n00bs' are having..


I am just not understanding what is going wrong when this has never been an issue
with previous versions of BBOX, it is more than likely something I am doing wrong, for
the life of me though, I cannot figure out what..

Will have a shot at VMware Player and revert at a later date in this post.

ZEROF

#7
TAPE you are not logic, but ok.

sudo apt-get install linux-headers-$(uname -r)

Then :

sudo apt-get install virtualbox-guest-additions libvncserver0-dbg vde2

And try with other kernel version if you have problems: http://forum.backbox.org/howtos/upgrade-backbox-3-05-kernel-to-3-5-or-3-8-1-min-job/

I tested install with kernel 3.5 and i don't have (0) install errors.

Keep me posted !

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

TAPE

Thanks for your reply ZEROF :)

Regret to say still having trouble with the VBox guest additions..

It works fine in VMware Player, so guess that is where I will run it for the time being until I figure out
what I am doing wrong.. !

Just out of interest, which Linux OS do you choose when installing in VBox ?

ZEROF

#9
I made small video TAPE, hope that this will help you. I will send you PM when upload is done.

EDIT: Check pm, watch video and see what was wrong in your settings. Post me back, like that i can get your solution too.

Cheers !

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

TAPE

Thanks for your time and patience ZEROF :)
But F!!k me, I am going to be one of those people with inexplicable problems :)
The installation of the drivers failed ;



I had actually followed your advice from last night and had come to the same point as in your video,
(despite the typoes on vnc ;) )
So the installation runs and some errors are given but otherwise OK.

And although the rest of the installation procedure as described in your video works it should
I am still unable to do the usual resizing etc as I need in VB.

Dont sweat it anymore, I will either continue to toy around with VB or will only run BBOX in VMWare Player which doesnt
have this issue for me.


Thanks for your time ZEROF !

ZEROF

#11
We are doing something wrong, i have same issue with driver installation, and when i try manual install i get message that driver is installed lol. This is why we hate or love Linux, we try to find solution lol :)

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

TAPE

F*ck Yeah !

Somehow, after having chatted with you on IRC, something worked... the only thing is I am not 100% sure what helped the issue, but
anyway, this is what I did  ;

This done on the VBOX VM as seen in previous screenshot, following the information that you provided earlier ;

We were talking about nvidia cards possibly being an issue, so I updated the drivers to the latest ones which had just been released today
(version 320.18)

After having updated nvidia drivers in my host OS (win 7) I booted up BBOX in VB and decided to try and install the Guest Additions again.
Seemed to install without errors.. Surprisingly..

Rebooted fully expecting bbox to crash and burn on reboot and only allow terminal mode,. but no.. it booted !

So decided to try and see whether I could / should install the linux headers.
So I did an apt-get update && apt-get upgrade (was upto date)
then did an apt-get install linux-headers-3.2.0-44-generic

Did a reboot of BBOX again expecting it to be FUBARRED... but ..
It booted ! Fine !   tried a resize.. F*ck me.. it worked ! Copy / Paste also works.. thank God..



This was all done on my desktop, I will try again on my laptop and see if ther eis a sequence best followed for this VBox install..
If that craps out on me, then screw it ... ;)

raffaele

Simple how-to:


  • Install BackBox 3.05 and reboot
  • sudo apt-get update
  • sudo apt-get dist-upgrade
  • Reboot
  • sudo apt-get install linux-headers-generic
  • Install VB Guest Additions

Done! ;)
raffaele@backbox:~$ Get root or die tryin'

TAPE

Quote from: raffaele on May 24, 2013, 04:43:20 PM
Simple how-to:


  • Install BackBox 3.05 and reboot
  • sudo apt-get update
  • sudo apt-get dist-upgrade
  • Reboot
  • sudo apt-get install linux-headers-generic
  • Install VB Guest Additions

Done! ;)

Hey raffaele,

Thanks yours ! I was just going to confirm that I got it working with ;
> Install BBOX in VBox as normal
> Reboot
> Tried to install drivers notified as being available --> failed
   advice given to reboot, so
> Reboot
> apt-get update && apt-get upgrade
> Reboot
> apt-get install linux-headers-$(uname -r)
Reboot and for me now the resizing, copy / paste etc works :D

Am a happy camper again !

Many thanks for the time and info given here on this issue !