SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tim Potter <[log in to unmask]>
Reply To:
Tim Potter <[log in to unmask]>
Date:
Wed, 30 Mar 2011 12:47:55 +1100
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Hi everyone.  I'm installing Scientific Linux 6.0 from a kickstart and
see the following error in the /root/install.log when the installation
completes:

/sbin/new-kernel-pkg: line 296: /sbin/dracut: No such file or directory
mkinitrd failed

Unfortunately the initramfs file is not created and the install does not
boot.  )-:  I've tried adding dracut to the %packages list but Anaconda
decides to install it and dracut-kernel after the kernel RPM so it still
doesn't work.  A very similar kickstart file on RHEL6 installs without a
hitch.

I wonder if there is a missing install dependency in the kernel package?

Here's a workaround:

%post

KERNEL_RPMS=`rpm -qa | grep ^kernel-2.6`

for KERNEL_RPM in \$KERNEL_RPMS; do
    rpm -e --justdb --nodeps \$KERNEL_RPM
    yum install --nogpgcheck -y \$KERNEL_RPM
done

Tim.

ATOM RSS1 RSS2