There are three methods that you can use to create an official Debian CD. You can use either FTP, http, or a local mirror. Using anything other than a local mirror is really a waste of band width and it would probably be best for you to buy a CD set.
The local mirror must have a dists directory directly under the top level. this can either be a real directory or a symbolic link. Those of you that use apt on a local mirror already know this. <grin>
debian/
|
|--dists/
|
|--potato/
To make an official Debian CD you need a large partition of available disk space. Especially while running rsync. (700M * (num-cds + 1)) The extra 700M of disk space is consumned by the rsync temp file.
Copy or move the pseudo-image-kit-2.0 tar ball to the directory where you are going to create the CD master images, untar it, and CD into the resulting directory pseudo-image-kit-2.0/.
First download the list files from
http://www.uk.debian.org/debian-cd/cd-images.
binary-i386-1_NONUS.list contains the list of the files that goes on
the 1st CD of the non-US distribution.
./make-pseudo-image <listfile> <server base directory>
For example:
When using an FTP site:
./make-pseudo-image binary-i386-1.list ftp://ftp.server.org/pub/debian
When using an HTTP site:
./make-pseudo-image binary-i386-1.list http://www.server.org/ftp/debian
When using a local archive:
./make-pseudo-image binary-i386-1_NONUS.list /debian
make-pseudo-image creates pseudo-image.* files. The most important one is the pseudo-image. After this file has been created move it to the same name as the list file you used except change the extension from .list to .iso. Also, remove all of the other pseudo-image files left
mv pseudo-image binary-i386-1_NONUS.iso
Finally, we are almost done with creating our first CD image. now we have to rsync it against an official CD image on a rsync server. The README file that comes with the pseudo-image package gives some command line options to rsync, but I found that the -av listed by funet work the best.
Example:
rsync -av server.somewhere::service/path/filename .
rsync ftp.funet.fi::ftp/pub/Linux/mirrors/debian-cdimage/2.2_rev2/i386/binary-i386-1_NONUS.iso .
The important things to note are the double colon and the `.' at the end of the command line. Any differences between the two files will be corrected. Foe instance if you are missing any readme files on your mirror, or the dos tools directory, these will be added to the iso master image.
The final part of the master .iso creation process is to check your work by running md5sum against the newly created .iso image. Get the MD5SUM file from the rsync server that you are using and compare the results.