Customize an Ubuntu Live CD / USB
"The default ubuntu live CD is nice: it can boot fast, detect the hardware correctly, etc. But I always dreamed of customizing it (eg. add medibuntu support, etc.). The remaster_ubuntu.sh script offers a simple approach to do just this: we start with a working live CD ISO image, change its contents, and create a new live CD image. [...]
This script allows to customize an Ubuntu live CD in 3 simple steps:
1. extract the contents of an ubuntu CD ISO image to your hard drive
2. chroot to the working area containing the extracted CD contents. This allows to do all the /etc configs, aptitude purge/install, etc. to prepare the future ISO image
3. generate a new ISO image containing the (hopefully modified) working area you just prepared"