On Wed, Dec 22, 2010 at 12:58, cornel panceac <cpanceac(a)gmail.com> wrote:
2010/12/22 Steven Haigh <netwiz(a)crc.id.au>
>
> On 22/12/2010 10:41 PM, cornel panceac wrote:
> >
> > 2010/12/22 Steven Haigh <netwiz(a)crc.id.au
<mailto:netwiz@crc.id.au>>
> >
> > When I try to rebuild initrd using plymouth-set-default-theme, I get
> > the
> > following output:
> >
> > # plymouth-set-default-theme --rebuild-initrd text
> > W: Cannot load dracut module "plymouth", dependencies failed.
> >
> > Does anyone know how to restore this?
> >
> > --
> > Steven Haigh
> >
> > i reinstalled the latest kernel to fix this. it was a netinstall in my
> > case.
>
> I have the following kernels installed:
>
> # rpm -qa | grep kernel
> kernel-2.6.35.9-64.fc14.i686
> kernel-2.6.35.6-45.fc14.i686
>
> Obviously, kernel-2.6.35.6-45.fc14.i686 from the install media,
> kernel-2.6.35.9-64.fc14.i686 from the updates repo.
>
> Booting with kernel-2.6.35.6-45.fc14.i686 shows plymouth as it should.
>
> Booting with kernel-2.6.35.9-64.fc14.i686 does not show anything
> plymouth related on boot.
>
> What kernel are you using that has a working plymouth?
>
> --
> Steven Haigh
>
i'm at office and i can't tell for sure, but i assume it's *64*.
If reinstalling the kernel fixes the issue, probably something in the
post-install scriptlets fixes it.
My system tells me this:
-----
$ rpm -q --scripts kernel-2.6.35.9-64.fc14.x86_64
postinstall scriptlet (using /bin/sh):
if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&
[ -f /etc/sysconfig/kernel ]; then
/bin/sed -r -i -e
's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/'
/etc/sysconfig/kernel || exit $?
fi
/sbin/new-kernel-pkg --package kernel --install
2.6.35.9-64.fc14.x86_64 || exit $?
preuninstall scriptlet (using /bin/sh):
/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove
2.6.35.9-64.fc14.x86_64 || exit $?
posttrans scriptlet (using /bin/sh):
/sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod
--update 2.6.35.9-64.fc14.x86_64 || exit $?
/sbin/new-kernel-pkg --package kernel --rpmposttrans
2.6.35.9-64.fc14.x86_64 || exit $?
-----
I would guess that
$ /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod
--update 2.6.35.9-64.fc14.x86_64 || exit $?
would probably fix your issues.
If this works, it sounds like some other package (dracut? plymouth?
something else?) is missing a scriptlet to remake initrd.
Best,
Kåre
--
Kåre Fiedler Christiansen