James Selvakumar’s Blog

February 23, 2008

Installing VirtualBox guest additions in OpenSuse

Filed under: unix-linux,virtualization — James @ 6:45 am
Tags: ,

I managed to install the VirtualBox guest additions for ubuntu without any problem. And as a result, I get some excellent features like “seamless mouse integration”, shared folder access etc, between my host (windows xp) and guest (ubuntu).

But when I tried to do the same for OpenSuse, I got into problem. I couldn’t run the VBoxLinuxAdditions.run from the terminal. I received an error messaage saying that “Please install GNU make, Please install GNU compiler”.

Then when I searched the web, I found this link quite useful.

As such, I executed this command in the OpenSuse terminal:

sudo zypper install gcc make automake autoconf kernel-source

It asked for my “root” password, and when i entered, it downloaded the necessary packages. (Though, i received an information that autoconf cannot be installed)

It took nearly 1 hour to download and install the necessary packages on my machine.

Then I ran the command:

sudo sh VBoxLinuxAdditions.run

after navigating to the appropriate “media” directory.

Then I was notified to restart the OS. And after that, I was able to use all the features I use with “ubuntu” as guest.

I also noticed that my OpenSuse resolution automatically increased to 1024×768 after installing the VirtualBox guest additions. (It was previously 800×600 only)

About these ads

