6) PREVIEWING THE CD
Assuming you added support for the loopback device in your kernel configuration (see "Linux kernel configuration"), you can now have a look at what will be on the CD-ROM before you've even cut it. Some errors can be detected here and avoid you manufacturing a wonderful series of coasters :)
In order to do this we need to mount the ISO image as if it were the /dev/cdrom block device (or the /dev/hdx or /dev/scdx block device pointed to by the /dev/cdrom symlink), and this is achieved by using the "loop" option in mount:
# mount -t iso9660 /root/pictures.iso /mnt/cdrom -o loop,roWhere /mnt/cdrom is your usual mount point for your CD-ROM drive. Note that any mount point will do, it's just that the one used for your CD-ROM drive is a logical choice.
You can now cd /mnt/cdrom and navigate around the structure of your future creation.
Oh, and don't forget to cd out of the /mnt/cdrom tree and to unmount the ISO image once you've finished marvelling at the wonders of technology:
# cd # umount /mnt/cdrom
<< 5) Preparing a data CD | 7) Burning the CD >> |
Back to the howto title page
Back to howto-pages.org