Help - Search - Members - Calendar
Full Version: How do you make MDK ISOs?
MandrivaUsers.org > General Help > Installing Mandriva
mtweidmann
I'd like to make a 9.2 ISO when it it finally released or possibly from Cooker if I get inpatient. But how do you make the DVD bootable?? And is there anything I have to do to the Cooker files so that they work on a DVD?

I've been searching around the forum and found lots of mentions of people making DVD images but not how they actaully did it. So any help much appreciated! biggrin.gif
Gowator
Id love to know too

/bump
anon
QUOTE
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
mtweidmann
Ok, still have problems getting this to work. I now have a complete download of 9.2 final release from a UK mirror, I just have to work out how to use it. I tried following the instructions on xcdroast's website on how to burn DVD, but it will only let me burn up to 1GB which isnt much help. I tried making the ISO image and then copying it to windows for burning, but FAT32 won't allow a single file bigger than 2GB the ISO is 2.6GB. :(

So I'm now using the software which came with the drive (Sonic MyDVD). This doesn't support bootable DVDs, no problem I thought I'll just use a boot floppy. Actaully big problem, the boot floppy won't recognise the burnt DVD as a Mandrake install CD.

I'm not giving up yet, it will work eventually. twisted.gif But any tips/suggestions much appreciated.
Steve Scrimpshire
http://fy.chalmers.se/~appro/linux/DVD+RW/


After you've got the ISO made, you should just be able to do this:

growisofs -Z /dev/scd0 -R -J /some/files

You have to have the dvd-rw-tools installed. http://fy.chalmers.se/~appro/linux/DVD+RW/. If I remember correctly, I didn't even make an ISO with my 8.1 Standard disks and burnt them to a DVD and everything went fine. If you burn multi-session, alot of other drives won't recognize it....maybe not even the drive that burnt it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.