LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2010, 08:39 AM   #1
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Rep: Reputation: 30
How to join two ISO image files in Linux?


How to join two ISO image files in Linux?
 
Old 12-17-2010, 08:51 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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/.
 
1 members found this post helpful.
Old 12-17-2010, 09:06 AM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
^ 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.
 
Old 12-17-2010, 09:16 AM   #4
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
is the
/path/to/mountpoint/1
changeable?
Can i make it to be
/image/to/mountpoint/1 ?
 
Old 12-17-2010, 09:20 AM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
Yes. You can have "/path/to/mountpoint/1" be any valid path on your system.
 
Old 12-17-2010, 09:30 AM   #6
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
This statement
mkisofs -o image.iso /path/to/mountpoint/1 /path/to/mountpoint/2

will put the combined image file in which folder?
 
Old 12-17-2010, 09:36 AM   #7
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
Quote:
mkisofs -o image.iso /path/to/mountpoint/1 /path/to/mountpoint/2
= image.iso
 
Old 12-17-2010, 10:02 AM   #8
TigerLinux
Senior Member
 
Registered: Sep 2005
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 11.04
Posts: 1,731

Original Poster
Rep: Reputation: 30
i know, is it will be in / root ?
 
Old 12-17-2010, 10:15 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by TigerLinux View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access ISO and other CD-image files? JCole123 Linux - Newbie 22 07-14-2010 10:13 AM
join two iso files kdrlx Linux - Software 3 12-07-2006 01:39 AM
does any one know hot to make a cd with the Suse Linux files NOT THE ISO IMAGE kevinbowers Linux - Laptop and Netbook 2 04-16-2006 06:24 PM
create your own ISO image files biotek1 Linux - General 4 10-27-2003 02:59 PM
from iso image to files ? abd_bela Linux - General 3 09-18-2003 03:29 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration