Act now!! EU citizens must contact the members of the conciliation committee for the European Parliament (list with contact infos and scores to previous votes) and their ministers and EU Council representatives to inform them about the importance of protecting Net neutrality (2 pages note). They must ask them to adopt firm positions to protect innovation and citizens' fundamental rights Net neutrality.

Customizing Knoppix

Abstract

Knoppix is a Linux distribution that can boot without installing anything. Knoppix has lots of softwares and is suitable in most of the cases. But after a while you always miss a usefull software or a special shortcut. What's the solution? Create your own bootable CD.

This web site is not updated anymore.

Some softwares and documents found here may be outdated. Please visit my new web site: http://www.cdsoft.fr/

Certains logiciels et documents sur ce site ne sont pas à jour. Merci de consulter http://www.cdsoft.fr/

Caution!

The scripts that are available here are released without any waranty and I have no time to spend to support them.

Important

I had some troubles with an image generated by an old version of this script (a partition table has been destroyed while mounting a FAT partition). So it's wiser to test the image before using it. You have been warned!

Contents

Customizing

There are many sites to explain this procedure (Knoppix Remastering Howto for example). So there is nothing new here. I have just put together the commands into a script to automate the creation of the ISO image. You will have to adjust the script to your needs.

I used these scripts to customize Knoppix 3.7 and 5.1.1.

Knoppix 3.7

  • Removed packages

    • Some games
    • Non french packages
    • Windows managers (I only kept IceWM)
    • Emacs
    • NTFS partition management packages
    • Useless drivers (for me)
    • KDE
    • See the script for further details...
  • Added or updated packages

  • Configuration

    • Simplified /etc/apt/sources.list file
    • Use french as the default language
    • Use IceWM as the default window manager
    • Using config=scan and home=scan options
    • The floppy directory contains a boot floppy disk (GRUB)
    • See the script for further details...

Knoppix 5.1.1

  • Removed packages

    • Non french packages
    • OpenOffice, Wine
    • See the script for further details...
  • Added or updated packages

  • Configuration

    • Simplified /etc/apt/sources.list file
    • Use french as the default language
    • Using config=scan and home=scan options
    • The floppy directory contains a boot floppy disk (GRUB)
    • See the script for further details...

Obtaining the script

Download the archive and unpack it into a directory (the partition must have enought free space for the final ISO image).

Customize the script

The master.sh script has some variables to adapt to your configuration:

ORIGINE
Complete name of the ISO image to customize. These images are available at the Knoppix site.
VERSION
Version of the ISO image.
PARTITION
Partition used for the temporary files (4 or 5 Gb).

You can change the added and removed packages lists (REMOVE_UNUSED_PACKAGES and INSTALL_NEW_PACKAGE functions). Just dig into the script...

Executing the script

To run the script:

master.sh

To build a new image:

master.sh new

Each successfull stage is stored in $PARTITION/knx/deja_fait. If the command fails, just fix the problem and execute master.sh again. The successfull stages (like the unpacking of the KNOPPIX file) won't be made again.

Testing the new image

To test the new image you can either burn it on a CD or use the excellent QEMU:

qemu -user-net -cdrom KX_VX.Y-YYYY-MM-DD.iso