----------------------------- Using the Knoppix Linux CDROM ----------------------------- -Ian! D. Allen idallen@idallen.ca The Knoppix CDROM for DAT2330 comes from: http://www.knopper.net/knoppix/ The version used is: KNOPPIX_V3.2-2003-07-25-EN.iso Download size: 726,974,464 bytes. The Knoppix version of Linux is based on the Debian distribution, and it runs entirely in memory, without using any part of your hard disk. You can use Linux commands to mount partitions on your hard disk; but, these mounts are not done by default. Everything you do inside Knoppix is lost when you shut down Knoppix. Even the file system is an in-memory file system that disappears when the system shuts down. Nothing in Knoppix is saved. Getting a CDROM --------------- Your first Knoppix CDROM is given to you free (obtain one from your instructor). Bring it to all your Lab sessions. If you lose or damage your CDROM, you must replace it. You can copy one from another classmate, download it from Knoppix (see the version information above), or see your instructor to pay for a duplicate to be made. Booting in Lab and at Home -------------------------- Insert the Knoppix CDROM and reset or reboot your computer. (At home, you may need to adjust your BIOS so that your computer boots from a CDROM before the internal disk drive.) When you see the "boot:" message, you may press RETURN to speed up the boot process; otherwise, it will time out and continue on its own after a half minute or so. Pay attention to the boot messages. Reboot if you see any errors. If the errors persist, get a new Knoppix CDROM and try again. If the errors persist, label this computer as having a bad CDROM, tell your instructor about the computer with the bad CDROM, and move to a new computer. Booting at Algonquin -------------------- ITS has disabled most computers on campus so that they cannot run anything except Microsoft Windows. You will not be able to boot your Knoppix CDROM in any of the ITS labs. Shutting down KNOPPIX --------------------- To gracefully end your Knoppix Linux session and eject the CDROM, either use the GUI "logout" button or become the root Super User and type "shutdown -h now" at a root shell prompt. (Technically, since nothing from Knoppix is saved, you can just hit the RESET button to reboot your computer; but, don't get into the habit of doing this with a Unix system that has a real hard disk!) Accounts under KNOPPIX ---------------------- The GUI interface comes up as userid "knoppix" (no password). The root account ("su root") also has no password. Remember that *NOTHING IS SAVED* when you shut down Knoppix. The Knoppix file system is RAM-based; it disappears when you power off. You must use Knoppix to connect to another computer; or, you must copy your work from Knoppix to another computer before you shut down. A Better Browser ---------------- Knoppix starts up with the KDE Konqueror browser open. I recommend closing this browser and using Mozilla instead. Mozilla is available in the task bar at the bottom of the screen. ============================================================================= Optional Material: ------------------------------------------- Printing from Knoppix in Algonquin Lab T111 ------------------------------------------- To configure Knoppix to have a printer queue that sends print jobs to the Lab printer: 1. Startup a Konsole terminal from the GUI interface. 2. Become the root super-user using the "su" command: knoppix@ttyp0[knoppix]$ su root@ttyp0[knoppix]# Note how the prompt ends in a "#" instead of a "$" for the root user. 3. Start the CUPS printer daemon (must be done as root): root@ttyp0[knoppix]# /etc/init.d/cupsys start Starting CUPSys: cupsd 4. Exit the root user. (Do not work as "root" on a Unix system!) root@ttyp0[knoppix]# exit knoppix@ttyp0[knoppix]$ Note how the prompt reverts to its usual form, ending in "$". 5. In the Knoppix GUI go to the leftmost "K" icon ("Start Applications") in the bar at the bottom of the screen. Click and slide up to "Settings", across and down to "Printing manager". Select it. 6. In the Printing Manager (KDE Control Module) window, make sure the selection box at the bottom of the screen says: Print system currently used: CUPS (Common UNIX Print System). 7. In the Printing Manager window, select the top left icon: Add Printer/Class 8. In the Introduction/Welcome window, select Next. 9. In the Backend Selection window, select Remote LPD queue. 10. In the LPD Queue Information window, enter this: Host: lex1855.algonquinatc.com Queue: lp Fill in the above two fields and then click on Next. (The Host name comes from the label on the front of the printer itself.) 11. In the Printer Model Selection window, select a Manufacturer of Lexmark and a Model of Optra S 1855. Then click on Next. 12. In the Printer Test window, just click on Next. (You don't need to send a test page to the printer.) 13. In the Banner Selection window, just click on Next. (No banners needed.) 14. In the Printer Quota Settings window, just click on Next. 15. In the User Access Settings window, just click on Next. 16. In the General Information window, enter this: Name: lp Location: T111 17. In the Confirmation window, click on Finish. You should now see your printer listed as "lp" in the Printing Manager window. Select this printer when you need to print something from a web browser. --------------------------------- Booting without the window system --------------------------------- You can boot Linux without the X11 Window system using this method: Wait for the Knoppix "boot:" prompt. Pay attention - the prompt only appears for a few seconds before the machine takes over and comes up with the full windowing system. When you see the "boot:" prompt from Knoppix, type this after the prompt: knoppix-txt 3 (Remember to press RETURN after each line you enter at a prompt.) The Knoppix system will continue to boot. Again, watch for errors. When you get a "root@tty1" prompt, Knoppix has booted successfully.