[CentOS-devel] how to update install CD ?

James Pearson james-p at moving-picture.com
Wed Jan 16 14:54:30 UTC 2008

> Hello, everyone:
>        I want to add new rpm into install cd .
> I have searched the answer on the net and done it 
> like what they have said.
>        But when I use the cd I made to install OS, It told me that 
> " The CentOS-4 i386 CD was not found in any of your CDROM drivers.
> Please insert the CentOS-4 i386 cd and press OK to retry". I don't know
> why. Could anyone help ?
>   The following is the step :
> pkgorder --product CentOS  /data/CentOS/ CentOS > /data/pkgfile
> genhdlist --productpath=CentOS /data/OWLinux
> pkgorder --product CentOS  /data/CentOS/ CentOS > /data/pkgfile
> buildinstall --pkgorder /data/pkgfile \
> --version "4" \
> --product "CentOS" \
> --release "1" \
> --prodpath CentOS /data/OWLinux
> mkisofs -J -R -v -T -o ./CentOS.iso -V CentOS-4 -b \
>         isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot \
>         -boot-load-size 4  -boot-info-table ./CentOS/

In the above commands you are using /data/CentOS for the pkgorder and 
genhdlist, and /data/OWLinux with buildinstall - so you might not 
actually be making a CD of install you've just created ...

Are there any errors from the buildinstall process?

Also, I'm not sure why you are running pkgorder twice - I re-build the 
installer by running genhdlist, pkgorder and then genhdlist again with 
the output from pkgorder before running buildinstall

James Pearson

More information about the CentOS-devel mailing list