The first step is perhaps to copy all of the files you wish to burn to
CD into a single directory, perhaps
/home/kayon/cdimage/. Then create the iso9660
CD image with:
$ cd /home/kayon
$ mkisofs -r -o cdimage.raw cdimage
The file cdimage.raw will be created in
/home/kayon. You could now check that it looks okay by
mounting the file as a file system (you usually need to be root to do
$ sudo mount -t iso9660 -o ro,loop=/dev/loop/0 cdimage.raw /mnt
$ ls /mnt
$ sudo umount /mnt
Now write the image to a CD. Here's some alternatives for a number of
systems I use:
$ cdrecord -data cdimage.raw
(No device is specified, assuming it is specified appropriately in
/etc/default/cdrecord as /dev/cdrom.)
If you are writing to a CD-RW be sure to blank the CD first with:
Copyright © 1995-2019 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open
source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials
of Data Science.