FC5 Test1 DVD?

John Reiser jreiser at BitWagon.com
Wed Nov 23 16:44:53 UTC 2005


> Is there an easy way to remaster them onto a single DVD?

If you insist on total automation, then there are resource-intensive
scripts available in the archives.  Some of the most-used scripts
take [at least] twice as much time and diskspace as necessary: 6GB
free disk space to remaster, and all the data has to move in and out
at least TWICE.  At 30MB/sec on typical IDE drives, that's many minutes
of shuffling in addition to the final DVD writing.  The main defect
is not utilizing the -graft-points feature of mkisofs.

If you're willing to tweak a few things by hand, then it can be done
in only 5MB of space, using only the minimum data transfer: once in,
once out.

Here's one example.  Modify as needed; in particular: s/RedHat/Fedora/ .
If you don't need the ability to run mediacheck on the result, then
you don't need the implantisomd5, and you can use 'growisofs' to write
directly to the DVD (instead of 'mkisofs' writing to temporary disk space.)
[RHEL4-i386-WS, both binary and source, did fit on one DVD.
FC5 may require a separate DVD for binary and for source.]
-----
mount -o ro,loop RHEL4-i386-WS-disc1.iso /mnt/bin1
mount -o ro,loop RHEL4-i386-WS-disc2.iso /mnt/bin2
mount -o ro,loop RHEL4-i386-WS-disc3.iso /mnt/bin3
mount -o ro,loop RHEL4-i386-WS-disc4.iso /mnt/bin4

mount -o ro,loop RHEL4-i386-source-disc1.iso /mnt/src1
mount -o ro,loop RHEL4-i386-source-disc2.iso /mnt/src2
mount -o ro,loop RHEL4-i386-source-disc3.iso /mnt/src3
mount -o ro,loop RHEL4-i386-source-disc4.iso /mnt/src4

cp -a /mnt/tmp1/isolinux /mnt/tmp1/.discinfo  .

chmod +w isolinux/isolinux.bin

{Edit ./.discinfo file to list four CDs "1,2,3,4" instead of just "1"}

mkisofs -v -o RHEL4-i386-WS-DVD.iso \
    -V "RHEL4-i386-WS-DVD.2005-02-19" \
    -b isolinux/isolinux.bin -c isolinux/boot.cat \
    -no-emul-boot -boot-load-size 4 -boot-info-table \
    -r -R -T -m TRANS.TBL \
    -x /mnt/tmp1/.discinfo \
    -x /mnt/tmp1/isolinux \
    -graft-points /mnt/bin1 .discinfo=.discinfo isolinux/=isolinux \
    RedHat=/mnt/bin2/RedHat \
    RedHat=/mnt/bin3/RedHat \
    RedHat=/mnt/bin4/RedHat \
    SRPMS/=/mnt/src1/SRPMS \
    SRPMS=/mnt/src2/SRPMS \
    SRPMS=/mnt/src3/SRPMS \
    SRPMS=/mnt/src4/SRPMS

/usr/lib/anaconda-runtime/implantisomd5 RHEL4-i386-WS-DVD.iso
-----

-- 







More information about the fedora-test-list mailing list