Difference between revisions of "LiveCD build"

From ElphelWiki
Jump to: navigation, search
 
Line 3: Line 3:
 
You must have:
 
You must have:
  
KNOPPIX_V4.0.2CD-2005-09-23-EN.iso (md5sum 1188f67d48c9f11afb8572977ef74c5e)
+
KNOPPIX_V4.0.2CD-2005-09-23-EN.iso (md5sum 1188f67d48c9f11afb8572977ef74c5e)<br>
or
+
or<br>
 
KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso (md5sum 6e8532421c57fe3a838fe11df604c842)
 
KNOPPIX_V4.0.2DVD-2005-09-23-EN.iso (md5sum 6e8532421c57fe3a838fe11df604c842)
  
Line 15: Line 15:
 
Please, make the following steps:
 
Please, make the following steps:
  
1. Install the cloop software if needed.
+
1. Install the cloop software if needed.<br>
 
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.
 
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:
+
2. Edit livecd-make.conf:<br>
CD=../cd.iso - path to CD image (if needed)
+
CD=../cd.iso - path to CD image (if needed)<br>
DVD=../dvd.iso - path to DVD image (if needed)
+
DVD=../dvd.iso - path to DVD image (if needed)<br>
 
LANG=us - default language for Knoppix
 
LANG=us - default language for Knoppix
  
3. For CD remastering, please, run the following command:
+
3. For CD remastering, please, run the following command:<br>
./livecd-make
+
''./livecd-make''<br>
- 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:
+
- 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:<br>
./livecd-make quick
+
''./livecd-make quick''
and also you must delete fimages for 313 and 333 with Theora codec:
+
and also you must delete fimages for 313 and 333 with Theora codec:<br>
rm -f ./newcd/elphel313-6.2.28-flash.tar.bz2
+
rm -f ./newcd/elphel313-6.2.28-flash.tar.bz2<br>
 
rm -f ./newcd/elphel333-6.3.9-flash.tar.bz2
 
rm -f ./newcd/elphel333-6.3.9-flash.tar.bz2
  
4. For DVD remastering, please, run the following command:
+
4. For DVD remastering, please, run the following command:<br>
./livecd-make dvd quick
+
''./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.
 
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
 
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

Revision as of 03:25, 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 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