Changes

Jump to: navigation, search

Understanding and Installing VirtualBox Guest Additions

746 bytes added, 19:21, 16 March 2009
Installing VirtualBox Guest Addition on Linux
* '''VBoxWindowsAdditions-amd64.exe''' - The 64-bit VirtualBox Guest Additions executable for Windows guest systems. The is executed automatically by the main VBoxWindowsAdditions.exe installed on 64-bit guests.
Whilst the ISO image file may be manually added to the VirtualBox virtual media library and mounted on a virtual machine as a virtual CD/DVD device, a quicker mechanism is provided via the ''Devices...'' menu of the virtual machine window.
== Installing VirtualBox Guest Additions on Windows ==
As previously discussed, the VirtualBox Guest Additions reside in an ISO image file which is bundled with the VirtalBox VirtualBox software. This image file must be mounted as a virtual CD-ROM on the virtual machine on which the additions are to be installed. VirtualBox provides a shortcut to performing this task in the form of the ''Devices->Install Guest Additions....'' menu option. When selected, this option mounts the ''VBoxGuestAdditions.iso'' as a virtual CD-ROM and, assuming that AutoPlay is enabled on the guest Windows operating system, the VirtualBox Guest Additions installer will automatically start. If AutoPlay is not enabled, navigate to the CD-ROM using Windows Explorer and double click on ''VBoxWindowsAdditions.exe'' to initiate the installation process. Once invoked, the ''Sun xVM VirtualBox Guest Additions Setup Welcome'' screen will appear. Click ''Next >'' to proceed to the license screescreen, review the license and click ''I Agree'' to display the installation screen as illustrated below:
Either accept the default installation folder or browse to the desired location before clicking the ''Install'' button to initiate the installation process. The progress of the installation is communicate via a progress bar and a scrolling report of the various tasks as they are performed:
Once the installation is complete, the guest operating system must be rebooted for the guest additions to take effect. The reboot may be initiated from the Setup screen, or performed manually at a later, more convenient time.
== Manually Extracted Extracting the VirtualBox Windows Drivers from the Guest Additions ==
The VirtualBox Guest Additions installer automatically extracts and installs the VirtualBox device drivers. In some situations, it is possible that just the drivers, and none of the other guest addition features may be required. In this situation, perform the following steps to extract the device drivers:
== Installing VirtualBox Guest Addition on Linux ==
The VirtualBox Guest Additions for Linux guests require that the packages necessary to facilitate the building of Kernel modules be installed prior to installing the guest additions. This include the GNU C Compiler and kernel development sources. These are typically installed by default on Ubuntu distributions. On Red Hat, CentOS and Fedora systemshowever, this can be achieved by executing the following command as super user:
<pre>
Alternatively, the installation script for the appropriate guest virtual machine architecture may be run manually by changing directory to the CD-ROM mount point and executing one of the following commands, either as super user or by prefixing the command with the ''sudo'':
* For 32-bit Linux guests
The VirtualBox Guest Additions installed on a guest operating system may be updated by mounting the latest VBoxGuestAdditions.iso image file and repeating the above installation process.
 
== Installing Solaris Guest Additions ==
 
The VirtualBox Guest Additions may be installed on a Solaris guest by mounting the ISO image as outlined previously, changing directory to the mount point and running the following command as super user:
 
<pre>
pkgadd -d ./VBoxSolarisAdditions.pkg
</pre>
 
When prompted for the package to install, enter ''1''.
 
To subsequently remove the guest additions from a Solaris host, run the following command as super user:
 
<pre>
pkgrm SUNWvboxguest
</pre>
 
To update guest additions on a Solaris guest, remove the current installation using the above command and then repeat the installation process using the latest ISO image file.
1,798
edits

Navigation menu