LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do you merge 4 CD ISO images into one DVD ISO image? (http://www.linuxquestions.org/questions/linux-software-2/how-do-you-merge-4-cd-iso-images-into-one-dvd-iso-image-403961/)

nsydenham 01-16-2006 06:13 AM

How do you merge 4 CD ISO images into one DVD ISO image?
 
Distros often provide multiple CD ISOs but not so good at providing a DVD ISO. How can you combine the CD images into a bootable DVD image?

jimvin 01-16-2006 07:21 AM

Quote:

Originally Posted by nsydenham
Distros often provide multiple CD ISOs but not so good at providing a DVD ISO. How can you combine the CD images into a bootable DVD image?

I hope you have some spare disk space!

1. Mount each cd in turn. If you just have the iso image you can mount it as a loopback filesystem:

mount -o loop -t iso9660 <your_iso_image> /mnt/tmp

2. Copy all of the files to your hard drive.
3. Use mkisofs to create a new ISO image

mkisofs -o dvd_iso_image.iso /path/to/files

Getting this to work can be tricky since most distros will expect to find the files. If your're lucky you can copy all the CDs to one location with no conflicts. As always YMMV.

Regards,
Jim

Lenard 01-16-2006 07:22 AM

Have a look at this script (you will have to make changes of course);

ftp://people.redhat.com/ckloiber/mkdvdiso.sh

Works for most Red Hat based distro's (with minor tweaking).

kdrlx 12-07-2006 12:52 AM

file location changed
 
the file location is changed ..

http://mirror.arcticnetwork.ca/pub/c...ld/mkdvdiso.sh

Lenard 12-07-2006 05:37 AM

Also here; http://isoredirect.centos.org/centos/build/

baskerville 01-05-2007 07:29 AM

how about 'cat'?
 
I don't know if this works, but Open Solaris DVD images are provided in five parts that can be merged with a 'cat' command.
http://www.sun.com/software/solaris/...nstruction.xml

Would this work for merging CDs into DVDs or simply to merge small CDs into a bigger one?

laopaishpe 01-15-2007 09:49 AM

remastering to DVD
 
Quote:

Originally Posted by baskerville
I don't know if this works, but Open Solaris DVD images are provided in five parts that can be merged with a 'cat' command.
http://www.sun.com/software/solaris/...nstruction.xml

Would this work for merging CDs into DVDs or simply to merge small CDs into a bigger one?

This has nothing to do with remastering- cat just "glues" the 5 parts together, which by the way were split before from a "good" ISO huge image file. After doing the cat, you end up with the original iso file.

As different distributions have different build systems, remastering is a bit different, but in principle:
- you need to figure out where the boot image is on your first CD
- you need to "update/regenerate" the package list and eventual md5 files
- you "remaster" the new iso image using mkisofs.

Google around for remaster and mkisofs, and you may find some more specific instructions- I know for sure there's a tutorial to remaster SuSE 9.x and Redhat/Mandrake, although the last ones I did were back to Mandrake 8.0


All times are GMT -5. The time now is 07:39 AM.