[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Problems installing RHEL3 through PXE+NFS



Philip Rowlands <phr doc ic ac uk> wrote:

> On Thu, 1 Dec 2005, Sébastien Aperghis-Tramoni wrote:
>
> > I am currently working on making a custom install of a RedHat
> > Enterprise Linux 3.0, and am now encountering problem I really don't
> > understand: when I try to install via PXE, it looks like the
> > dependencies have all been scratched, the installer just nistall
> > package in the alphabetical order, and therefore many packages just
> > can't be installed because they miss they prereqs, including the
> > kernel itself.
>
> This question was asked/answered two days ago:
> https://www.redhat.com/archives/kickstart-list/2005-November/msg00062.html

Except that the --productpath option is not recognized by the genhdlist
program from Anaconda 9.1.5.8, the version used on RHEL3u5.

The commands I currently execute to recreate the installation tree are:

  /usr/lib/anaconda-runtime/genhdlist $RHDIST
  chmod 644 $RHDIST/RedHat/base/hdlist{,2}

  # several commands to rebuild comps.rpm

  /usr/lib/anaconda-runtime/pkgorder $RHDIST i386 core base acoss \
        french-support > $RHDIST/pkgorder.txt
  cp $RHDIST/pkgorder.txt $RHDIST/pkgorder-bak.txt

  /usr/lib/anaconda-runtime/buildinstall \
        --pkgorder $RHDIST/pkgorder.txt --comp dist-3 \
        --version 3ES --product "RedHat Enterprise Linux 3" \
        --release "[build A003 - $(date '+%Y-%m-%d %H:%M')]" \
        $RHDIST
  cp /redhat/rhel3u5/pkgorder-bak.txt /redhat/rhel3u5/pkgorder.txt

  /usr/lib/anaconda-runtime/splittree.py \
        --arch=i386 --distdir=$RHDIST \
        --total-discs=3 --bin-discs=3 --src-discs=1 \
        --pkgorderfile=$RHDIST/pkgorder.txt \
        --release-string="[build A003 - $(date '+%Y-%m-%d %H:%M')]" \
        --srcdir=$RHDIST/SRPMS

  rm -f $RHDIST-disc1/RedHat/base/hdlist*
  /usr/lib/anaconda-runtime/genhdlist --withnumbers \
        --fileorder $RHDIST/pkgorder.txt $RHDIST-disc*

and after these a few mkisofs to create the corresponding ISO images.

Does that mean I need to execute genhdlist just after executing pkgorder?


PS: There seems to be a quite long delay between the time I send a mail
and the time it hits the list as I haven't received yet any of the two
previous mails I sent.

--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]