VirtualBox Guest Additions, the Gentoo Way

It is possible to install VirtualBox guest additions through portage.

  1. Add the following lines to /etc/portage/package.keywords:

    >=dev-util/kbuild-0.1.4
    =app-emulation/virtualbox-guest-additions-2.0.2
    =x11-drivers/xf86-input-virtualbox-2.0.2
    =x11-drivers/xf86-video-virtualbox-2.0.2

  2. Emerge the kernel sources.

    $ sudo emerge gentoo-sources

  3. Configure and build the kernel. The exact steps are outside the scope of this post but you could follow the configuration settings here. (Installing the kernel created by this step is optional. You only have to execute make.)
  4. Emerge the guest additions.

    $ sudo emerge virtualbox-guest-additions xf86-input-virtualbox xf86-video-virtualbox

  5. Add virtualbox-guest-additions to the default runlevel.

    $ sudo rc-update add virtualbox-guest-additions default

  6. Reboot (or run /etc/init.d/virtualbox-guest-additions start) to get things working.
About these ads
Published in: on October 29, 2008 at 3:18 am  Comments (1)  

The URI to TrackBack this entry is: http://flangganah.wordpress.com/2008/10/29/virtualbox-guest-additions-the-gentoo-way/trackback/

RSS feed for comments on this post.

One CommentLeave a comment

  1. kernel configuration link, not found…
    Refresh IT!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: