[an error occurred while processing this directive]

Project 1 Setup: VM-For-Everything Instructions

You can use the course VM to do all parts of this assignment. Using the VM for everything has the advantage that you have root access on it. If something goes wrong in you shell (in particular, a fork bomb), you can reboot the machine, and don't have to wait for support to unwedge your account. Also, installing your hacked kernel is a bit simpler, because you build on the machine where you install it. Finally, all your work will be on a 32-bit system, which eliminates the opportunity to produce code that works on a 64-bit system but not on a 32-bit one.

Getting the Virtual Machine

It's /cse/courses/cse451/11sp/FC13-CSE451-2011-04-09.tar.gz, from most any CSE machine: 4.2GB to fetch; 12GB expanded.

Depending on your connection speed, it might be easiest to fetch it while at CSE, either to your portable machine or to your portable flash drive.

Security

In the next section we give you usernames and passwords. Anyone in the world can read this page. It's a good idea not to let your VM be accessible from anywhere in the world.

The VM is configured to allow host-only networking, meaning it can communicate only with the host machine it's running on. I recommend you not change that, for security reasons. You can ssh, scp, etc. to/from the VM from the machine it's running on, and to/from there to anywhere else you might need. By not exposing the VM to the Internet, you can also reasonably not bother to apply the (many) security patches that have been released since the VM was created.

What's on the virtual machine?

Compiling, Installing, and Running Your Kernel

  1. Navigate to ~451user/project1/kernel/linux-2.6.38.2
  2. Say make -j 2 bzImage to compile.
  3. If everything goes well and you want to try installing, say sudo make install
  4. If that goes well, reboot to run your kernel: sudo reboot.

Notes about Kernel Development

References

  1. The 451 VM is derived from the CSE Home Linux VM
[an error occurred while processing this directive]