2nd Warning: Currently, "cdrecord" is not installed on the system (it resides in my homedirectory under ~rauch/src/cdrecord-1.5/cdrecord/OBJ/unknown-linux-cc/. You have to be root to write a CD! (this will probably change in the future, as soon as everything works fine).
cdrecord -eject -dev=0,4,0This should open the tray of the CD-writer. You will get an error if you choose the wrong device.
Create your filesystem on a local disc which has enough space for it (depending on your data up to 700 MB). To create the filesystem, issue the following command:
mkisofs -r -o /path_to_your_imagefile /path_to_your_dataMake sure there is enough space on the disk where you want to write your image (depending on your data up to 700 MB)! This process may take up to somewhere around 20 minutes.
Note: If you want to preserve all ownership-information and all permissions, you should use -R instead of -r.
mount -t iso9660 -o no,loop=/dev/loop0 /path_to_your_imagefile /mntNow you can inspect your image by looking at the contents of the directory /mnt. When you are confident that your image contains the right data, leave the directory tree /mnt and unmount the filesystem:
cdrecord -v -dummy speed=2 dev=0,4,0 /path_to_your_imagefileThis will take quite some time (20-40 minutes), but the command prints the ammount of data it has already written during the process.
If everything works well and there are no errors during the test, you are ready to write your CD. Just repeate the above command without the dummy-parameter:
cdrecord -v speed=2 dev=0,4,0 /path_to_your_imagefileAfter that, you are done.