[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DVD ISOs for next RHEL/RHLP releases?



On Fri, 2003-08-08 at 16:44, James Ralston wrote:
> Has Red Hat made a decision as to whether the next releases of RHEL
> and RHLP will be made available as DVD ISO images (in addition to the
> standard multiple-disc CD ISO images)?
> 
> DVD-R, DVD-RW, and DVD+RW burners are getting pretty inexpensive
> nowadays.  If I had a reason to expect that the next RHEL/RHLP
> releases would be available as DVD ISO images, I'd go evaluate some
> burners...
> 
> Thanks,

I have such a burner here, and I gotta say it's ridiculously easy to
make your own bootable ISO (with working "mediacheck" function) from any
exploded tree. The only gotcha is the .discinfo file in the root of the
tree. Copy the .diskinfo from the first CD, and append the extra binary
CD numbers so it looks like (This one is for Severn):

1058542020.359904
Red Hat Linux 9.0.93
i386
1,2,3
RedHat/base
RedHat/RPMS
RedHat/pixmaps
 
I have even written a script that does the right thing for me
(it's small, so I'm attaching it). It requires the anaconda-runtime
package be installed (for the implantisomd5) It currently copies the
source tree to /tmp/mkrhdvd (because you need write permissions in the
source tree to make a bootable DVD, and I don't want to/can't write in
the actual source tree) then makes the iso in the directory you choose,
calculates and implants the md5sum for the mediacheck option, then
deletes the /tmp/mkrhdvd tree. Burning is a separate step involving
growisofs.

Syntax is: mkrhdvd <source_path> </path/to/iso_filename>

-- 
Chris Kloiber
Red Hat, Inc.
#!/bin/bash

SOURCE=$1
DESTINATION=$2
TEMPDIR=/tmp/mkrhdvd

if [ !$(ls -d $SOURCE | grep RedHat | wc -l) ]; then
	echo ;
	echo "WARNING: Source directory: "$SOURCE ;  
	echo "does not contain a Red Hat Linux Distribution! Aborting!" ;
	echo ;
	exit 1
fi

mkdir -p $TEMPDIR
cp -auv $SOURCE/.discinfo $TEMPDIR
cp -avu $SOURCE/* $TEMPDIR
rm -f $TEMPDIR/isolinux/boot.cat

BIGDISTRO=$( grep "Red Hat" $TEMPDIR/.discinfo )
DISTRO=$( echo $BIGDISTRO | sed -e 's/Red Hat /RH/' -e 's/Enterprise /E/'  -e 's/Linux /L /' )

mkisofs -A "$DISTRO i386" -V "$DISTRO i386" -J -R -v -T -x ./lost+found -o $DESTINATION -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table $TEMPDIR

rm -rf $TEMPDIR

/usr/lib/anaconda-runtime/implantisomd5 --supported $DESTINATION


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]