This section is specifically for integrating the 405MB MINIX 3 default installation virtual machine for use on CSIF computers
Since the CSIF uses NFS, it is recommended to unpack the Minix image to
/tmp and point VirtualBox to use that image instead of unpacking the image to one's home directory. This reduces latency especially when recompiling the kernel. However, one must not forget to repack and save the image to their home directory after use. Otherwise, the image will be deleted after the nightly reboot. If the system is ever rebooted then
/tmp is removed so it is a good idea save it to your home directory every so once in a while.
- To grab the MINIX 3 Virtual Machine and put it in your CSIF home directory, execute the following commands in terminal assuming that you are logged into the CSIF computers
$ cd ~/
The above commands will extract the compressed files and put them in ~/Minix-book, so make sure you have at least 405MB of free space on your home directory
- Start VMware Player if you haven't already done so; this can be done by either typing in vmplayer in a GUI terminal, or hitting the Windows key on your keyboard that sits between the Ctrl and Alt keys, and then typing in "vmware" with no quotes before clicking on the icon labeled VMware Player
- If you get prompted to update
VMware Player, or if you are taken to a screen where it stops the VMware
services, and updates components of VMware Player, then please contact CSIF Support
- Ignore any prompts to upgrade to VMware Workstation
- Unpack /home/software/vm/minix320.tar.bz2 to
/tmpor to your home directory if you prefer using the commands above
- Open VirtualBox
- Click New
- Type Minix3 for the name
- Select Other for the type
- Select Other/Unknown for the version
- Adjust memory size to 128MB. Click Next.
- Select use an existing virtual hard drive file
- Locate and select minix3.vmdk. This should be located in the extracted directory.
- Click Create
- Select the virtual machine Minix3 and click Start to start the virtual machine.
- Log in as root
- To shutdown, type “poweroff”
Now you are ready to use the MINIX 3 virtual machine on CSIF computers
By default, OpenSSH is not installed on the Minix system. To install OpenSSH, first populate the package database with the latest packages:
$ pkgin update
To install OpenSSH type
$ pkgin install openssh
Type “y” to proceed. The SSH utility should now be installed.
- Poweroff virtual machine session
- Close the virtual machine
cdinto the parent directory of minix320
- Pack the folder using
tar -jcf minix320.tar.bz2 minix320/
- Move tarball to home using
$ mv minix320.tar.bzp ~/
- Press the right Ctrl key to release mouse capture.