Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering if I can create a single ISO image by cating two DVD ISO images together.

I have heard that this only works if the ISO is split into different parts and not two distinct ISO images, is this true? I'm looking to combine both DVD 1 and 2 for the CentOS 6 install since they don't provide a single file

share|improve this question

You can't cat the two CentOS 6 ISOs together and get the combined version of them. cat them would work if they had been split from one big ISO file, but they're two distinct ISOs created separate from one another.

If you're looking to combine the two DVDs in to one use the mkdvdiso.sh script from here and run it on a directory that contains the DVD1 and DVD2 ISOs. The script only refers to CentOS 4 and 5, but I just tested it on CentOS 6 and it works fine.

share|improve this answer
I was able to do this for CentOS 6.4 with the "mkdvdiso.sh" mentioned above. However, in my case, I needed to install "isomd5sum", "createrepo", and "mkisofs" in order to get the script to run. It also required about 16GB in the "/" partition in order to complete successfully. – user56093 Jan 7 '14 at 1:56
turned your answer into a how-to - thanks! – warren Feb 11 '15 at 18:30

This may help you:

mount -o loop image1.iso /path/to/mountpoint/1
mount -o loop image2.iso /path/to/mountpoint/2
mkisofs -o image.iso /path/to/mountpoint/1 /path/to/mountpoint/2
share|improve this answer
Without proper explanation this is guaranteed not to help. – peterph Jan 15 '14 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.