LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to join two ISO image files in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-join-two-iso-image-files-in-linux-850859/)

TigerLinux 12-17-2010 07:39 AM

How to join two ISO image files in Linux?
 
How to join two ISO image files in Linux?

colucix 12-17-2010 07:51 AM

Basically you have to mount the two ISOs, then use mkisofs to create a single image from the two mounted filesystems, e.g.
Code:

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

You might also take a look at http://multicd.tuxfamily.org/.

ncsuapex 12-17-2010 08:06 AM

^ Thanks for posting that link. I hadn't seen that before. Will be trying it out. I see several of the distros I use are on the list.

TigerLinux 12-17-2010 08:16 AM

is the
/path/to/mountpoint/1
changeable?
Can i make it to be
/image/to/mountpoint/1 ?

ncsuapex 12-17-2010 08:20 AM

Yes. You can have "/path/to/mountpoint/1" be any valid path on your system.

TigerLinux 12-17-2010 08:30 AM

This statement
mkisofs -o image.iso /path/to/mountpoint/1 /path/to/mountpoint/2

will put the combined image file in which folder?

ncsuapex 12-17-2010 08:36 AM

Quote:

mkisofs -o image.iso /path/to/mountpoint/1 /path/to/mountpoint/2
= image.iso

TigerLinux 12-17-2010 09:02 AM

i know, is it will be in / root ?

Nylex 12-17-2010 09:15 AM

Quote:

Originally Posted by TigerLinux (Post 4194755)
i know, is it will be in / root ?

Presumably the directory in which you run mkisofs. Obviously, you can specify a full path for the image file, e.g. /image.iso.


All times are GMT -5. The time now is 12:58 PM.