Can't Install Guest Additions

Discussions about using Linux guests in VirtualBox.
Post Reply
thunderclap
Posts: 4
Joined: 20. Apr 2011, 18:00
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Can't Install Guest Additions

Post by thunderclap »

I've installed the latest version of Virtualbox on my Windows 7 x64 system. I've successfully installed Ubuntu Server 10.04 (32-bit) and want to set up a shared folder. I've installed the packages outlined in the How To guide, but when I click on the Install Guest Additions nothing happens.

Any suggestions for getting this up and running?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't Install Guest Additions

Post by Perryg »

Ubuntu server is a command line OS unless you install the packages to add GUI.
You achieve this by mounting the CD in the guest and manually installing the additions. Use --nox11 switch to keep from getting a nasty gram about missing xorg. You will still see an error because you don't have xorg, but the rest of the services will install.
thunderclap
Posts: 4
Joined: 20. Apr 2011, 18:00
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Can't Install Guest Additions

Post by thunderclap »

I'm still new to Linux, so please bear with me. So if I understand you correctly, you're saying I should use the code in the How To guide

Code: Select all

apt-get install dkms build-essential linux-headers-generic
But instead add the -nox11 switch

Code: Select all

apt-get install --nox11 dkms build-essential linux-headers-generic
Is that right, or is there additional components that need to be installed?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't Install Guest Additions

Post by Perryg »

nope
the --nox11 goes at the end of the VBoxLinuxAdditions when you install the additions in the guest. The other packages are needed to be able to build external modules so that much you are correct with.
thunderclap
Posts: 4
Joined: 20. Apr 2011, 18:00
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Can't Install Guest Additions

Post by thunderclap »

I must be missing something because I can't even get the GuestAdditions to mount. I've tried the option from the Devices menu itself, and I've also tried mounting the ISO as a CD-ROM image. In either case when I navigate to /cdrom or /media there are no files listed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't Install Guest Additions

Post by Perryg »

Linux in general has a neat feature called man pages. This explains how to do things that you are not familiar with. Typing man mount will show you what you need to do.
Google is also a great learning tool how to mount cd in ubuntu gives you the answer as well.
thunderclap
Posts: 4
Joined: 20. Apr 2011, 18:00
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu 10.04

Re: Can't Install Guest Additions

Post by thunderclap »

You don't need to be condescending. Not everyone is a boy genius like you.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't Install Guest Additions

Post by Perryg »

I see nothing condescending in my reply. Did you know about the information I sent you? Was it not helpful? Have you tried it?
Now if you want condescending I guess I could have said let me do this for you since you have no idea what you are doing, but that would wrong and borderline hateful.

Personally I think your frustration is clouding your judgement. I will not bother you with my suggestions any longer.
Post Reply