VirtualBox Windows 7 Eng

download VirtualBox Windows 7 Eng

of 24

Transcript of VirtualBox Windows 7 Eng

  • 7/23/2019 VirtualBox Windows 7 Eng

    1/24

    Installation of the

    DigitalSystemsVM

    virtual machine

  • 7/23/2019 VirtualBox Windows 7 Eng

    2/24

    2

  • 7/23/2019 VirtualBox Windows 7 Eng

    3/24

    3

    Installing a VirtualBox virtual machine on Windows 7 SP1 (32 /

    64 bits)

    This document is intended to help you install VirtualBox on a Windows 7 Service Pack

    1 OS, either 32 or 64 bits. It describes the steps to follow for installing a virtual machine thatcontains the necessary applications to solve the assignments of this course and their automatic

    correction. This virtual machine, named DigitalSystemsVM, is a VirtualBox virtual machine

    running the GNU/Linux operating system, specifically Lubuntu 13.10 distribution. However, NO

    previous experience with this OS is required.

    You will need an administrator account in order to install VirtualBox in your computer

    as its password may be requested during the installation.

    In order to follow these steps you must be logged into a computer with Internet

    connection. Along this handbook, you should replace all instances of username with the

    name of the Windows account in which you wish to use the virtual machine.

    Step 1: Installing VirtualBox 4.3.4

    Open a web browser and download the VirtualBox application by typing

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/VirtualBox-Win.exe

    The DigitalSystemsVM machine has been exhaustively tested on the VirtualBox version

    found here so we highly recommend to install this specific version.

    This will download the VirtualBox-Win.exe file to your computer. Depending on the

    browser used, the file may be in the Downloads folder or in a different folder.

    To start the VirtualBox installation, double-click on the VirtualBox-Win.exe icon. You

    will be presented with the following welcome window. To continue, pressNext.

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/VirtualBox-Win.exehttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/VirtualBox-Win.exehttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/VirtualBox-Win.exe
  • 7/23/2019 VirtualBox Windows 7 Eng

    4/24

    4

    The next screen will allow you to choose which modules to install and the folder where

    to install VirtualBox in. You dont have to change anything here. To continue, pressNext.

    In the next window, click on Create a shortcut on the desktop and

    pressNext.

  • 7/23/2019 VirtualBox Windows 7 Eng

    5/24

    5

    A warning will inform you that the installation will now reset the network connection,

    which may result in temporary network failure. Press Yesto continue with the installation.

    You will be prompted with a final confirmation before proceeding with the installation.

    Click Installto start the process.

  • 7/23/2019 VirtualBox Windows 7 Eng

    6/24

    6

    After that the VirtualBox installation will start, displaying a progress bar as shown in

    the next picture.

    Depending on you Windows security configuration, you may be asked to grant

    permission to VirtualBox to install drivers in your computer. To grant the permission click Yes

    and Install. You can also mark Always trust software from "Oracle

    Corporation" to prevent the occurrence of similar messages in the future.

  • 7/23/2019 VirtualBox Windows 7 Eng

    7/24

    7

    A last window will appear to inform you that VirtualBox was successfully installed.

    Uncheck the Start Oracle VM VirtualBox... box and clickFinish.

  • 7/23/2019 VirtualBox Windows 7 Eng

    8/24

    8

    Step 2: Installing 7-Zip

    7-Zip is a file compressor/decompressor that will be used in step 3. If you have this

    application installed in your computer you may skip this step.

    There exist one version of 7-Zip for Windows 32 bits and another for Windows 64 bits.You can check if you have the 32-bits or 64-bits operating system by running:

    Settings Control Panel System and Security System

    (See System Type)

    Download the required version from the address:

    7-Zip for 32-bit Windows

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920.msi

    7-Zip for 64-bit Windows

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920-x64.msi

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920.msihttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920.msihttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920-x64.msihttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920-x64.msihttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920-x64.msihttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/7z920.msi
  • 7/23/2019 VirtualBox Windows 7 Eng

    9/24

    9

    The file will be downloaded into the Download folder. Double-click on the file to

    start the installation. When the welcome window appear, click onNext

    A window with the end user license agreement will appear. Accept the terms by

    marking the checkbox and pressNext

    Next window is intended to specify the type of installation (by default, a full

    installation of the application), and the location where it will be installed (by default, in folderC:\Program Files\7-Zip). To continue pressNext

  • 7/23/2019 VirtualBox Windows 7 Eng

    10/24

    10

    In the next window you can go back to check or modify any previously defined option.

    If there is nothing to check, press Install.

    Depending on how Windows security is set up in your computer, you may see awindow requesting permission to install 7-Zip. If so, grant permission by clicking Yes

  • 7/23/2019 VirtualBox Windows 7 Eng

    11/24

    11

    The installation progress may be monitored in the progress bar window:

    Finally, a last window reports that the installation process has been successfully

    completed. Press Finish to close the window.

  • 7/23/2019 VirtualBox Windows 7 Eng

    12/24

    12

    Step 3: Installation of the virtual machine

    Create a folder named VirtualBox VMs in C:\Users\username\. You can do that by

    selecting New Folder in the Windows Explorer menu as shown in the following picture and

    changing the name from New folderto VirtualBox VMs.

    Next, download the zip file containing the virtual machine from

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/DigitalSystemsVM.zip

    and save it to C:\Users\username\VirtualBox VMs .

    To decompress the virtual machine, right click on the file and select (see next figure):

    7-Zip Extract Here

    https://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/DigitalSystemsVM.ziphttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/DigitalSystemsVM.ziphttps://d396qusza40orc.cloudfront.net/digitalsystems/MaquinaVirtual/DigitalSystemsVM.zip
  • 7/23/2019 VirtualBox Windows 7 Eng

    13/24

    13

    A window monitoring the decompressing process appears:

    You will see a new folder named DigitalSystemsVM that contains the virtual

    machine files, DigitalSystemsVM.vbox andDigitalSystemsVM.vmdk.

  • 7/23/2019 VirtualBox Windows 7 Eng

    14/24

    14

    Step 4: Adding the virtual machine

    In this step you will add the DigitalSystemsVMvirtual machine to VirtualBox.

    Open VirtualBox by double-clicking on the icon in the desktop. You will see the

    following window:

    Add the DigitalSystemVM machine in C:\Users\username\VirtualBox

    VMs\DigitalSystemsVM to VirtualBox. To do so run, from the VirtualBox main window:

    Machine Add

    Select the DigitalSystemsVM.vboxfile and clic Open.

  • 7/23/2019 VirtualBox Windows 7 Eng

    15/24

    15

    You should add the machine only ONCE, before the first use, not in every use.

    Step 5: Running the virtual machine

    To run the machine, press the Start button as shown in the following picture.

  • 7/23/2019 VirtualBox Windows 7 Eng

    16/24

    16

    The window displaying the launch process may remain black during some time,

    depending of the host computer performance. If this happen, dont do anything, just patiently

    wait.

    During booting several windows will appear to inform you that the keyboard and

    mouse may be used directly from the virtual machine. Close these windows by pressing .You may also check the Do not show this message again option to stop these

    windows from popping in the future.

    After booting the DigitalSystemsVMvirtual machine, it will be displayed in a different

    window. DigitalSystemsVM is configured to login directly with the mooccfuser account, with

    the password mooccf. You will be using this account to solve the problems of this course. The

    following picture shows the desktop of the mooccf account with the VerilUOC_Desktop

    application that you will use to complete the course exercises.

  • 7/23/2019 VirtualBox Windows 7 Eng

    17/24

    17

    Before using the virtual machine you may need to change some part of the

    configuration from within the virtual machine.

    The virtual machine has the "Spanish; Castilian - Spanish" keyboard selected by default.

    To change it (for instance, an English keyboard) run the following command found in the main

    menu (this command must be run from the DigitalSystemsVM desktop) :

    Start Menu Preferences Keyboard Input Methods

  • 7/23/2019 VirtualBox Windows 7 Eng

    18/24

    18

    This will open a preference window with an Input Method tab. Click on it and

    check on Customise active input methods to select the desired input method.

    Once the desired configuration is selected, press+ AddandClosethe window.

    Finally, you must go to the lower panel and click on the keyboard icon to select the

    desired keyboard configuration.

  • 7/23/2019 VirtualBox Windows 7 Eng

    19/24

    19

    Step 6: Installing Guest Additions

    The Guest Additionsof VirtualBox are a set of device drivers and system applications

    designed to simplify the use of a VirtualBox virtual machine and optimize its performance. You

    must install this software inside the virtual machine. Therefore, all the commands in this

    section must be run inside the virtual machine. To begin the installation, select

    Devices Insert Guest Additions CD image...

    This will mount a virtual CD with the Guest Additions in the file system of

    DigitalSystemsVM. A window informing that a removable media has been inserted (the virtual

    CD) and allowing you to open the file manager will be open. Click OKto accept.

  • 7/23/2019 VirtualBox Windows 7 Eng

    20/24

    20

    Then the file manager window will display the Guest Additions virtual CD content and

    show the location within the file system here has been mounted. Next figure shows that the

    mounting location is /media/mooccf/VBOXADDITIONS_4.3.X_XXXXX (each X standing for a

    numeric digit). Do NOT close the file manager window because we will need it later.

  • 7/23/2019 VirtualBox Windows 7 Eng

    21/24

    21

    Now you will need to open a terminal in the virtual machine by selecting

    Start Menu Accessories LXTerminal

    To install the Guest Additions package, type in the terminal the following commands

    (be careful, it is case sensitive!):

    cd /media/mooccf/VBOX*

    sudo ./VBoxLinuxAdditions.run

    (when asked for the password type mooccf.Note: While typing the password

    nothing appears in the terminal)

    Note: this may take a while. It may even appear to stop for a moment. Please wait

    patiently until thepromptis displayed again in the terminal, as shown in the figure,

    and then type:

    exit

  • 7/23/2019 VirtualBox Windows 7 Eng

    22/24

    22

    When the installation is done, unmount the virtual CD by pressing the eject button

    shown in the left side of the file manager window, next to the CD name:

    Finally, shut down and reboot the virtual machine.

    Step 7: Shutting down or rebooting the machine

    To shutdown or reboot the virtual machine click on , found on the bottom right

    side of the virtual machine (next to the clock). You will see a window with the options

    Shutdown and Reboot, as shown in the following picture.

  • 7/23/2019 VirtualBox Windows 7 Eng

    23/24

    23

    When the virtual machine is shut down, you may close VirtualBox by running the

    following command in the main window:

    File Exit

    Additional comments

    -We strongly recommend NOT to update the VirtualBox application nor the

    DigitalSystemsVM virtual machine during the duration of this course.

    - You may choose to work with the virtual machine in fullscreen mode. To do so, press

    Right Ctrl + for select from the menu

    View Switch to Fullscreen

    Note: Sometimes, after switching to full screen, the bottom panel of the virtual machine takes a

    few seconds to position. Same happens when switching from full screen to window.

  • 7/23/2019 VirtualBox Windows 7 Eng

    24/24

    24

    - Some machines may not have the hardware virtualization support VT-x/AMD-x

    available. To assure that VirtualBox can run DigitalSystemsVM properly in any case, we have

    chosen to have VT-x/AMD-x acceleration deactivated by default.

    If your computer supports this feature, you may choose to turn it on to increase the

    speed of DigitalSystemsVM. To do so, with DigitalSystemsVM closed, and from the VirtualBox

    main window, select DigitalSystemsVM and click on:

    Settings System Acceleration Tab Enable VT-x/AMD-V