Matriux Community

VirtualBox (http://www.virtualbox.org/) is an x86 virtualization software package, originally created by German software company Innotek, now developed by Sun Microsystems as part of its Sun xVM virtualization platform. It is installed on an existing host operating system; within this application, additional operating systems, each known as a Guest OS, can be loaded and run, each with its own virtual environment.

Goto Matriux download page (http://www.matriux.com/download.html) and download the ISO image of latest version of Matriux (http://www.matriux.com/index.html) by clicking on the link which says Click here to download the ISO Image. (http://s283418514.onlinehome.us/distro/0.9.4/matriux-0.9.4-091127.iso)

End User License AgreementRead the license carefullyIf you are okey with the license, select the radio button which says " I accept the terms in the License Agreement" and then click on the "Next" button to continue the installation

For setting up the VirtualBox (http://www.virtualbox.org/) properly, it will reset all the network connections on the system. So close all your browsers, download manager, chat clients etc before clicking on Yes button

Now you are ready to install VirtualBox (http://www.virtualbox.org/) onto your systemIf you want to change any installation settings by going back, do that now or never ;)(http://i941.photobucket.com/albums/ad251/Abhi1299/VirtualBox_Matriux_KDE/vbma9.jpg)

You can configure hard disk for virtual machine hereSince it is the first time, we are going to make a virtual machine, we will choose the option to create a new hard disk(http://i941.photobucket.com/albums/ad251/Abhi1299/VirtualBox_Matriux_KDE/vbma21.jpg)

Here you can choose the type of storage, dynamically expanding type storage will consume your original HDD space according to the file size of Guest OS, while Fixed storage size will reserve the space from your original HDDHere we will go for "Dynamically Expanding storage"(http://i941.photobucket.com/albums/ad251/Abhi1299/VirtualBox_Matriux_KDE/vbma23.jpg)

Step 24------------

Here you can specify the name and maximum storage area for this virtual hard disk(http://i941.photobucket.com/albums/ad251/Abhi1299/VirtualBox_Matriux_KDE/vbma24.jpg)

Thanks for a good tutorial on installing Matriux in VirtualBox. I also use this as a platform to run Matriux and I thought I would chime in with how to get the Guest Additions running.

Once Matriux has been installed and you have rebooted the VM, in the VM menu bar click devices and then "Install Guest Additions". you will get a pop-up in the VM notifying you that a disk has been inserted. Open a konsole terminal (start>system>Konsole Terminal) and then enter:

sudo mount /dev/cdrom /media

You should get a message like "mount: block device /dev/sr0 is write-protected, mounting read-only"

Ubuntu doesn't come with the necessary tools to build kernel modules and such, so you will first have to install them. you can do this from the konsole terminal by typing in:

sudo apt-get install build-essential linux-headers-generic

EDIT: You may get some error messages from apt during this stage, don't worry about it and continue with the next step.and when that is done:

sudo apt-get install linux-headers-2.6.28-13-generic

(or for a more portable method)

sudo apt-get -s install linux-headers-`uname -r`

EDIT: I mad a mistake here, I was using the -s switch for testing. It doesn't belong there. That tells apt to do a dry run. The command should be:

sudo apt-get install linux-headers-`uname -r`

once you have installed all that, you can invoke the Guest Additions installer:

sudo /media/VBoxLinuxAdditions-x86.run (for the x86 version)

Hopefully it will give some messages about building headers and such, then prompt you to reboot. Go ahead and reboot the VM.EDIT: I forgot to mention that when it boots back up, it may seem to stall at a console login window. Don't enter anything there... just give it time and the window may resize some and the GUI login should kick in.When it starts back up you can verify the proper install by dragging the corner of the window... when guest additions are installed, the desktop will resize dynamically to a resized VM window. You will also be able to do things like copy and paste between host and guest, and use the shared folder feature (right click folder icon in bottom of VM window, click shared folders, click the add button, choose a path, then within a konsole terminal on the guest, type "sudo mount -t vboxsf sharedFoldername /media").

Once you have the Guest Additions correctly installed, I highly suggest backing up the VDI file for the Matriux VM. I have found this better than using the snapshot feature, because (on my system) having a differencing snapshot active can really kill performance. At least with a backup VDI, you can restore to a point where you have the GA's installed if something bad happens.

A couple notes on bugginess within VirtualBox... on rare occasions when starting the VM I would get an error about some kind of checksum problem and it wouldn't start, but if I just shut it down and restarted, everything would be ok. As far as the networking.... I have eth0 on my VM set to NAT, and eth1 set to internal network. The NAT seems to lose it's mind when you close the machine and save state, then restart it... in order to have NAT work you have to sudo dhclient when you restore the machine. If you actually turn the machine off, this shouldn't be a problem. If I recall correctly, to get the internal network to function properly, you have to add a dhcp server using the VBoxManage cli... see the help file for details.

I hope this helps someone... if there are any questions about it, just ask.