Friday, October 24, 2008

Create an iso file from a cd,dvd or folder

This post will show you how to create an iso file from a cd, dvd or a folder.

Create .iso from CD - DVD


Step 1:
Now we move to the creation of the .iso file. The following command will create the iso file named test.iso.

dd if=/dev/cdrom of=test.iso bs=1024
Now wait for the command to finish. This may take some time depending on the size of the data on the disc.


Create .iso from a folder

Step 1:
In order to create an iso from a folder we need to install the program mkisofs. Just type:
sudo apt-get install mkisofs
Step 2:
Now we create the iso file (test.iso) from a folder in our system.
mkisofs -r -o test.iso /path_to_folder/
Step 3:
It is suggested to create an MD5 checksum from the iso file so we can validate the integrity of the file in the future. This is done with the following command:
md5sum test.iso > test.iso.md5

No comments: