CS 81.21:  Introduction to UNIX

© 2009 Eric Skagerberg   (All rights reserved.  This material may not be reproduced in printed or electronic format without the express permission of the author.)
Adjunct Instructor, Computer & Information Sciences Department
Santa Rosa Junior College, California
Unix Resources

Page last updated 13 August, 2009


Knoppix Instructions

For Labs 10 and 11, User Account Management and File Systems, you may use Knoppix, a CD-only Linux installation which starts directly from the CD.  It does not require installation, nor does it normally make any changes to the hard drive.  For complete information, please see the Knoppix web site.

You may check out a Knoppix CD for use in the computer lab; ask your instructor if you would like to obtain a CD to take home.  Alternatively, if you have a broadband Internet connection at home, you can download a 700 MB "ISO" CD image file and create a CD with a CD writer; see the Knoppix web site for download locations.  (Make sure you have a broadband connection; by modem, 700 MB would take three days to download!)

Getting Knoppix

  1. Visit the Knoppix web site.
  2. Click the "Download" link
  3. In the "Download from" column, click on a site in the USA.
  4. At "KNOPPIX download agreement," click "Accept".
  5. Scroll to the bottom of the Index page, and click to download the most recent English version of the Knoppix CD image ISO file:
  6. Wait for the file to download; it may take hours, even at high speed.

Running Knoppix from CD

  1. If you have not made a Knoppix CD yet, create one out of the ISO file with a CD writer program and write a label on it.
  2. Place the Knoppix CD in the CD drive.  In Windows, the Knoppix CD may automatically open a browser window to the CD's instruction set.
  3. Restart your computer.
  4. Knoppix starts with an opening screen with the prompt "boot:" at the bottom.  You have about 30 seconds to respond before Knoppix automatically starts booting into its X-Windows KDE environment.
  5. Wait 30 seconds, or just hit the Enter key to run the full Knoppix X-Windows environment.
  6. If you see a message about an invalid video mode, either just wait 30 seconds, or tap the Space bar.
  7. If you have compatible hardware, Knoppix will proceed through its startup process, auto-detecting your hardware, and end up in the KDE ("Kool Desktop Environment") graphical user interface.
  8. Remember that all changes or additions you make to the file system will disappear when you shut down or reboot!  Therefore, complete all of your work in one session
  9. When you finish your work, reboot by clicking the "K" start button, Log Out, and Restart Computer.
  10. Remove the CD and diskette, if present, then press Enter to restart.

Running Knoppix in a Virtual Window

Do you have an Intel Mac or an MS Windows computer? If so, here's how you can run Knoppix in a virtual window, without rebooting:

  1. Download and install the free VirtualBox program:
  2. Then, with the exceptions noted below, you can follow the instructions in "Using VirtualBox to run Linux from within Windows" to run a Knoppix CD image ISO file in a virtual window.
      • (Warning:  If your computer has less than 1 GB (about 1024 MB) of RAM, then your computer may run very slowly when you switch out of and back into the virtual window.)
  3. Start your Knoppix virtual machine.
  4. If you have compatible hardware, Knoppix will proceed through its startup process, auto-detecting your hardware, and end up in the KDE ("Kool Desktop Environment") graphical user interface.
  5. Remember that all changes or additions you make to the file system will disappear when you close the Knoppix session!  Therefore, complete all of your work in one session
  6. To switch your mouse cursor out of the virtual window:
  7. When you finish your work, close the Knoppix session by clicking the "K" start button, Log Out, and Turn Off Computer.  When you see the prompt to remove the CD, hit Enter or Return to close the virtual window.

Getting a Root Shell Command Prompt

  1. Launch a terminal window by clicking on the black terminal window icon on the task bar at the bottom of the screen.
  2. In a terminal window, enter:
  3. Proceed with your commands as root!
  4. See below for directions to copy-and-paste from the terminal window to your web answer form.

About Internet Access


Unix Resources

Unix Course

Back to Eric S. Home Page