Oracle VM VirtualBox

 
 
Oracle VM VirtualBox is a virtualization software package for x86 and AMD64/Intel64-based computers from Oracle Corporation. The VirtualBox package installs on an existing host operating system (Linux, Mac OS X, Windows XP, Windows Vista, Windows 7, Windows 8, Solaris, OpenSolaris, FreeBSD and Genode) other guest operating systems (as applications), each known as a Guest OS, to load and run, each with its own virtual environment.

The latest Oracle VM VirtualBox version can be downloaded from:
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html







Install Oracle VM VirtualBox Extension Pack.



Information
Install Oracle VM VirtualBox Extension Pack on a Windows host where Oracle VM VirtualBox is installed where an Ubuntu VM is running.

Operating system used
Windows Vista Home Premium SP 2

Software prerequisites
Oracle VM VirtualBox on Windows.
Create Ubuntu VM in the Oracle VM VirtualBox.

Procedure
  1. Download VirtualBox 4.3.24 Oracle VM VirtualBox Extension Pack on your Windows host.
    For example: c:\VirtualBox-4.3.24-98716-Win.exe

    Note:
    Recent versions can be downloaded from: https://www.virtualbox.org/wiki/Downloads

  2. Double click this file and press Install.

    Install Virtualbox extension pack

  3. Agree the license and after installation press OK button.

    Virtualbox extension pack installed

  4. The Oracle VM VirtualBox Extension Pack will be installed in directory:
    C:\Program Files\Oracle\VirtualBox\ExtensionPacks\Oracle_VM_VirtualBox_Extension_Pack

  5. The file VBoxGuestAdditions.iso can be found in folder:
    C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso

  6. Start your Ubuntu VM in the Oracle VirtualBox.

    Virtualbox start VM

  7. An Ubuntu VM terminal opens. Login with your account.

  8. Update your APT database, type: sudo apt-get update

  9. Install the latest security updates, type: sudo apt-get upgrade

  10. Install required packages, type: sudo apt-get install build-essential module-assistant

    Note:
    If there are packages installed which are no longer required, type: sudo apt-get autoremove

  11. Configure your system for building kernel modules, type: sudo m-a prepare

  12. Click the Oracle Virtual Box "Devices" menu and select "Install Guest Additions CD Images...".

    Could not insert the Virtualbox Guest Additions disk image file

    An error window opens:

    The Virtualbox Guest Additions disk image file (VBoxGuestAdditions.iso) can not be inserted into the Ubuntu VM. The next few steps will solve this problem. Press OK to close this window.

  13. Now stop the Ubuntu VM. Do this, otherwise you can not add a CD/CDROM device.

  14. Select the Virtualbox menu: Settings | Storage

  15. Press the CDROM with the + button to add the CD/CDROM device.

    Add CD/CDROM device

  16. Select button "Choose disk"

    Select Leave empty button

  17. Select the disk image file:
    C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso
    and press OK button.

  18. Start the Ubuntu VM and login.

  19. Mount the virtual CD Rom, type: sudo mount /dev/sr0 /media/cdrom

    Note 1:
    /dev/sr0 is created when you add the CD/CDROM device in the Virtualbox storage settings.

    Note 2:
    /dev/cdrom was not created when you add the CD/CDROM device in the Virtualbox storage settings.

  20. Change the directory to the virtual CD Rom Drive, type: cd /media/cdrom
    To display the content of the VBoxGuestAdditions.iso file, type: ls -al

    Show content of the VBoxGuestAdditions.iso file

  21. Install the VBoxGuestAdditions, type: sudo ./VBoxLinuxAdditions.run

  22. Restart VM, type: sudo reboot

  23. Check that VBoxGuestAdditions are installed, type: lsmod | grep vboxguest

    You should see: vboxguest    249063    2    vboxsf