Setting up VirtualBox: Difference between revisions

From KolibriOS wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Getting started =
First, download the KolibriOS distribution of your like, you may chose between a floppy or CD distribution.<br>
First, download the KolibriOS distribution of your like, you may chose between a floppy or CD distribution.<br>
The downloads on the site are packed with 7-zip, you'll need 7-zip or another unzipper to unzip the file.<br>
The downloads on the site are packed with 7-zip, you'll need 7-zip or another unpacker to unzip the file.<br>
Extract the file called kolibri.img (for the floppy distribution) or kolibri.iso (for the CD distribution) to a directory on your harddrive.<br>
Extract the file called kolibri.img (for the floppy distribution) or kolibri.iso (for the CD distribution) to a directory on your harddrive.<br>
Remember where you have put it.<br>
Remember where you have put it.<br>
= Creating the VM =


Then, after installing VirtualBox, click the 'new' button.<br>
Then, after installing VirtualBox, click the 'new' button.<br>
Line 21: Line 25:
[[Image:vbox-floppy-5.png]]
[[Image:vbox-floppy-5.png]]


Ok, the virtual machine is created, but we still need to attach the CD/floppy.<br>
= Mounting the virtual floppy/cd image =
 
Now that the virtual machine is created, we need to attach the CD or floppy image.<br>
The CD image comes with some extra programs, but it's easier to update the floppy image when you plan to do some development.<br><br>
 
[[Image:vbox-floppy-6.png]]
[[Image:vbox-floppy-6.png]]


Line 35: Line 43:
[[Image:vbox-floppy-9.png]]
[[Image:vbox-floppy-9.png]]


Since version #4529 it's possible to use the USB-tablet input device.<br>
= USB =
When using this device, it's no longer needed to capture and release the pointing device to the Guest OS.<br>
 
KolibriOS has support for quite some time now, and it can be useful to mount a USB device connected to the host machine, onto the virtual machine. <br>
To do this, you'll need to install the VirtualBox guest additions and enable USB support for the virtual machine. <br>
When you're using linux, you'll also need to be a member of the vboxusers group for USB to work.<br>
To become a member of this group, you may use the following command:
<code>
sudo usermod -aG vboxusers <username>
</code>
<br><br>
Since version #4529 it's possible to use the VirtualBox USB-tablet input device.<br>
When using this device, it's no longer needed to capture and release the pointing device to the Guest OS, which may be convenient.<br>
[[Image:Virtualbox_usb_tablet.png]]
[[Image:Virtualbox_usb_tablet.png]]


= First run =
Now just click start, and let it fly!<br>
Now just click start, and let it fly!<br>
[[Image:vbox-floppy-10.png]]
[[Image:vbox-floppy-10.png]]


[[Category:Manuals]]
[[Category:Manuals]]

Revision as of 13:10, 3 March 2014

Getting started

First, download the KolibriOS distribution of your like, you may chose between a floppy or CD distribution.
The downloads on the site are packed with 7-zip, you'll need 7-zip or another unpacker to unzip the file.
Extract the file called kolibri.img (for the floppy distribution) or kolibri.iso (for the CD distribution) to a directory on your harddrive.
Remember where you have put it.

Creating the VM

Then, after installing VirtualBox, click the 'new' button.

Error creating thumbnail: Unable to save thumbnail to destination

Type the name for your virtual machine and select the OS type.

Error creating thumbnail: Unable to save thumbnail to destination

Choose the amount of RAM you want to use, 64 Mb is enough.
Unless if you want to run DOSbox or other heavy applications, 256 Mb may be a better setting then.

Error creating thumbnail: Unable to save thumbnail to destination

We dont need a harddrive.
If you'd like to use a harddrive, you will need another virtual OS to format it, as KolibriOS currently does not have a format program.

Error creating thumbnail: Unable to save thumbnail to destination

If you chose not to use a harddrive, you'll get this warning, just continue.

Error creating thumbnail: Unable to save thumbnail to destination

Mounting the virtual floppy/cd image

Now that the virtual machine is created, we need to attach the CD or floppy image.
The CD image comes with some extra programs, but it's easier to update the floppy image when you plan to do some development.

Error creating thumbnail: Unable to save thumbnail to destination

If you chose to use the CD image, simply select the CD/DVD drive and add the iso as shown in the picture.

Error creating thumbnail: Unable to save thumbnail to destination

If you however would rather like to use the Floppy image, we'll need to add a floppy controller first.

Error creating thumbnail: Unable to save thumbnail to destination

Once the floppy controller is added, attach the kolibri.img virtual floppy as follows.

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

USB

KolibriOS has support for quite some time now, and it can be useful to mount a USB device connected to the host machine, onto the virtual machine.
To do this, you'll need to install the VirtualBox guest additions and enable USB support for the virtual machine.
When you're using linux, you'll also need to be a member of the vboxusers group for USB to work.
To become a member of this group, you may use the following command: sudo usermod -aG vboxusers <username>

Since version #4529 it's possible to use the VirtualBox USB-tablet input device.
When using this device, it's no longer needed to capture and release the pointing device to the Guest OS, which may be convenient.

Error creating thumbnail: Unable to save thumbnail to destination

First run

Now just click start, and let it fly!

Error creating thumbnail: Unable to save thumbnail to destination