dd if=/dev/cdrom of=<nameof.iso>
sudo mount <nameof.iso> <mount point> -t iso9660 -o loop
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
mkisofs -o /tmp/cd.iso /tmp/directory/