Koozali.org: home of the SME Server

Adding Virtual Guest addtions to SME running as a guest

Offline brianr

  • *
  • 990
  • +2/-0
Adding Virtual Guest addtions to SME running as a guest
« on: February 10, 2010, 02:36:53 PM »
i am running SMEserver as a guest under Virtualbox, hosted under Ubuntu, and am finding that the (SME) clock runs slowly  when I have another guest running Server2003, on its own, the clock is fine.  I have made the "usual" additions to the kernel boot parameter (clock=pmtr etc).

Googling around is would appear that I ought to have the Guest Additions (GAs) installed in the SMEserver guest.  i have loaded gcc and the kernel-devel and kernel-headers using YUM, but when I run the install package for GA it tells me it cannot "find" the kernel sources, and requires me to specify using "KERNEL-DIR".  Can someone help me with this?

Perhaps someone has done this sucessfully and can give some guidance.

TIA
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #1 on: February 10, 2010, 02:58:47 PM »
Hi Brian

search with google for "virtualbox guest addition centos", I'm sure you'll find something usefull :-)

Offline brianr

  • *
  • 990
  • +2/-0
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #2 on: February 10, 2010, 03:42:55 PM »
ok, thanks for that, it gave me enough clues to realise that

yum install kernel-devel

had installed the sources for kernel version 2.6.9-89-0.20, when I was running

2.6.9-89.0.16

I removed the package and ran:

yum install kernel-devel-`uname -r`

which installed the correct one.

Now to see if it solves my clock problem....
 
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #3 on: February 10, 2010, 03:54:57 PM »
ok

if it works and you find the time, write down a little howto in the wiki, thank you

Offline brianr

  • *
  • 990
  • +2/-0
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #4 on: February 10, 2010, 04:29:20 PM »
will do, although it is already looking as if it did not fix the clock problem.  I'll need to try the VB forums now I think.  If and when I do fix it I'll try to get back here and log how...
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #5 on: February 10, 2010, 04:32:29 PM »
TIA

Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #6 on: January 16, 2011, 04:54:01 PM »
I'm new to Red hat distros. However, yum doesn't show any kernel-headers packages. Could anybody tell me where they are & how to install them using yum? I installed the correct kernel-devel-$(uname -r) but on running yum update, it wants to go to a later kernel: am I missing something about yum?

PS Oh, how I hate these difficult to read captchas!
Regards,
John

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #7 on: January 16, 2011, 06:25:07 PM »
PS Oh, how I hate these difficult to read captchas!
They should be gone after some more posts IIRC.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Adding Virtual Guest addtions to SME running as a guest
« Reply #8 on: January 16, 2011, 06:27:57 PM »
I installed the correct kernel-devel-$(uname -r) but on running yum update, it wants to go to a later kernel: am I missing something about yum?
IIRC it should also update kernel-devel for the newer kernel. Isn't it in the list of dependencies to be installed?

You can always update to the new kernel and once booted in there also install kernel-devel for the current kernel or manually pre-install the kernel-devel header matching the newer kernel if it should not be updated automatically, but you will have to spell out the version string instead of using the $(uname -r) subshell.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)