LiveCD build

From ElphelWiki
Revision as of 03:25, 27 March 2006 by 85.202.189.11 (talk)
Jump to: navigation, search

This description will allow you to build your own Elphel Live CD/DVD based on Knoppix 4.0.2 CD/DVD.

You must have:

KNOPPIX_V4.0.2CD-2005-09-23-EN.iso (md5sum 1188f67d48c9f11afb8572977ef74c5e)
or
KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso (md5sum 6e8532421c57fe3a838fe11df604c842)

For CD remastering: At least 1 GB of FREE RAM+Swap total (e.g. 256M ram, and 750M swap AVAILABLE), 3 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition

For DVD remastering: At least 5 GB free RAM + swap (for fullsized DVD), 15 GB free on a Linux filesystem (ext2/3, xfs, etc.) formatted disk partition

NOTE: All commands needs root privileges.

Please, make the following steps:

1. Install the cloop software if needed.
For non-debian GNU/Linux systems you should uncompress cloop-2.01.tgz archive and run ./install script inside the cloop-2.01 folder. This command will make and install the cloop-utils: create_compressed_fs and extract_compressed_fs.

2. Edit livecd-make.conf:
CD=../cd.iso - path to CD image (if needed)
DVD=../dvd.iso - path to DVD image (if needed)
LANG=us - default language for Knoppix

3. For CD remastering, please, run the following command:
./livecd-make
- the resulting ISO image will be less than 700Mb, but this method is slow. For fastest remastering of Live-CD you can use the "quick" option:
./livecd-make quick and also you must delete fimages for 313 and 333 with Theora codec:
rm -f ./newcd/elphel313-6.2.28-flash.tar.bz2
rm -f ./newcd/elphel333-6.3.9-flash.tar.bz2

4. For DVD remastering, please, run the following command:
./livecd-make dvd quick

5. When remastering is finished (if cloop was installed correctly) in the current folder you can find the resulting ISO image with name: knoppix-{version}-{date}.{time}.{cd/dvd}.iso. If the remastering is aborted, you must unmount the loop images manually (for viewing the all mounted partitions you can use the 'mount' command), and check errors in livecd-make.log