2. Running Your System with Knoppix

2.1. What is Knoppix?

Knoppix (http://www.knoppix.net) is a free version of the Linux operating system that is prepackaged to run entirely from a CD. It therefore does not need to be installed onto your computer's hard disk. Knoppix has a graphical interface which is similar in style to Microsoft Windows and should be easily useable by anyone who is familiar with Windows XP.

2.2. Obtaining a Knoppix CD

You will need to download the Knoppix software and burn it to a CD. This can be done using the machines in the OUCS Help Centre.

  • Go to a Knoppix download site, listed at http://knopper.net/knoppix-mirrors/index-en.html and download the current English release - the file will have a name such as: KNOPPIX_V4.0.2CD-2005-09-23-EN.iso (this is Knoppix version 4.02, released on 23rd September 2005, in ENglish). The .iso extension signifies a CD ISO image file - this will typically be around 700 Mbytes in size so may take a while to download.
  • Use the PC's CD-writing software (e.g. Nero, Roxio etc.) to burn the ISO image to a blank CD. CD-writing software usually has a specific option for doing exactly this.

Note that some distributions of Knoppix may lack the CD-writing utility described later on this document.

2.3. Booting Your Machine from a Knoppix CD

To boot (i.e. start up) your machine from the Knoppix CD, switch the machine on and immediately insert the CD into the CD drive. You may see a message on the screen telling you hold down a key, usually the <C>.

If your machine appears not to be starting up from the CD, you may need to change the "boot priority" settings on the machine's BIOS Setup screen. To access this screen, you need to press a key (usually <F1>, <F2>, <F10> or <DEL> depending on the machine's manufacturer and model) - there may an onscreen message about what to press, or it may be mentioned in the computer's user guide. On the Setup screen, look for a setting called something like Boot Priority and use the menu controls to make sure that CD drives have a higher priority than hard-disk drives. Save the new settings and restart the machine.

On the initial Knoppix screen, the system will pause with the word boot: displayed at the bottom. Just press the <Return> to continue booting into Knoppix.

When Knoppix has finished starting up, the system may display a web page about Knoppix. Click on the X in the top right corner of the window to close it.

2.4. Using Knoppix

The Knoppix interface is similar to Microsoft Windows in many respects. It has a Desktop on which icons are placed for resources such as programs or disk drives. Your machine's main hard disk will normally appear as Hard Disk Partition [hda1]. If you single-click on the icon it will display the drive's contents in a window. Any other drives you have connected, e.g. external USB pen drive or hard drive should also have icons. You can insert additional USB devices at any time and a corresponding icon should appear a few seconds later. Because Knoppix runs from CD, it sometimes takes longer to respond than you may be expecting.

You can move or copy files and folders in Knoppix in the same way as Windows, by:

  • Dragging and dropping
  • Cutting and pasting using the Windows-style right-click menu options.
  • Using the [Copy to] and [Move to] right-click menu options.

A bar along the bottom of the Knoppix desktop display has further options - the large K is the equivalent of the Windows Start button.

2.5. Writing to External Devices with Knoppix

You may find that when you try and write to an external storage device with Knoppix, it seems not to work. If you look at the status bar at the bottom of the target window, you may see a message of the form You cannot drop items in a directory in which you do not have write permission. If this happens, you probably need to change the ‘Read/Write Mode’ of the target disk partition. To do this:

  • Right-click on the device's icon on the desktop
  • On the local context menu that appears, choose [Actions] and then [Change read/write mode] and then click the Yes button on the confirmation screen.

2.6. Burning CDs with Knoppix

The standard Knoppix CD includes a CD/DVD burning utility called K3b - accessed via the [Multimedia] section from the Knoppix [K] button. If you have a CD or DVD writing drive, you could use this as another backup medium.

On the K3b opening screen, click the icon New Data CD Project - this will open up a Project pane containing the icon K3b Data Project into which folders and files can be placed for burning to CD. Material can be dragged either from the desktop, or from K3b's upper pane - the hard disk will be located in the file tree as Root/mnt/hda1. The CD you create will have the same layout of files and folders as you set up within the K3b Data Project.

When you have finished compiling the CD contents, click on the Burn... button at the bottom right of the K3b window. After changing any burn settings (generally not needed) click on the Burn button.

2.7. The Ubuntu Live CD Option

If a Knoppix CD is not available, a similar product called Ubuntu could be used instead - you need the "Ubuntu Live" CD. Ubuntu is less attractive than Knoppix in that takes much longer to start up and also requires the PC's hard drive to be explicitly mounted before it can be accessed.

To mount the PC hard drive in Ubuntu:

  • On the [Applications] open up the Terminal applications. In the Terminal window type the command: sudo mount -o uid=1000 /dev/hda1 /mnt
  • On the [Places] menu, look for Computer then find File System, and look for /mnt amongst the list of folders. Click on /mnt to open the hard drive.

Ubuntu does appear to automatically mount USB flash drives, however.

To write files to CD, insert a blank CD into your CD-writing drive and the CD Writer utility will automatically launch. Click on Burn Data CD and Ubuntu will open a CD/DVD Creator window. Drag the all files to be copied to the window, then click Write to Disc.

Up: Contents Previous: 1. Introduction Next: 3. What to Back Up