How to Install ROSA in VirtualBox

From Rosalab Wiki
Jump to: navigation, search
This guide describes installation of ROSA 2012 LTS but most of its parts equally apply to ROSA 2011, with only differences in appearance

VirtualBox is a virtualization solution used to launch operating systems inside virtual machines without a need to install it to real hardware. VirtualBox creates a separate file with hard drive image where operating system can be installed. This image is used by a virtual machine which is actually just one more window in your system but has a full-functional OS inside.

VirtualBox is convenient when it is necessary to often switch between different OSes (for example, when testing behavior of some application in different distributions). One should note that virtualization consumes significant resources, and you need sufficient RAM to launch virtual machines without significant performance drop.

Installing VirtualBox in Windows(TM)

In order to install VirtualBox in Windows(TM), one should go to official site and choose a version of the product suitable for your OS version and hardware platform. You will be provided with a wizard which will help to install VirtualBox on your machine.

1. After installation, launch the VirtualBox application. In order to install ROSA, you will need to create a virtual machine first. This can be done using the "Machine" - "New..." menu entry. VirtualBox will provide you with a step-by-step wizard with a lot of hints. The wizard is very intuitive, so we will not describe it here. After the machine is created, it will be displayed in the list of machines at the left side of the VirtualBox window.
ROSA VB New en.png

2. The next step is to setup system settings. Select your machine and then click "Settings...". Go to the "System" section. Here you should set the settings suitable for you purposes. If in doubt, you can read hints displayed at the bottow of the window.

Note that if you are going to install the 32-bit ROSA in VirtualBox, make sure you have PAE enabled in the settings of the virtual machine (see "System" - "Processor" - "Enable PAE/NX").

3. Now go to the "Storage" section in the Settings window. Select "IDE Controller", click on the CD image, press "Choose disk" and choose ROSA ISO-image. Press "ОК" and return to the main window. Now you can press "Start" to launch your virtual machine. The machine will boot from ISO image and ROSA installation will begin.

Installing ROSA in VirtualBox

So now you can select your virtual machine and press "Start" in the top part of the VirtualBox window. Since we are installing ROSA to a virtual machine, it is safe to leave default values for most of parameters asked during installation.

  1. After launching from CD, you should choose the 'Install System' entry. The installation wizard will appear.
  2. In the next wibndow you should setup disk partitions, but since we are installing OS to a clear virtual machine, let's use what the wizard suggests and just press "Next".
  1. In the subsequent two windows you can just press "Next", as well.
  2. After that, installation of packages will be started. This can take some time.
  1. The next step is to setup the Grub loader. Leave all parameters 'as is' and press "Next".
Please ensure that Grub is installed to the ATA VBOX and not to your physical drive! To do this, check that the "Boot device" is set to a proper value.

  1. In the next two windows just press "Finish" without changing anything. This will finish the installation; ROSA is now installed and ready to be launched.
"Congratulations! If you reach this point, the system is installed and ready to be launched!"

Launching ROSA in VirtualBox

  • To launch the recently installed system, return to the VirtualBox main menu and edit settings of your virtual machine. In the "Storage" section choose your ROSA image, click on the CD picture in the Attributes and choose "Remove disk from virtual drive".
ROSA Remove Disk en.png
  • Return to the VirtualBox main menu and press "Start". The virtual machine will be launched and you will see the Grub Loader menu. Choose the entry corresponding to your ROSA installation (normally, it should be highlighted by default).
  • Then you will be asked for the root password, and provided with a dialog to add a user to the system.
  • In the Login screen, enter the password for user you have recently created
  • Now ROSA is configured and ready to be launched in VirtualBox.