Things You'll Need:
- Unix or Linux
-
Step 1
Create a directory to hold your files.
mkdir ~/cd_files/ -
Step 2
Move all the files you want in the ISO into your directory.
mv file1 file2 ~/cd_files -
Step 3
Ensure that your directory does not exceed the size of the media you want to store it on.
du -h ~/cd_files
This command shows you the disk usage (size) of your directory and all the files in it. The line you are looking for will look like:
700M cd_files/ -
Step 4
Create the ISO file.
mkisofs -o mymedia.iso ~/cd_files -
Step 5
Make a mount directory for the ISO file.
sudo mkdir /mnt/disk -
Step 6
Mount the ISO file with the following command:
sudo mount -o loop mymedia.iso /mnt/disk -
Step 7
Check to make sure your ISO contains all your files.
ls -la /mnt/disk










