|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Centos: Creating a DVD from multiple CD ISO imagesThis will likely be Old News to the Centos bufs out there.
My Apologies in Advance. ------------------------ Today I wanted to download the DVD iso and it wasn't available on my local mirror - only the 6*CD iso images. The Mirror has a 'torrent' image, but I'm not keen on using bitorrent at work. In the Centos 'build' directory, there's a basic script to combine CD iso's into single DVD... Make sure you read the instructions. It took me two goes to get a result :-( <http://mirror.centos.org/centos/build/mkdvdiso.sh> <http://mirror.aarnet.edu.au/pub/centos/build/mkdvdiso.sh> You need 2*DVD size spare (8Gb currently): - it explodes each ISO into the file system (in your homedir, by default ~/mkrhdvd) - then creates an ISO image from that. The script doesn't check for 'No space' nor ISO too large size... Nor does it create an md5sum for you. (Can't use the MD5 for the normal download ISO.). Runs as 'root' to allow "mount -o loop ..." onto /tmp/loop. You can set LOOP and DVD variables to use other directories. WARNING: those directories are created and destroyed by the script by: rm -rf $LOOP $DVD mkdir -p $LOOP mkdir -p $DVD Invoke as: ---------- mkdvdiso.sh source_dir /destination/DVD.iso => The script does a "cd $DVD" then 'mkisofs ... -o $2 ..." So when I ran it as: mkdvdiso.sh ~/iso/Centos/5.3_iso ./DVD.iso => the iso was created in the temp $DVD dir and deleted :-( Working cmd: mkdvdiso.sh ~/iso/Centos/5.3_iso $PWD/DVD.iso Dependencies & local edits: -------------------------- The script needs 'implantisomd' - probably there on Centos/RHEL/FC systems. (The complement is checkisomd5 ) On Debian/ubunut: sudo apt-get install isomd5sum PLUS: edit the mkdvdiso.sh and correct the hard-coded path at the end. -- Steve Jenkin, Info Tech, Systems and Design Specialist. 0412 786 915 (+61 412 786 915) PO Box 48, Kippax ACT 2615, AUSTRALIA sjenkin@... http://members.tip.net.au/~sjenkin -- linux mailing list linux@... https://lists.samba.org/mailman/listinfo/linux |
|
|
Re: Centos: Creating a DVD from multiple CD ISO imagesA lot of people who provide mirrors push DVD sized images to FTP,
partially due to a previously broken version of apache that couldn't handle anything above 2Gb, but also so that an expensive httpd process isn't tied up as someone on a 256k DSL attempts to download the ISO in question.. Every time I find a mirror that is missing DVD images, I check ftp and can generally find what I want there. On 10/19/2009 03:33 PM, steve jenkin wrote: > This will likely be Old News to the Centos bufs out there. > My Apologies in Advance. > > ------------------------ > > Today I wanted to download the DVD iso and it wasn't available on my > local mirror - only the 6*CD iso images. > The Mirror has a 'torrent' image, but I'm not keen on using bitorrent at > work. > > In the Centos 'build' directory, there's a basic script to combine CD > iso's into single DVD... > Make sure you read the instructions. > It took me two goes to get a result :-( > > <http://mirror.centos.org/centos/build/mkdvdiso.sh> > <http://mirror.aarnet.edu.au/pub/centos/build/mkdvdiso.sh> > > You need 2*DVD size spare (8Gb currently): > - it explodes each ISO into the file system > (in your homedir, by default ~/mkrhdvd) > - then creates an ISO image from that. > > The script doesn't check for 'No space' nor ISO too large size... > Nor does it create an md5sum for you. > (Can't use the MD5 for the normal download ISO.). > Runs as 'root' to allow "mount -o loop ..." onto /tmp/loop. > > You can set LOOP and DVD variables to use other directories. > WARNING: those directories are created and destroyed by the script by: > > rm -rf $LOOP $DVD > > mkdir -p $LOOP > mkdir -p $DVD > > > Invoke as: > ---------- > > mkdvdiso.sh source_dir /destination/DVD.iso > > > => The script does a "cd $DVD" then > 'mkisofs ... -o $2 ..." > > So when I ran it as: > > mkdvdiso.sh ~/iso/Centos/5.3_iso ./DVD.iso > > => the iso was created in the temp $DVD dir and deleted :-( > > Working cmd: > mkdvdiso.sh ~/iso/Centos/5.3_iso $PWD/DVD.iso > > > > Dependencies& local edits: > -------------------------- > > The script needs 'implantisomd' - probably there on Centos/RHEL/FC > systems. (The complement is checkisomd5 ) > > On Debian/ubunut: > sudo apt-get install isomd5sum > > PLUS: edit the mkdvdiso.sh and correct the hard-coded path at the end. > > > -- --==-- Steve Walsh RHCE Vice President / Sysadmin team member - Linux Australia Networks and Technology - Linux.conf.au 2008 Evil Network Bunny - Linux.conf.au 2009 Networking alpha geek - Linux.conf.au 2010 -- linux mailing list linux@... https://lists.samba.org/mailman/listinfo/linux |
| Free embeddable forum powered by Nabble | Forum Help |