My system hadn't it so I needed to install it first:
MyServer:~# aptitude install mkisofsAfter that I typed this command to make an ISO file:
mkisofs -o /tmp/cd.iso /tmp/directory/But it has a weak point! mkisofs, by default doesn't go deeply in directories. So you must force it to do by "-D" switch:
mkisofs -D -o /tmp/cd.iso /tmp/directory/Also we can make an ISO image directly from CD, DVD or our SCSI optical drive:
dd if=/dev/dvd of=dvd.iso # for dvdThat's it :D. Thanks to Scott Granneman for his guide.
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi