LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2013, 10:40 AM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 149

Rep: Reputation: Disabled
guest additions on centos 6.3


i am running windows 7 and installing centos on VBOX. i am really annoyed that i can't get it to go fullscreen. i have tried pretty much everything, updating, installing rpmforge, installing dkms, gcc, kernel-devel , kernel-header...etc

and i have the most recent version of VBOX

when i try to run ./VBoxLinuxAdditions.run i get this error in my logfile

Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/4.2.12/source ->
/usr/src/vboxguest-4.2.12

DKMS: add Completed.

Error! Your kernel headers for kernel 2.6.32-279.el6.x86_64 cannot be found at
/lib/modules/2.6.32-279.el6.x86_64/build or /lib/modules/2.6.32-279.el6.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

this wouldn't be a problem if i didn't have OCD and could be content not working in fullscreen.
 
Old 04-25-2013, 02:29 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Could it be as simple as just installing the kernel headers?

Code:
sudo yum install linux-headers-$(uname -r)
 
Old 04-25-2013, 04:59 PM   #3
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 149

Original Poster
Rep: Reputation: Disabled
No package Linux-headers-2.6.32-279.el6.x86_64 available.
error: nothing to do
 
Old 04-26-2013, 12:57 PM   #4
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
I just managed to get Guest Additions installed in a Scientific Linux 6.4 VBox. I had to install

Code:
kernel-devel$(uname -r)
and

Code:
kernel-headers
I also had to install make and gcc. By what you say in the OP it appears you've done all that already, so I'm not sure what's different, unless there is a substantial difference between SL and CentOS.
 
Old 04-26-2013, 02:12 PM   #5
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 149

Original Poster
Rep: Reputation: Disabled
Yea I just installed it on VMware and it works. Solved lol
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to check version of virtualbox guest additions currently installed in guest syste masuch Linux - Virtualization and Cloud 3 09-03-2012 02:05 AM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 09:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 06:30 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 01:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-19-2009 12:43 AM


All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration