RHEL 4.2 Anaconda problems

Pierzycki, Chris (GE Healthcare, consultant) Chris.Pierzycki at ge.com
Tue Dec 20 22:11:00 UTC 2005


Thanks Sebastien.  This looks like fixed the problem... whatever it was.  

So in RHEL 4.2 x86_64 you must run pkgorder followed by genhdlist.  In RHEL 2.1 you didn't have to run pkgorder to add packages.

Chris

-----Original Message-----
From: kickstart-list-bounces at redhat.com [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Sébastien Aperghis-Tramoni
Sent: Tuesday, December 20, 2005 8:54 AM
To: Discussion list about Kickstart
Subject: Re: RHEL 4.2 Anaconda problems

Philip Rowlands <phr at doc.ic.ac.uk> wrote:

> > I think perhaps the genhdlist is not working well or there is
> > something else I have to do.  Any help greatly appreciated.
>
> There is a bug (feature?) in recent anacondas, still present it seems,
> where the package order is not taken into account, and must therefore be
> generated correctly (with pkgorder). The wiki page which Klaus mentioned
> has the details of which commands to run.

>From what I've learned, there are two tricks. The first one is that you
must run genhdlist, then pkgorder, then again genhdlist:

    $ genhdlist $RHDIST
    $ pkgorder $RHDIST i386 [list of groups to prioritize] >pkgorder.txt
    $ genhdlist --fileorder pkgorder.txt $RHDIST

The second trick is that if you use buildinstall to regenerate the
installation disk images, it itself re-runs pkgorder, hence ignoring
the groups you wanted to prioritize. What I do is save a copy of
the pkgorder.txt file before running buildinstall, then copy it back.

--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.

_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list





More information about the Kickstart-list mailing list