[CentOS-devel] how to update install CD ?

Thu Jan 17 06:44:13 UTC 2008
dhongqian <dhongqian at 163.com>

Hello,everyone:
    I'm sorry that "/data/OWLinux"   is my written mistake.

Now It can find the cd, but the cd does not match my boot media.

     " No CentOS CD was found which matches your boot media. Please insert
       the CentOS CD and press OK to  retry".

Why?
          My discinfo is :

1200551587.126943
CentOS-4
i386
1,2,3
CentOS/base
CentOS/RPMS
CentOS/pixmaps

the original discinfo is :

CentOS-4 i386
i386
1,2,3
CentOS/base
CentOS/RPMS
CentOS/pixmaps

the discinfo is generate by the buildinstall.

My step is that:

genhdlist --productpath=CentOS /data/centos

pkgorder --product CentOS /data/centos/ CentOS > /data/pkgfile

buildinstall --pkgorder /data/pkgfile \
--version "4" \
--product "CentOS" \
--release "CentOS-4" \
--prodpath CentOS /data/centos
      


2008-01-17 



dhongqian 



发件人: Matt Hyclak 
发送时间: 2008-01-16  23:14:22 
收件人: The CentOS developers mailing list. 
抄送: 
主题: Re: [CentOS-devel] how to update install CD ? 
 
On Wed, Jan 16, 2008 at 02:54:30PM +0000, James Pearson enlightened us:
> >       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
> 
Most likely you are missing the .discinfo file.
Matt
-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
_______________________________________________
CentOS-devel mailing list
CentOS-devel at centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20080117/30e227a5/attachment-0007.html>