37 Comments »

  1. Thank you!

    Comment by Damian — June 22, 2008 @ 1:44 am | Reply

  2. Very useful, thanks !

    Comment by Fra — June 26, 2008 @ 1:27 pm | Reply

  3. Just what I was looking for. You described exactly my situation (worked just fine in Ubuntu guest, not so much in OpenSUSE guest) and thanks to you it’s working flawlessly!

    Comment by Chris — June 30, 2008 @ 4:42 am | Reply

  4. Thank you, exactly what I was after.

    Comment by Darrell — July 17, 2008 @ 2:12 am | Reply

  5. [...] that I didn’t have make and some other packages installed so I followed the guide at this website (Installing VirtualBox guest additions in OpenSuse James Selvakumar’s Blog) and it got past that error but now I get the one mentioned above. What should I [...]

    Pingback by Virtualbox Guest Additions in openSuse 11 - openSUSE Forums — August 1, 2008 @ 7:56 pm | Reply

  6. Hello!,

    Comment by name — September 1, 2008 @ 7:11 am | Reply

  7. This is good news, Im really looking forward to playing around with it once the beta opens up.,

    Comment by Anjelica — November 4, 2008 @ 5:52 pm | Reply

  8. It took a while, but it totally worth it.
    Thanks for the tip.

    Comment by kerolic — November 22, 2008 @ 9:48 pm | Reply

  9. yep you are jack our maniac in my chat box and your mental here,

    Comment by Gilberta — November 27, 2008 @ 10:22 pm | Reply

  10. Thanks! You saved me, I was short before killig me :-))

    Comment by Andreas — December 8, 2008 @ 3:31 pm | Reply

  11. xdqaznvldkqghtvbwell, hi admin adn people nice forum indeed. how’s life? hope it’s introduce branch ;)

    Comment by CertyBarBoulkyPlaymn — December 27, 2008 @ 3:38 pm | Reply

  12. hello it is test. WinRAR provides the full RAR and ZIP file support, can decompress CAB, GZIP, ACE and other archive formats.
    enwotpajecfqvuetnglditlhfmxwykkhaguhello

    Comment by Peeriavenda — January 4, 2009 @ 1:17 am | Reply

  13. [...] a treat. There is a large download involved (apprx 70MB) but after thats done its plain sailing Installing VirtualBox guest additions in OpenSuse James Selvakumar’s Blog Hope this [...]

    Pingback by VirtualBox 2.1 Guest Additions in OpenSUSE 11.1 - openSUSE Forums — January 7, 2009 @ 12:08 pm | Reply

  14. [...] additions (the tools that manage seamless mouse transfer, resolution switching, etc). I found this post, followed the instructions and now have OpenSUSE running on my Mac “seamlessly”: [...]

    Pingback by jo-zone.com — January 15, 2009 @ 7:23 pm | Reply

  15. thank you!

    Comment by someuser — January 30, 2009 @ 11:30 pm | Reply

  16. Thanks man. I had the same issue with opensuse 11.1 and VirtualBox 2.0.5 and it worked great 4 me.

    CYA ;)

    Comment by Salustiano — February 19, 2009 @ 3:39 pm | Reply

  17. I had the same issue and you can solve it easier in the installation process. When you’re at the point where you have to specify the packages which get installed, you have to add the packages for gcc and the kernel sources, than you don’t have to download them later manually.

    Comment by Matthias — March 26, 2009 @ 4:20 pm | Reply

  18. Thanks for finding out.
    Thanks for sharing this knowledge.
    Thanks for the spirit!

    Jan

    Comment by Jan Bekaert — April 3, 2009 @ 5:43 am | Reply

  19. Great! Many THX! I was search like hell for that hint!
    U should feed the openSuse-Community with this.

    Comment by Bastian — May 8, 2009 @ 8:23 am | Reply

  20. Thanks for the tips..
    i have a problem after installing the guest additions and re boot Suse 10 it wouldn’t run again and it just show a black screen! the mouse cursor moves freely between the host and guest machine. but the guest machine still black.. any idea please?

    Thanks

    Comment by Ahmed — May 25, 2009 @ 3:53 pm | Reply

  21. visit us!
    newsbox.cc
    newsbox.us
    nbstatus.wordpress.com
    NOW!

    Comment by hikeksfuh — June 12, 2009 @ 1:51 am | Reply

  22. Thanks a lot!
    solved my problems too

    Comment by Rockx — June 24, 2009 @ 2:09 am | Reply

  23. THANK YOU.

    Why don’t they just repost this on the VirtualBox website?

    Comment by jason — July 5, 2009 @ 3:56 am | Reply

  24. You only need the ‘kernel-headers’ package, rather than the ‘kernel-source’. Unless you actually want to recompile the kernel, there’s no need to get the source. Grab the headers. Your bandwidth will thank you. :)

    Comment by Aaron Toponce — September 1, 2009 @ 3:02 am | Reply

  25. ありがとう!今私はそれにシームレスなモードを持つことができます!

    Comment by ジョー — September 13, 2009 @ 12:49 am | Reply

  26. LS, The wedding couple hoochie-dance was cute. ,

    Comment by Kelvin61 — October 10, 2009 @ 4:30 pm | Reply

  27. worked a treat, thanks

    Comment by n3tfury — December 6, 2009 @ 2:23 pm | Reply

  28. Thanks buddy.

    Luv from q8.

    Comment by Hopenhagen — December 9, 2009 @ 5:10 am | Reply

  29. 1) -Dans le disques de l’hôte open suse on ajoute le cd de Suse.iso du départ et le cd des GuestAdditions.

    2) -Dans Suse en marche: yast/PARAMETRES DE L’ADMINISTRATEUR/depots de lociciels/ on rajoute le chemin de ce cd avec: ajouter/cd/continuer

    3) -Dans un terminal (mode superutilisateur):

    après le log on tape:
    sudo zypper install gcc make automake autoconf kernel-source
    on suit les indications et on sort

    4) -Dans un terminal (normal) , par cd:
    cd / //pour arriver à root
    cd ls //pour voir
    cd media //pour aller vers le cd qui est dans le media
    cd ls //toujours pour voir
    cd VBox… //on se positionne sur le cd

    sudo sh. /VBoxLinuxAdditions-amd64.run (pour ce qui est du 64)

    5) -restart et on y est!

    Comment by angelo — February 25, 2010 @ 12:17 pm | Reply

  30. How did you know he/she was the one?

    Comment by Goodlett — April 2, 2010 @ 3:07 pm | Reply

  31. u can make the screen resolution 1024 or 1152 from the instalation cd its not necessary to to install guest addition just insert ur CD and click on devices>>cd/dvd devices>>host drive ‘X:’
    im looking to keep mouse interacting with host guest thats my trouble

    Comment by firoo — May 9, 2010 @ 10:19 am | Reply

  32. Thanks for the simple Terminal command. Why OpenSUSE doesn’t have at least GCC and MAKE installed by default is far beyond me…

    Comment by Aaron — August 24, 2010 @ 2:04 pm | Reply

  33. PERFECT solution… I found other command lines that looked similar to yours, but never worked! This one worked like a charm! Thanks!

    Comment by Tom — September 15, 2010 @ 12:50 pm | Reply

  34. you only need:
    # zypper in gcc make kernel-desktop kernel-devel

    Comment by lemax — December 24, 2010 @ 2:08 pm | Reply

  35. 2011 and still this post is helping people out!! thanks.. i’m one of those people =)

    Comment by ajing — February 1, 2011 @ 8:53 am | Reply

  36. Even though this post is 4 year’s old it’s the only thing that worked! I can’t thank you enough. I’m new to opensuse and this made me stay with openSUSE!

    Comment by Alex Rubio (@atmancloud) — August 22, 2012 @ 4:58 pm | Reply


RSS feed for comments on this post. TrackBack URI

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

Theme: Rubric. Get a free blog at WordPress.com

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: