[Solved] Install Guest Additions

Discussions related to using VirtualBox on Linux hosts.
Post Reply
m_gustafsson
Posts: 3
Joined: 21. Jun 2011, 00:00
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows server 2008

[Solved] Install Guest Additions

Post 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
Last edited by m_gustafsson on 21. Jun 2011, 10:31, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Install Guest Additions

Post 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.
m_gustafsson
Posts: 3
Joined: 21. Jun 2011, 00:00
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows server 2008

Re: Install Guest Additions

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: [Solved] Install Guest Additions

Post 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 ;).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
m_gustafsson
Posts: 3
Joined: 21. Jun 2011, 00:00
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows server 2008

Re: [Solved] Install Guest Additions

Post 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 :)
Post Reply