Installation

step2

Configuring VirtualBox for running CernVM image

To configure your VirtualBox for running CernVM do the following steps:

  • Start VirtualBox
  • Click the 'New' button and a 'Create New Virtual Machine'dialogue will appear
  • Enter the name of the Virtual Machine (e.g. cernvm-desktop-2.1.0) and define the OS Type:
    • As the 'Operating system' chose Linux
    • As the 'version' chose 'Linux 2.6 (64 bit)' (depending on the downloaded image type)
    • Click ‘Next
                
    • Define the amount of memory which you want to make available to the Virtual Machine (e.g. 1024 MB) and click ‘Next’.
    • Configure the Virtual Machine hard disk.
      Make sure the 'Boot Hard Disk' box is checked
      • Check the 'Use existing hard disk' option
      • Set a newly downloaded CernVM image as a hard disk of your Virtual Machine
        • Click on the small folder icon  (around right left corner of the dialogue)
        • The following window will appear:
        • Click the Add button 
        • Navigate to the folder which contains the 2 files from the downloaded archive
        • Select the .vmdk file (e.g. cernvm-2.1.1-x86_64.vmdk) and click 'Open
        • Click 'Select' to return to the previous dialogue window.

      • Click 'Next', verify that the configuration information is correct and click 'Finish'
    • Your new virtual machine will appear in the pane on the left.


       

    Configuration of Virtual Machine

    To configure created Virtual Machine right click on the Virtual Machine icon and choose 'Settings'.

    • To configure Video:
      • Click on 'Display'icon  on the left pane and set the video memory size to at least 64MB
    • To configure the hard drive:
      • Click on 'Storage' icon  on the left pane and the Storage configuration dialog will appear 

         
      • To remove the 'Sata Controler' (or SCSI controller) highlight the 'Sata Controller' icon under the 'Storage tree' pane and click on the 'Remove controller'icon  (it is the rightmost of the icons located below the 'Storage tree' pane. 

         

    • To configure the VirtualBox Guest Additions
      • Highlight the CD icon
      • Click 'Open Virtual Media Manager' icon  placed in front of CD/DVD Device
      • Click on the 'Add' icon , locate and select the VBoxGuestAdditions.iso file
        ( by default on Windows it is the installation directory of VirtualBox - 'C:\Program Files\Oracle\VirtualBox' on Windows, and on Linux one can find it under '/usr/share/virtualbox/' directory).
         
      • Highlight the 'IDE controller' icon and click the 'Add hard disk' icon  which is the rightmost icon on the same line. The Virtual Machine hard disk will be added to the list.
      • A CD drive and a hard drive, both attached to IDE controller) is configured now. The resulting window should look like this.
    • To configure Networking.
      • Click on 'Network' icon  on the left pane
      • Click on 'Adapter 2' tab, check the 'Enable Network Adapter' box, and set 'Attached to' option to 'Host-only Adapter'.  

        (If you get an error about missing adapter your VirtualBox hasn’t been installed correctly.You have to uninstall VirtualBox and install it from scratch.)
    • To configure the System settings
      • Click on 'System' icon  on the left pane and check 'Enable IO APIC' box.  

    • Close the 'Settings' dialog by clicking 'OK'.
    • Now you can Start the virtual machine by double clicking your Virtual Machine entry in the left pane.