Difference between revisions of "LiveCD build"

From ElphelWiki
Jump to: navigation, search
 
Line 19: Line 19:
  
 
2. Edit livecd-make.conf:<br>
 
2. Edit livecd-make.conf:<br>
CD=../cd.iso - path to CD image (if needed)<br>
+
CD=../cd.iso - path to CD image (if you are building CD). You may specify either CD image file or the actual CD drive (with the Knoppix 4.0.2 inside)<br>
DVD=../dvd.iso - path to DVD image (if needed)<br>
+
DVD=../dvd.iso - path to DVD image (if you are building DVD)<br>
 
LANG=us - default language for Knoppix
 
LANG=us - default language for Knoppix
  

Latest revision as of 06:48, 27 March 2006

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 you are building CD). You may specify either CD image file or the actual CD drive (with the Knoppix 4.0.2 inside)
DVD=../dvd.iso - path to DVD image (if you are building DVD)
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