Nano-RK Virtual Box Install Guide

Virtual Box (VBox) is an x86 virtualization software package. This document briefly describes how to install VBox and its related useful packages.

1) You would want to install VBox if:
- You are running Windows or Mac OS-X natively on your machine and you want to use Linux.
- You want to retain the current OS and you do not want to dual-boot.
- You have atleast 2GB RAM and 10 GB of free-space on your hard drive.

2) You can download VBox for your host operating system (the OS that is running currently on your machine) here:
"3) For instructions on installing VBox and creating a virtual machine , visit:
[http://www.virtualbox.org/manual/UserManual.html#installation":http://www.virtualbox.org/wiki/Downloads]

4) It is recommended that you install Guest-Additions as this will enhance virtual machine environment.
It offers a bunch of features such as Mouse Pointer Integration, Better Video Support, Shared Folders and more.
- Guest Additions are to be installed inside the virtual machine after the guest operating system has been installed.
- You will have to first prepare your guest system for building external kernel modules. Open a terminal and type:

# sudo apt-get install dkms

You will have to install DKMS before installing the Linux Guest Additions.
- Mount the VBoxGuestAdditions.iso file as your Linux guest's virtual CD-ROM drive.
- Change to the directory where your CD-ROM drive is mounted and execute
#sudo ./VboxLinuxAdditions-x86.run

5) If you are using older versions of Linux as the guest OS, then you will need to modify the configuration file of X server
to support display settings apart from the settings setup before the guest-additions installation.
The configuration file is usually found at:
/etc/X11/xorg.conf

- Here is an example configuration file with additional display modes and mouse pointer integration:
Section "Device" 
        Identifier      "Configured Video Device" 
        Driver          "vboxvideo" 
[[EndSection]]

Section "Monitor" 
        Identifier      "Configured Monitor" 
[[EndSection]]

Section "Screen" 
        Identifier      "Default Screen" 
        Monitor         "Generic Monitor" 
        Device          "VirtualBox graphics card" 
        [[DefaultDepth]]    24
        [[SubSection]]      "Display" 
                Depth   24
                Modes   "1024x768" "800x600" "640x480" "1600x900" 
        [[EndSubSection]]
[[EndSection]]

Section "Input Device" 
Identifier "Configured Mouse" 
Driver "vboxmouse" 
Option "CorePointer" 
[[EndSection]]

6) To create a shared folder:
- Select "Shared Folders" options from the "Devices" menu on the graphical user interface of a running virtual machine.
- You will then need to enter the path to the folder that you want to share on your host operating system.
- Then, you can mount the shared folder from inside the VM by using the following command:

#mount -t vboxsf [-o OPTIONS] sharename mountpoint

- Replace "sharename" with the share name that you specified on the gui earlier.
- Replace "mountpoint" with the path where you want the shared folder to be mounted on the guest os. (e.g. /mnt/shared).