Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Joining ISOs ... VCD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jamesww
n00b
n00b


Joined: 20 Jul 2005
Posts: 31

PostPosted: Wed Nov 23, 2005 3:18 pm    Post subject: Joining ISOs ... VCD Reply with quote

I have three ISOs. Let's call them iso1, iso2, and iso3. All the important information, I assume is on iso2. This creates a problem.

How can I join the three ISO files?
Back to top
View user's profile Send private message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Wed Nov 23, 2005 5:31 pm    Post subject: Reply with quote

not sure why you would want to join them, but you could do something like this (after you create and verify backups of the originals):

cat iso1 >> iso2
cat iso3 >> iso2

this would basically append each iso in the order you cat them, like this for the above example: iso2_iso1_iso3

I wouldnt delete the original isos until you mounted and verified the combined ones. Im not sure if duplicate folders/files will create problems. Anyways, you might be able to check it like this before burning the image:

mount -t iso9660 iso_file /mnt/whatever -o loop
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
jamesww
n00b
n00b


Joined: 20 Jul 2005
Posts: 31

PostPosted: Wed Nov 23, 2005 9:31 pm    Post subject: Reply with quote

I don't think that cat works with isos. They're structured in a specific way so I don't think that just appending a second iso would work. Thanks for the help though.
Back to top
View user's profile Send private message
hicksboson
n00b
n00b


Joined: 18 Oct 2004
Posts: 31
Location: Kiel, Germany

PostPosted: Fri Nov 25, 2005 4:33 pm    Post subject: Reply with quote

As far as know, there is no way to join iso images directly. Do I understand it right that you want to join (S)VCD images? Then you can extract the mpegs with vcdxrip and join them. You should have the images (.bin files) on the harddisk for this. Vcdrxrip is in the vcdimager package:
Code:

emerge vcdimager

Then just go to the directory with the .bin file(s) and type for each:
Code:

vcdxrip -p --nosegments --nofiles -o /dev/null -b <bin-file>

After extracting them (takes some minutes each) you can use cat to join the mpegs
Code:

cat file1.mpg file2.mpg file3.mpg ... > merged.mpg

After that you can put merged.mpg into a VCD image again with vcdimager, but I don't use VCDs (I just sometimes extract one) and I'm too lazy to look how this is done. But it should not be too hard to find a descent howto on the net.
If you have a data iso image (iso9660 file system) the easiest way I know is mount them in a loopback device
Code:

mount -o loop -t iso9660 filename.iso /mnt/iso

and copy all the files into one directory. Then build a new iso of this directory with mkisofs
Code:

mkisofs -o iso.img -r directory

The -o option specifies the name of the resulting iso image, directory is where your files are placed. The -r sets root as the owner of all files in the iso and enables the reading right for all users. There are a lot of options for mkisofs so refere to the manpage or some other documentation. You could also use k3b (or other graphical cd burning apps) to do this as well.

Hope thats what you were looking for
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum