How to make Freeduc-USB
The live USB thumbdrives Freeduc-USB on a derivative of the distribution GNU/Linux Debian, named KNOPPIX.
Méthod, in six stages
- Get the last version of Knoppix, via `torrent`, from servers of University of Kaiserslautern: http://torrent.unix-ag.uni-kl.de
- With the kernel module `cloop`, the compressed contents of KNOPPIX are copied to a non-compressed directory, named `live`. Data of this distribution which can be acccessed without the module `cloop` are copied to a directory named `compressed`.
- The file tree under the directory `live` is characteristic of a
working GNU/Linux distribution. With the command `chroot`, one enters the
context of that distribution, and one applies some changes:
- define repositories for Debian packages;
- remove packages which are not kept in the final product;
- install packages which will make the future Freeduc-USB version;
- various updates; write some scipts to launch at startup (for instance, with Freeduc-Wims, launch the web server, then open the Wims service in one window of Firefox);
- compress the file tree under `live`, into one or more files of a subdirectory of `compressed`, to replace similar files coming from the original KNOPPIX distribution;
- adjust some *boot* parameters under `compressed/boot/syslinux`, like the welcome screen visible during the *boot*, options available to end-users, keyboard layout during the *boot*, etc.
- create a USB thumbdrive Freeduc-USB, with two partitions, data filled into the first partition, and ceate the *boot* sector.