7

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

7

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.

  • 2
    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
-3

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
  • 1
    Without proper explanation this is guaranteed not to help. – peterph Jan 15 '14 at 12:58

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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