Special Linux Guest Additions Installation

Discussions about using Linux guests in VirtualBox.
Post Reply
batmanzsolti
Posts: 4
Joined: 14. Jan 2013, 14:15

Special Linux Guest Additions Installation

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Special Linux Guest Additions Installation

Post 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?
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: Special Linux Guest Additions Installation

Post 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.
batmanzsolti
Posts: 4
Joined: 14. Jan 2013, 14:15

Re: Special Linux Guest Additions Installation

Post 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.
batmanzsolti
Posts: 4
Joined: 14. Jan 2013, 14:15

Re: Special Linux Guest Additions Installation

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Special Linux Guest Additions Installation

Post by Perryg »

First we would need to know what the OS is/was before it was stripped.
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Special Linux Guest Additions Installation

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Special Linux Guest Additions Installation

Post by Perryg »

You can see the required packages at the following link:
Howto: Install Linux Guest Additions
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: Special Linux Guest Additions Installation

Post 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.
batmanzsolti
Posts: 4
Joined: 14. Jan 2013, 14:15

Re: Special Linux Guest Additions Installation

Post 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.
Post Reply