Page 1 of 1

Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 14:56
by batmanzsolti
Hi,

I have a Linux host with a special Linux guest which cannot connect to any network. I tried to install guest-additions with no success, the following message appeared during the execution of the VBoxLinuxAdditions-4.1.8.run:
... Building the VirtualBox Guest Additions kernel modules
The gcc utility was not found. If the following module compilation fails then
this could be the reason and you should try installing it.

The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
zypper install kernel-default-devel-3.0.38-0.5.1.4675.1.PTF

Building the main Guest Additions module failed
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...


The following commands doesn't work on the guest systems (and similar to these):

Code: Select all

zypper update, zypper install gcc, zypper install kernel-syms kernel-source
the output is uname -a command is:
Linux SC-1 3.0.38-0.5.1.4675.1.PTF-default
This Linux guest is able to install .rpm modules.

Is it possible to install gauest additions inside this system?

Thanks

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 16:03
by Perryg
The update nor install commands you are using will not work since you do not have network access. If you have a CD with the packages and point your resource.list to use the CD you could install them. Is the "cannot connect to any network", by design or is that what you are trying to fix?

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 16:06
by sej7278
what is the linux distribution - some sort of opensuse build i guess from use of zypper/rpm ?

have you tried vbox 4.2.6 as it seems you're running a 3.0 kernel it may be better to try a more modern vbox build.

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 17:16
by batmanzsolti
Perryg wrote:The update nor install commands you are using will work since you do not have network access. If you have a CD with the packages and point your resource.list to use the CD you could install them. Is the "cannot connect to any network", by design or is that what you are trying to fix?
This is a very low functionality "hacked" linux what I have to use in my work, so the "cannot connect to any network" is an expected function. I'm not sure CD reading allowed in this system. But I can install rpm packages. The problem is that I dont know exactly which packages I need and where I can download them.

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 17:21
by batmanzsolti
sej7278 wrote:what is the linux distribution - some sort of opensuse build i guess from use of zypper/rpm ?

have you tried vbox 4.2.6 as it seems you're running a 3.0 kernel it may be better to try a more modern vbox build.
As I mentioned it is a low functionality linux, and I have to use vbox 4.1.2.

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 17:40
by Perryg
First we would need to know what the OS is/was before it was stripped.

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 17:41
by Martin
It looks like your Linux is too low functionality ;)
To be able to build the guest additions you need a working development environment, including the correct kernel-devel headers for the running kernel.
These don't seem to exist on your system.

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 17:50
by Perryg
You can see the required packages at the following link:
Howto: Install Linux Guest Additions

Re: Special Linux Guest Additions Installation

Posted: 14. Jan 2013, 18:52
by sej7278
ifs its such a "low functionality linux" then what do you need guest additions for anyway? surely you're not using a graphical desktop on a cut-down linux (so wouldn't need mouse/3d/clipboard)

if you really do need it, then you need to ask your work for support (including internet access via proxy) not us.

Re: Special Linux Guest Additions Installation

Posted: 15. Jan 2013, 12:20
by batmanzsolti
sej7278 wrote:ifs its such a "low functionality linux" then what do you need guest additions for anyway? surely you're not using a graphical desktop on a cut-down linux (so wouldn't need mouse/3d/clipboard)

if you really do need it, then you need to ask your work for support (including internet access via proxy) not us.
I can control this system only via ssh and I need guest additions for only time sync.

Finally I managed to start VBoxService :D and the timesync works!!!, I Just had to get all the .rpm packages and dependecies what the install script needs, but it wasn't an easy job to find all of them.