Create an iso image of a folder


We all know how to create an iso image of a DVD using ‘dd’ command. But, what if you want to create an iso image of a folder containing lot of files?

Here the command mkisofs comes to our help. The usage is as follows:

mkisofs -o /{dest_dir}/{dest_file.iso} /{absolute path to the actual folder that you want to create the image}

eg: mkisoft -o /mnt/mycontent.iso /opt/rhel/media/

In the above example, an image ‘mycontent.iso’ will be created under ‘/mnt’ partition for the folder ‘media’. The option ‘-o’ means the output file.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s