Originally Posted by
Capricorny
There are actually several rather different methods working. My (and some others') preferred way is to
1. Copy the compressed KNOPPIX image plus the persistent image to harddisk
2. aufs-mount them like in a running KNOPPIX instance
3. "unwrap" the /UNIONFS file system by copying (rsyncing) most of it to a remastering directory.
4. Do some minor modifications, like copy /home and /var over to a new persistent image, and copy the original Knoppix versions of these directories to the file system to compress.
5. Create isofs from the remastering directory, and compress that to a new cloop image. Squashfs is a good alternative to cloop, but requires modification of minirt.gz
6. Create new persistent image from /home and /var.
7. Copy the new versions of KNOPPIX(.sq) and knoppix-data.img into an existing KNOPPIX directory, and test run that in qemu. By setting up main drive grub to boot the remastered KNOPPIX image, you can test run it by running qemu /dev/sda & and choose the new boot option from grubs menu. There you may also make modifications.