Category:OSLabs VMware Image

From SOFTICE

Jump to: navigation, search

This page hosts information about the VMware image made available to operating systems labs students for them to be able to work on these laboratories on their own PC (Windows or Linux).

Contents

Downloading the VMWare Image

  • Our VMware Image can be downloaded at the following link [1]
  • You can unzip it by using the freely available 7-zip software which is available at http://7-zip.org/
  • Unzip the downloaded VMware image in a directory of your choice

Installing VMware server on your PC

You can install the freely available vmware server software on your PC whether it is running Windows or Linux. The vmware server software is available at http://vmware.com/products/server/ you will need to register to get a license number but the process is totally free.

  • Link to windows-specific instructions
  • Link to Linux-specific instructions

Once the vmware server software is installed on your PC, run the vmware console application and click on "open an existing virtual machine". Use the file selection dialog box which just opened to browse to the location where you unzipped the SOFTICE OS Labs vmware image and find the file of extension vmx inside this directory. You can then click on the green "play" icon in the vmware console toolbar to power on the virtual machine.

Booting the VMware OS Labs image

We tried to keep the amount of configuration required when booting this vmware image minimal.

  • Login is "softice", password is "softice".
  • Feel free to change this password at your first login by clicking on the "applications" menu, select "terminal", then issue the "passwd" command. You will be prompted for your current password ("softice") then twice for the new one.
  • When prompted to "create" or "keep" the identifier for this virtual machine, select "keep"

Using the VMware OS Labs image

  • You will find the "applications" menu on the top right of your screen. Inside you have a file browser, text editor and terminal. Refer to the labs for instructions on the commands to use to compile your labs.
  • Solved exercises for the OS labs are in a folder on your desktop.
  • This is a Ubuntu Linux distribution so there is no "root" user, you can execute commands as root by preceding them with "sudo "
  • When done working, you can shutdown the virtual machine in 3 steps;
    • click on the "green running man" icon at the top right of your desktop and select "shutdown".
    • When the shutdown Ubuntu bar is completely empty, click on the "OFF" button in the vmware console toolbar to power off the virtual machine.
    • Then, you can close the vmware console application.

Working through the OS Labs

The purpose of this VMware image is to allow students to work on the Operating Systems Labs we developed on their own PC (windows or Linux). This is better for independent learner or students at institutions which are not interested in hosting their virtual machines on a server.

As of today, the following labs are not working on the VMware OS Labs Image. These will be fixed or redeveloped to fit the new version of the kernel this virtual machine is using (2.6.24.3 vs. 2.6.16.20 in the original labs using user mode Linux).

  • Lab#01
    • Solved exercise #1 ("forkhook"); the hijacking of the fork system call is posing problems thus making it impossible right now to work on this LKM
    • Exercise #2, which expands the above, has the same issue
    • Project #1; same thing
  • Lab#02
    • Solved exercise #2 ("hide a process"); the process still appears on ps output, this is probably due to the fact most of the macros we were using to hide it are now deprecated. Just reusing them didn't quite cut it.
  • Lab#03
    • Project #1 ("forkban"); doens't work right now for the reasons explicited in Lab#01 above


These labs will be revisited and adapted to the new image during fall 2009 (next offering of the IT OS course). Meanwhile, the discussions pages of each lab contains some tips about migrating the labs to the new vmware image and kernel. Other labs shouldn't pose problems. if you encounter difficulties contact me by email. Alessio 04:38, 15 July 2008 (EDT)


Articles in category "OSLabs VMware Image"

There are 0 articles in this category.