Making an ISO Image of a directory:
mkisofs -o tmp.iso tmp/
tmp.iso is where you want the ISO image to wind up, and where tmp/ is the drectory you want to be the base of the ISO
Making an ISO Image of a CD/DVD:
1. First, ensure that you know that your CD or DVD device actually works and that you know the device location.. 2. Fire up your prefered terminal emulator (Konsole, xterm, gnome-terminal...), insert the disk into the drive you want to use, and issue the following command:
dd if=/dev/cdrom of=/home/dave/MyCD.iso
/dev/cdrom is the device location of your drive (/dev/cdrom is usually ok), and where /home/dave/MyCD.iso is the path where you want the ISO image to be created.
Mounting an ISO image:
1. This is getting boring, open up your prefered terminal emulator... 2. Issue the following command:
mount -o loop /home/dave/MyCD.iso /mnt/iso
/home/dave/MyCD.iso is the path to the ISO you want to mount, and /mnt/iso is the mountpoint, and to unmount, simply issue the following:
umount /mnt/iso