Knoppix

What's KNOPPIX

It's the coolest Linux live-CD. 1.8GB software on a single disk and it runs entirely from CD-ROM without touching the hard drives.

Go to the www.knoppix.org page for more information and downloads. See also www.knoppix.net for FAQs and docs (unofficial page).

Changing the language of Knoppix 3.4 ISO images

The knx-customize stuff from below does no longer work with new Knoppix releases. Here is a new hack. It scans the ISO images for lang=XX stings and replaces the language code with a given one. Requires Python 2.3+ (contained on Knoppix if you have an older release, runs also on Win32 etc with Python installed). Download: knoppixlang.zip just extract the files to a Folder and run a command after the following example in a console window:

Usage: python knoppixlang.py --lang=ch KNOPPIX_V3.4-2004-05-04-CH.iso

Note:

The Hex Editor now features a plugin that changes the language of an ISO file. Windows installer available too.
History:
12. May. 2004: released

Starting SSH and Samba without user interaction

This file knoppix.sh can be put either in /KNOPPIX on a remastered CD or onto a boot floppy. Look at the file for a short introduction and about options. Please note that the password is passed on the boot: command line and there is a default password. This is a high security risk! Only use this script in secure environments and for special purposes.

History:
24.Apr. 2003: writen (not public)
24.Apr. 2004: released

Network booting with GRUB

Here is a little HOW-TO on network booting with GRUB and Knoppix. The advatage of this method is that it does not need a DHCP server like Knoppix- Terminal-Server. It uses GRUBs ability to load files over the network (using TFTP) and then uses an NFS server to mount the Knoppix CD image. This is interesting in environments where you have no control over the DHCP server and must not start you own one (unless you want to meet the sysadmin ;-)

This archive knx-netboot.zip does contain the example files and scripts and the description.

History:
8.Apr. 2003: released

knx-remaster

A script that knows how to do several remaster tasks. It helps extracting the original Knoppix ISO and add/remove packages, then create a CD again. With it's help you can create a Knoppix derrivative with you own software.

It can be run with a (X)dialog interface ("knx-remaster -I" or "-- interactive"). It can also be part of shell scripts or Python programs.

It can be downloaded here: knx-remaster-source.tgz.

Python 2.2 is required. No warranties, use at you own risk! Please read the readme.txt in the archive.

History:
17. Mar. 2003: beta release
18. Mar. 2003: some small improvements, bugfixes

knx-customize GUI for win32

Note: This no longer works with newer Knoppix (since it is isolinux based)

This is a little abuse of the Nullsoft installer to create a GUI for knoppix- customize. It allows to change the language of a Knoppix ISO image within a few clicks. Here is the application: knx-customize-image.exe. It will install nothing, it's just that the installer gave a good environment for such a small GUI ;-)

This application can be used to change the boot options of a Knoppix ISO image before burning onto a CD-R. Changing the language is especialy easy and experts can also edit the configuration by hand. No single interaction with the command line is needed.

Interested users might want to have the sources too, so here they are: knx-customize-image-nsis-source.zip. NSIS, sed and knoppix-customize (see below) are required (the later two are included in the archive).

History:
26. Dez. 2002: created
26. Dez. 2002: updated
30. Dez. 2002: knxcust with shorter command line for Win9x
31. Dez. 2002: yet another try to make it work on Win9x
31. Dez. 2002: added readme and disclaimer, yet an other fix

knoppix-customize wrappers

Note: This no longer works with newer Knoppix (since it is isolinux based)

This is a little wrapper script for knoppix-customize. It takes care of extracting and reintegrating the configuration file in the ISO image, if the language has to be changed or the logo replaced.

Examples:

knxiso-setlang knoppix.iso us
knxiso-setlogo knoppix.iso logo.ppm
pxctoppm <mylogo.pcx | knxiso-setlogo knoppix.iso -

Get it here: knxiso-setlang.See the file comment on usage and installation. This is experimental software. Use at your own risk.

It uses knoppix-configure from Kester Habermann (local copy: knoppix-customize.c). And here is a makefile for Linux that compiles knoppix-customize and installs the executable and the scripts (make; sudo make install). If you dont want to install it you have to make sure that the scripts finds knoppix-configure, like export PATH=.:$PATH if your working in one directory. Exiting that shell and opening a new one is recomended after adding the current directory to the PATH, which is a security risk.

To run these scripts on Win32 you'll need Python from www.python.org.

History:
11. Nov. 2002: created
12. Nov. 2002: now using stdio to read/write files

knoppix-customize for win32

This is a quick hack to make it compile under Windows CYGWIN and MINGW compiler. The ZIP archive contains the compiled exe as well as the sources. knoppix-customize-win32.zip

Little reminder about usage: (the commands are typed in a console Window)

  1. knoppix-customize --image KNOPPIX-xx.iso --action export_file --image_file syslinux.cfg --local_file syslinux.cfg
  2. Edit syslinux.cfg, like lang=ch instead of lang=us etc. Make sure that the file stays the exact same size. You may need to remove some # from the end of the file.
  3. knoppix-customize --image KNOPPIX-xx.iso --action import_file --image_file syslinux.cfg --local_file syslinux.cfg
History:
25. Dez. 2002: created

References


DISCLAIMER: THIS IS EXPERIMENTAL SOFTWARE. USE AT YOUR OWN RISK. THE AUTHORS CAN NOT BE HELD LIABLE UNDER ANY CIRCUMSTANCES FOR DAMAGE TO HARDWARE OR SOFTWARE, LOST DATA, OR OTHER DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF THIS SOFTWARE. IF YOU DO NOT AGREE TO THESE CONDITIONS, YOU ARE NOT PERMITTED TO USE OR FURTHER DISTRIBUTE THIS SOFTWARE.

Home