分类: LINUX
2005-04-07 17:26:59
Find it 'Red Hat Enterprise Linux 4 (Nahant) Discussion List',thanks to author!
Re: RHEL 4 WS/AS/ES DVD creation script
From: John Reiser
To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List"
Subject: Re: RHEL 4 WS/AS/ES DVD creation script
Date: Thu, 17 Feb 2005 08:16:24 -0800
I am using the script here: and it runs without errors.
I found a better script a few months ago: "How to make your own RedHat 8.0 DVD from the CD ISO images" but it has disappeared from the where I obtained it: ~justin/Make_RedHat_DVD_From_CDROM.html Perhaps a web search will reveal other copies.
The script is better because it requires only about 4.5MB disk space more than the sources, instead of another complete copy (> 2GB) of all files.
Here is what I did; edit as appropriate:
-----
mount -o ro,loop RHEL4-i386-WS-disc1.iso /mnt/tmp1 # etc. for discs 2,3,4
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 -pad -o RHEL4-i386-DVD.iso
-V "RHEL4-i386-DVD.2005-02-16"
-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/tmp1 .discinfo=.discinfo isolinux/=isolinux
RedHat=/mnt/tmp2/RedHat
RedHat=/mnt/tmp3/RedHat
RedHat=/mnt/tmp4/RedHat
/usr/lib/anaconda-runtime/implantisomd5 RHEL4-i386-DVD.iso
-----
I successfully installed using the created DVD.