Skip to content

Creating ISO Files On Linux With dd From a DVD or Directory

Hello my fellow Linux users. I would like to show you a very useful thing that can save a lot of time while creating ISO files on Linux systems. Well as you know creating ISO files on Windows generally means you had to install extra software. As always, it is easier to do it on Linux. 🙂

Creating an ISO file from a DVD or CD

In order to achieve this we’ll be using dd while setting the input file as our cdrom from /dev

dd if=/dev/cdrom of=~/cdrom_image.iso

of is the output file, which means where you are going to export the file.

Creating an ISO file from a directory

You can also create ISO files from a directory with mkisofs as you can guess from the command below first part is the path of the ISO file which will be generated and the second part is the directory.

mkisofs -o /tmp/cd.iso /tmp/directory/

You can read more about dd and mkisofs from these hyperlinks.

1 thought on “Creating ISO Files On Linux With dd From a DVD or Directory”

Leave a Reply

%d bloggers like this: