Page 1 of 1

[Solved] Install Guest Additions

Posted: 21. Jun 2011, 00:06
by m_gustafsson
I am running a server with Ubuntu 10.04 which comes with VirtualBox 3.x. I thought I needed a newer release of VirtualBox so I updated my repositories and installed VirtualBox 4.0.8. But there comes no Guest Additions ISO file with that version in Ubuntu (which it does with the 3.x version).
I am running VirtualBox headless, with Ubuntu 10.04 as host and Windows server 2008 as guest OS.
Where can I find a Guest Addition ISO file, and how do I install it from the command line?

Many thanks for any support.

/M

Re: Install Guest Additions

Posted: 21. Jun 2011, 00:18
by Perryg
http://download.virtualbox.org/virtualbox/4.0.8/
You install it like any other package when using CLI. Mount it to your CD/DVD and type the command using sudo and put --nox11 at the end of the command since you don't have xterm.

Re: Install Guest Additions

Posted: 21. Jun 2011, 10:31
by m_gustafsson
Thanks Perryg :)
So, I did:
  • $ VBoxManage controlvm "Windows 2008" poweroff
    $ wget http://download.virtualbox.org/virtualb ... _4.0.8.iso
    $ VBoxManage storageattach "Windows 2008" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium VBoxGuestAdditions_4.0.8.iso
    $ VBoxManage startvm "Windows 2008" --type headless
    Logged in through remote desktop on the machine and executed the file VboxWindowsAdditions on the DVD

Re: [Solved] Install Guest Additions

Posted: 21. Jun 2011, 20:40
by Sasquatch
If you installed VB from the Oracle repositories found on the download section of the main site, then the Guest Additions were already available on your Host. They are stored in /usr/share/virtualbox/VBoxGuestAdditions.iso. For now, don't forget to release the loaded ISO file, to avoid issues when you remove the file ;).

Re: [Solved] Install Guest Additions

Posted: 21. Jun 2011, 21:03
by m_gustafsson
Sasquatch wrote:If you installed VB from the Oracle repositories found on the download section of the main site, then the Guest Additions were already available on your Host. They are stored in /usr/share/virtualbox/VBoxGuestAdditions.iso. For now, don't forget to release the loaded ISO file, to avoid issues when you remove the file ;).
You are right, the ISO file is there...
The loaded ISO file has been released.

Thanks :)