Guest Additions Host Vista x64 Guest Suse 11 don't work

Discussions about using Linux guests in VirtualBox.
Post Reply
Tastenfuchs
Posts: 4
Joined: 9. Oct 2008, 20:14

Guest Additions Host Vista x64 Guest Suse 11 don't work

Post by Tastenfuchs »

Hi together,

I try to make my first steps in the linux world now by using Virtual Box.
First of all, I totaly have no clue about linux.

I have problems to install the Guest additons on a host Vista 64 bit and guest Suse 11.0.

What I have done:
- Installed Virtual Box 64 bit on my Vista home Edition
- set up ab guest OpenSuse with default values and installed Suse 11.0 with default values.
- Mount the Guestadditons
- add make, kernel-source, kernel-sysm, linux-kernel-header, gcc and gcc-c++ with yast
- switch to console and make me root with su.
- start in the /media /vb... folder with sh ./VboxAdditions-x68.run

first error : was no include folder found please add the include folder
- I have done it with export KERN_INCL=/usr/include

second error : no rules found to create modules [vboxadd_test] Error 2


next trial I have downloaded the x86 version of Virtualbox and installed it on a Windows XP workstation and installed again linux with default add the packages in yast and tried to install the guest addtions and it worked perfect as well without asking me about a KERN_INCL.


I understand now, it is something with vista or with 64 bit because the steps on the linux side are both time the same. One time it works the other not.


Any hints what I can search for?

thanks a lot in advance


regards

Tastenfuchs
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

What says "rpm -qa | grep kernel"?

I think there are different versions from kernel and kernel-source.
Tastenfuchs
Posts: 4
Joined: 9. Oct 2008, 20:14

Post by Tastenfuchs »

Hi Stefan,


thanks for your fast answer.

kernel-source-2.6.25.16-0.1
linux-kernel-headers-2.6.25-8.1
kernel-default-2.6.25.5-1.1
kernel-sysms-2.6.25.16-0.1

I have didn't found in yast different versions of the packages which I selected. If neede can you explain me as well how I have to install a other version.

regards

Siegfried
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Try to install kernel-devel too. As I noticed here on the forums, RPM based distro's like Fedora and Suse use that package for kernel sources and such to create kernel modules. Could be just a meta-package, but it's worth a shot. You might have missed something.
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.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

No, kernel-devel is only for Fedora.

You have not the same versions:

kernel-source-2.6.25.16-0.1
kernel-default-2.6.25.5-1.1
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Do'h, missed both of that. I can be quite blind after anwering so many questions.
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.
Tastenfuchs
Posts: 4
Joined: 9. Oct 2008, 20:14

Post by Tastenfuchs »

Hi,

I checked now the same on the Windows XP workstation and there it's a bit different:

kernel-source-2.6.25.5-1.1
linux-kernel-headers-2.6.25-8.1
kernel-default-2.6.25.5-1.1
kernel-sysms-2.6.25.5-1.1

I was in the first moment a bit suprised why with the same installation I can have different versions but later one I got the point.

The Windows XP workstation is in the company and over this I have no connection to the WEB and I think now, that Yast i nthe company has taken the files from the DVD and at home taken unfortunately the newest from the WEB.


How can I now install this both packages?
kernel-source-2.6.25.5-1.1
kernel-sysms-2.6.25.5-1.1

In the yast they are selected as installed and there was nowhere a possibility to choose a version.


Thanks

for your help?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Why not upgrade the other packages? Run yast update and yast upgrade (or whatever is used to update the package headers and then the system). That should give you the same kernel and headers. After the upgrade, be sure to reboot to the new kernel version and try to install the GA again.
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.
Tastenfuchs
Posts: 4
Joined: 9. Oct 2008, 20:14

Post by Tastenfuchs »

Hi,

I have done it exactly how you explained it Sasquatch.
Result: It works fine now.


Thanks all for the support. Now I have to do my first steps in the new environment.

Unfortunatelly i use as well in the eventing the PC for playing games and this is not really possible in Linux, but this is another story.

regards

Tastenfuchs
Post Reply