1. # boot from your Knoppix cd, and make sure you become root:
    sudo su -
  2. # assume you will install the Knoppix cd on /dev/hda3 (make sure it is large enough, say 800 megabyte, to hold at least the Knoppix iso image and the filesystem's management data). Propagate this preference:
    export PARTIT=/dev/hda3
  3. # export a few preferences:
    export TARGET=/target; export BOOT=$TARGET/boot; export LILO=$BOOT/lilo.conf
  4. # create a filesystem on that partition:
    mkfs.ext3 $PARTIT
  5. # create a mount point $TARGET for that new partition and mount it:
    mkdir $TARGET; mount -t auto $PARTIT $TARGET
  6. # copy the Knoppix cd to hard disk (this may take a while):
    time cp -a /cdrom/* $TARGET
  7. # mount the Knoppix image's boot floppy:
    mkdir /floppy; mount -t vfat -o loop /cdrom/KNOPPIX/boot.img /floppy/
  8. # prepare the hard disk image's boot directory:
    mkdir $BOOT; cp /boot/System.map $BOOT/; cp /floppy/* $BOOT/
  9. # unmount the floppy:
    umount /floppy
  10. # determine which root device you are currently using:
    export THISROOT=`grep root= /etc/lilo.conf|head -1|cut -d= -f2-`; echo your root partition is :$THISROOT:
  11. # generate a lilo.conf which is configured automagically:
    genliloconf /dev/hda $THISROOT "" $BOOT/vmlinuz > $LILO
  12. # add a mysterious line to this newly generated lilo.conf file:
    echo image=/boot/vmlinuz append=\"lang=us noprompt dma ramdisk_size=100000 init=/etc/init initrd=miniroot.gz __BOOT_IMAGE=knoppix\" root=$PARTIT read-only initrd=/boot/miniroot.gz label="KnoppixCd" >> $LILO
  13. # overlink the cdrom's /boot:
    ln -sf $BOOT /
  14. # execute lilo on this new lilo.conf:
    lilo -C /boot/lilo.conf
  15. # you may wish to add the line specifying the mount point of the newly installed Knoppix cd to the /etc/fstab of your other unix installations:
    echo $THISROOT $TARGET auto defaults 0 0
  16. # you can now reboot your machine an select 'KnoppixCd' from your lilo menu