Create and burn an ISO image on Commandline with Pisi Linux

This command will copy the cd or DVD sector for sector.Without conv=notrunc,the image will be smaller if there is less content on the cd.
# dd if=/dev/hdc of=/tmp/mycd.iso bs=2048 conv=notrunc

Use mkisofs to create a CD/DVD image from files in a directory.To overcome the file names
restrictions:-r enables the Rock Ridge extensions commonto UNIX systems, -J enables Joliet
extensions used by Microsoft systems. -L allows ISO9660 filenames to begin with a period.
# mkisofs -J -L -r -V TITLE -o imagefile.iso /path/to/dir
# hdiutil makehybrid -iso -joliet -o dir.iso dir/ # OS X

Burn a CD/DVD ISO image

Use burncd with an ATAPI device (burncd is part of the base system)and cdrecord(in sysutils/
cdrtools) with a SCSI drive.
# burncd -f /dev/acd0 data imagefile.iso fixate # For ATAPI drive
# cdrecord -scanbus # To find the burner device (like 1,0,0)
# cdrecord dev=1,0,0 imagefile.iso

Use cdrecord with Linux as described above. Additionally it is possible to use the native ATAPI interface which is found with:
# cdrecord dev=ATAPI -scanbus
And burn the CD/DVD as above.

The dvd+rw-tools package can do it all and includes
growisofs to burn CDs or DVDs.The examples refer to the dvd deviceas /dev/dvd which could
be a symlink to /dev/scd0 (typical scsi on Linux)
.
# -dvd-compat closes the disk
# growisofs -dvd-compat -Z /dev/dvd=imagefile.iso # Burn existing iso image
# growisofs -dvd-compat -Z /dev/dvd -J -R /p/to/data # Burn directly

Convert a Nero .nrg file to .iso

Nero simply adds a 300Kb header to a normal iso image. This can be trimmed with dd.
# dd bs=1k if=imagefile.nrg of=imagefile.iso skip=300

Convert a bin/cue image to .iso

The little bchunkprogram4can do this.
# bchunk imagefile.bin imagefile.cue imagefile.iso