To make an ISO image from a directory on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
mkisofs -o /home/username.iso /home/username/
This results in a file called username.iso in /home directory which contains all the files and directories in /home/username/.