PDA

View Full Version : [SOLVED] VBoxGuestAdditions.iso



Ymurti
October 29th, 2011, 09:20 AM
Please I need help.

I installed Oracle VM VirtualBox in Ubuntu 11.10 and I installed Windows 7 using Virtual Box. I need install the VBoxGuestAdditios.iso but I do not know how. I have it on /usr/share/virtualbox/VBoxGuestAdditions.iso

Someone please can help me?

3rdalbum
October 29th, 2011, 09:42 AM
.iso is a disc image. You need to set up your Virtualbox virtual machine to mount the VBoxGuestAdditions.iso as a CD-ROM inside the virtual machine. Then it will appear in My Computer on Windows as a CD, and you can double-click on the installer in there to install the guest additions.

The Cog
October 29th, 2011, 10:24 AM
The virtualbox program has to know about this cd image so it can offer it to the guest OS. If you are using the open-source version of virtualbox as installed from the Ubuntu repositories, then this is what you need to do:

1:
Install package virtualbox-guest-additions-iso. This gives virtualbox access to the CD image to show to its guests. Use synaptic or this command:
sudo apt-get install virtualbox-guest-additions-iso

2:
Boot the guest OS inside virtualbox.

3:
In the virtualbox menu, use Devices -> Install Guest Additions... This will cause the guest OS to see the installer CD inserted into the virtual CDROM drive. From there, it is up to win7 to do whatever it does with driver CDs.



The other way would be to use the virtualbox virtual media manager utility, register the ISO image with virtualbox, and then use the devices menu on the running VM to insert that CD image into the virtual drive. It's longer winded this way, but you might have to learn this method to install other software to the win7 guest anyway.

Ymurti
October 29th, 2011, 11:46 AM
[QUOTE=The Cog;11405459]The virtualbox program has to know about this cd image so it can offer it to the guest OS. If you are using the open-source version of virtualbox as installed from the Ubuntu repositories, then this is what you need to do:

1:
Install package virtualbox-guest-additions-iso. This gives virtualbox access to the CD image to show to its guests. Use synaptic or this command:
sudo apt-get install virtualbox-guest-additions-iso

2:
Boot the guest OS inside virtualbox.

3:
In the virtualbox menu, use Devices -> Install Guest Additions...


I did till here then I could not find de Devices -> Install Guest Additions.... Please help

Obs.: I am attaching a screenshot of my desktop.

The Cog
October 29th, 2011, 06:02 PM
Unity hides the application menu for some reason. It removes it from the application window itself, and puts it at the top of the screen, then puts the window title in fron of it to hide the actual menu items. In order to see the menu, you have to jam your cursor up to the top of the screen (regardless of where your window is placed). Then the menu appears across the top. You should find the Devices menu item up there.

Ymurti
October 30th, 2011, 08:11 AM
Unity hides the application menu for some reason. It removes it from the application window itself, and puts it at the top of the screen, then puts the window title in fron of it to hide the actual menu items. In order to see the menu, you have to jam your cursor up to the top of the screen (regardless of where your window is placed). Then the menu appears across the top. You should find the Devices menu item up there.



Dear, The cog I did as you told and here it is 2 Screenshots of what I have. I can not see any Devices menu. Please help.

The Cog
October 30th, 2011, 11:53 AM
I think Unity is causing confusion here. You are looking at the menu for the virtualbox control window, not the guest VM window. Unity hides the menu of the current foreground window behind its title at the top of the screen. If you click the win7 guest window to bring that to the fore, then the menu at the top will (should) show specific options for the guest VM as it is running. So I think you need to:

1: click the running guest window to make it the active window
2: shove the cursor to the top of the screen to reveal the menu
3: Choose Devices / Install Guest Additions

I attach a screenshot from a window manager where you can see the different menus for the different windows.

Ymurti
October 30th, 2011, 02:39 PM
Dear The Cog, I did as you told me:

1: click the running guest window to make it the active window
2: shove the cursor to the top of the screen to reveal the menu

But the menu is not revealed it is very frustrating. What should I do next? Please help!

The Cog
October 30th, 2011, 02:51 PM
I don't know. I don't use unity, I use Xubuntu with XFCE. Maybe it's just not possible to use VirtualBox with Unity properly.

Can someone who uses Unity and VirtualBox provide a clue as to how to get the the guest VM menu?

The Cog
October 30th, 2011, 08:02 PM
This thread is getting buried. It may be worth starting a new thread with a title like "Cannot access VirtualBox menu in Unity" if you're sure it's unity that's hiding the menu from you.

Paqman
October 30th, 2011, 08:15 PM
Can someone who uses Unity and VirtualBox provide a clue as to how to get the the guest VM menu?

Depends how you're running Vbox (windowed/seamless/etc). You can either use the global menu at the top or the little pop-up menu at the bottom of the Vbox window.

Ymurti
October 31st, 2011, 04:56 AM
I think Unity is causing confusion here. You are looking at the menu for the virtualbox control window, not the guest VM window. Unity hides the menu of the current foreground window behind its title at the top of the screen. If you click the win7 guest window to bring that to the fore, then the menu at the top will (should) show specific options for the guest VM as it is running. So I think you need to:

1: click the running guest window to make it the active window
2: shove the cursor to the top of the screen to reveal the menu
3: Choose Devices / Install Guest Additions

I attach a screenshot from a window manager where you can see the different menus for the different windows.


Dear The Cog and all of you that tried to help. The problem is solved. I was able to install the VBoxWindoesAdditions.exe How? I so in the screenshot that The Cog has posted that you can press Host+D to install, I tried and did not work THEN I tried Alt+Ctrl+D and here it this the screenshot of what came::p

Ymurti
October 31st, 2011, 04:58 AM
Thank You a lot.

The Cog
October 31st, 2011, 09:28 PM
Oh that is good news. Thanks for letting us know.

TedinOz
November 7th, 2011, 12:30 AM
Sorry to hijack this thread but I have a new problem here. I am running Unity on 11.04 and have installed XP on Virtual Box Version 4.0.4 installed from repositories.
I understand most of the earlier explanations but not sure how to download the iso for VBoxGuestAdditions. When I run
sudo apt-get install virtualbox-guest-additions-iso in the Terminal I get this result...


sudo apt-get install virtualbox-guest-additions-iso
[sudo] password for ted:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virtualbox-guest-additions-iso


If someone can help me resolve this and I am able to get the iso file I think I will be ok with the rest of the procedure.

Hoping someone can help.

Thanks

Paqman
November 7th, 2011, 12:35 AM
On 11.04 the package is just called virtualbox-guest-additions (apt:virtualbox-guest-additions) (click to install).

TedinOz
November 7th, 2011, 04:29 AM
On 11.04 the package is just called virtualbox-guest-additions (apt:virtualbox-guest-additions) (click to install).

Thank you so much! All installed and working now :)