With the mkisofs and cdrecord utilities installed, working with ISO images from the command line is very straight forward (ISO --> ISO9660 filesystem, common format of data CD-ROMS)
To make an ISO image to prepare for burning in a CD burner, use mkisofs mkisofs -r /home/sekidde/ > /tmp/sekidde-home.iso The -r tells mkisofs to build Rock Ridge extensions into the resulting image file. This means that long filenames and file permissions will be presented when the disk is mounted on systems that support Rock Ridge (Linux has great support for RR and using -r is a good option) Anyone can make an ISO of files they have read access to. Note mkisofs stores the contents of the directories you specify on the command line not the directories themselves. In the above example, the ISO will have /home/sekidde mapped to its /, with the contents of /home/sekidde filling the root of the cd. If you need to make an ISO from an existing CD # dd if=/dev/cdrom of=image.iso This will create an ISO image of the CD, in all glorious 650+MB, so be sure you have plenty of space before trying this. You may be able to make this go faster by manipulating the bs parameter of dd # dd if=/dev/cdrom of=image.iso bs=10k Note Optimal setting is usually dependent on your drive and IDE controller, try a couple of values to see what really works best for your system To mount an ISO that you’ve made (either with mkisofs or straight from dd) # mkdir /mnt/iso # mount -o loop, ro –t iso9660 ./image.iso/mnt/iso Note If the mount command complains about ‘could not find any loop device’, you might need to load the loopback driver # modprobe loop Once the ISO is mounted, you should be able to cd /mnt/iso and look around at the file system contained in the image. If you find problems with it simply umount /mnt/iso, remove the image file, and try again. When you are ready to burn an ISO to CDR, # cdrecord –v speed=12 dev=0,0,0 –data image.iso You should specify the writing speed of your burner (or slower) in the speed=option If you need to erase a CDRW before burning the ISO, try passing the blank= parameter # cdrecord –v speed=12 dev=0,0,0 blank=fast –data image.iso The ide-scsi driver is a kernel module that makes IDE (and other) Cd burners appear to be SCSI burners, which are much easier to program. For help on getting your burner running under linux, check out the CD Writing HOWTO at: http://tldp.org/HOWTO/CD-Writing-HOWTO.html __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 --------------------------------------------- This service is hosted on the Infocom network http://www.infocom.co.ug
