On 08/28/2009 03:24 AM, Changjie Cui wrote:
Hi,
I have made a customized install CD base on SL5.3, it just for
installing of rpms necessary for myself, the procedure is:

1. mkdir /disk
2. cp -R /mnt/cdrom/. /disk/
3. rm /disk/SL/*.rpm
4. copy the necessary rpms into /disk/SL
5. createrepo -o /disk/SL -g /disk/SL/repodata/comps-sl.xml /disk/
6. customize a ks.cfg and copy it into /disk/
7. customize /disk/isolinux/isolinux.cfg and let it start install using
ks.cfg
8. mkisofs -o MySL53.iso -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T /disk/

the CD can boot and start installing, but when it start installing rpms,
it show me a error like this
----------------------------Error---------------------------------------------
The file termcap-5.5-1.20060701.1.noarch.rpm cannot be opened. This is
due to a missing file, a corrupt package or corrupt media. Please verify
your installation source.

If you exit, your system will be left in an inconsistent state that will
likely require reinstallation.
--------------------------------------------------------------------------------

the rpm file has exists in SL folder of cdrom, why it(ANACONDA) can not
recognize the file location? or how can I set the rpms location to let
ANACONDA know it?


I believe it is step 5 that is the problem.
Instead of

5. createrepo -o /disk/SL -g /disk/SL/repodata/comps-sl.xml /disk/

do

5. createrepo -o /disk/SL -g /disk/SL/repodata/comps-sl.xml /disk/SL/

Or, just incase, do them both.

Troy
--
__________________________________________________
Troy Dawson  [email protected]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI LMSS Group
__________________________________________________

Reply via email to