View previous topic :: View next topic |
Author |
Message |
jamesww n00b
Joined: 20 Jul 2005 Posts: 31
|
Posted: Wed Nov 23, 2005 3:18 pm Post subject: Joining ISOs ... VCD |
|
|
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 |
|
|
tSp Apprentice
Joined: 19 Jan 2004 Posts: 214 Location: Maysville, KY
|
Posted: Wed Nov 23, 2005 5:31 pm Post subject: |
|
|
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 |
|
|
jamesww n00b
Joined: 20 Jul 2005 Posts: 31
|
Posted: Wed Nov 23, 2005 9:31 pm Post subject: |
|
|
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 |
|
|
hicksboson n00b
Joined: 18 Oct 2004 Posts: 31 Location: Kiel, Germany
|
Posted: Fri Nov 25, 2005 4:33 pm Post subject: |
|
|
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:
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 |
|
|
|