Page 1 of 1

Guest additions on Fedora 12

Posted: 30. Mar 2010, 19:24
by V_F_L
Hello
First, excuse me for my bad english
Second, excuse me, because I know, that this probleme is well-known, but when I see the topics about it, I don't understand that I have to do.
Third, this is my probleme :
I'm under Winows XP, and I want to run Fedora 12 with Virtualbox. It work very well. But I want now to install the guest additions, and I have a probleme.
I write

chmod u+x VBoxLinuxAdditions-x86.run, and

./VBoxLinuxAdditions-x86.run.

Then I can see :

Verifying archive integrity... All good.
Uncompressing VirtualBox 3.1.4 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions...
Building the VirtualBox Guest Additions kernel modules [ÉCHOUÉ]
(Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong)
Installing the Window System drivers
Installing experimental X.Org Server 1.7 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[ OK ]


And this is the file /var/log/vboxadd-install.log :

Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Arrêt.


Can you help me ?

Re: Howto: Install Linux Guest Additions + Xorg conf

Posted: 30. Mar 2010, 21:38
by fixedwheel
have a look into the sticky topic on top
Sasquatch wrote: (...)
Fedora users need the following packages:

binutils
gcc
make
patch
libgomp
glibc-headers
glibc-devel
kernel-headers
kernel-devel

Code: Select all

sudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
HTH

Re: Guest additions on Fedora 12

Posted: 31. Mar 2010, 10:31
by V_F_L
It means, that I have to install all this packages, and then I would be able to install the guest Additions. Is that correct ?

Re: Guest additions on Fedora 12

Posted: 31. Mar 2010, 10:44
by fixedwheel
V_F_L wrote:It means, that I have to install all this packages,
some of them may be already there but that doesnt matter when executing the given command

and make sure that the kernel, kernel-headers and kernel-devel versions match, e.g. see this actual thread => http://forums.virtualbox.org/viewtopic.php?f=3&t=26376


and its all in the howto, manual, and endless number of threads ... ;)

Re: Guest additions on Fedora 12

Posted: 31. Mar 2010, 15:42
by V_F_L
I installed this packages, but it doesn't work !
I don't understand !

Re: Guest additions on Fedora 12

Posted: 31. Mar 2010, 16:55
by dmcgraw
V_F_L wrote:I installed this packages, but it doesn't work !
I don't understand !
I really doesn't do any good to come here and post "it doesn't work !"

There are people here that want to help you, but you have to give more information.

Please post the exact steps which you have tried and detailed results including exact error messages and log files.

Re: Guest additions on Fedora 12

Posted: 31. Mar 2010, 18:29
by V_F_L
But I wrote more precisly about my probleme in the beginning of the topic !
I just said "it doesn't work" because Fixedwheel has suggested a solution, which has no effect.

Re: Guest additions on Fedora 12

Posted: 1. Apr 2010, 13:44
by SSCBrian
Somewhere, you're missing one of the kernel development packages. If you select the "Software Development" install set (during initial installation), you would have gotten them. Is there a way to go back and do that after installation?

Re: Guest additions on Fedora 12

Posted: 1. Apr 2010, 23:27
by zhunter3
I know there are many solutions posted, but I feel that I've tried everything (with my limited Linux knowledge) to get Fedora 12 Guest Additions to work...

I originally had the same kernel issue as posted by this author and most others, and came to learn that the currently used kernel basically needs to match the kernel-devel.

Currently using:
Windows XP Host
Fedora 12 Guest
VBox 3.1.6


uname -r => 2.6.31.5-127.fc12.i686
kernel-devel => 2.6.32.10-90.fc12.i686

Running the kernel update provides me with the matching 2.6.32.10-90.fc12.i686 kernel, so naturally my next attempt at getting the Additions to work is to restart the Guest and boot to the new kernel. Unfortunately I cannot see if this solves my problem, as now Fedora can't complete its boot process.

The loading bar finishes and the system just hangs at that point indefinitely (or at least >1 hour). If I do <esc> to watch the boot process instead, it gets to the point where it loads/checks? the 2.6.32.10-90.fc12.i686 kernel and hangs at the first step: Applying Firewall Rules: _

...[OK]
...[OK]
Running DKMS auto installation service for kernel 2.6.32.10-90.fc12.i686"
.ip6tables: Applying firewall rules: _


I've restarted a number of times trying things like "nomodeset" (no idea what that does) to no avail. The only way I can get a normal startup is to revert to the original kernel. I'm pretty sure this isn't the "black screen of death" problem because I cannot enter any commands (ctrl-f2?) like some have suggested in their fixes.

Thanks in advance for helping or pointing me in the right direction. Sorry I have a pretty pathetic understanding of Linux kernels...

Re: Guest additions on Fedora 12

Posted: 3. Apr 2010, 18:17
by JamesF
I was having the same problem. I upgraded Virtual Box to the latest version - 3.1.6 and installed the Virtual Additions 3.1.6 and it was resolved. If you have a snapshot before installing the additions revert back to it then run the VirtualBox 3.1.6 installer. It will be upgraded. Start your vm and install the additions. Hope this helps - it worked for me.


From the change log: http://www.virtualbox.org/wiki/Changelog

***Linux Additions: fixed hang when starting the X server in Fedora12 guests and in guests with Linux 2.6.33 or later (bug #6198)


**EDIT - The change log says the update fixes an issue with kernel 2.6.33 and later but this worked on my setup: FC12 kernel 2.6.32.10-90.fc12.x86_64.

Re: Guest additions on Fedora 12

Posted: 1. May 2010, 21:54
by greyseal96
Thank you very much to the people in this thread for finding the solution to this problem. I have been using Ubuntu for a while in my guests because it is always so easy to use. For the most part, it always does what it's supposed to do. I always have these weird problems with Fedora, though, so I don't get around to playing with it so much.

Whenever I need to install the Guest Additions in a Linux guest, I always go to Sasquatch's Howto post on installing the Linux Guest Additions, so I have to say thank you very much to him. I thought that I'd write down the steps that I had to follow just in case it helps somebody else.

If you're starting with a fresh install of FC12, the kernel that you have is probably 2.6.31.5-127.fc12.i686. You can find this out by typing "uname -r" from a terminal. For me, my GA install would not work unless the kernel-devel package matched the kernel. In Sasquatch's post, he says that the kernel-headers package has to match, but for some reason it was different for me. I followed Sasquatch's instructions and fully updated my system, except for the new kernel and the kernel-firmware package. After a reboot, I used PackageKit (Add/Remove Programs) to uninstall the latest version of the kernel-devel package and I installed the kernel-devel package which matched my kernel version (2.6.31.5-127.fc12.i686). After this, I used yum to install: binutils, gcc, make, patch, libgomp, glibc-headers, glibc-devel and kernel-headers. After that, I was able to successfully install the GA.

After a reboot, I updated the kernel, kernel-devel and kernel-firmware to the latest version and rebooted. It either hung on the reboot or was taking a long time so I reset the machine and this time the boot process went more quickly. Maybe the same thing would have happened if I'd been more patient...I dunno. So now it all works.

As I said before, thanks to everyone in this thread for your suggestions; they really helped.

Regards,
John