On 23/12/2010 4:58 AM, Kåre Fiedler Christiansen wrote:
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@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
I modified the above a little to suit:
# /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod
--update 2.6.35.9-64.fc14.i686
W: Cannot load dracut module "plymouth", dependencies failed.
#
Still no plymouth on reboot :\
The strange part is that this was a plain minimal install direct from
the F14 DVD, then the only things done was "yum -y update"
--
Steven Haigh
Email: netwiz(a)crc.id.au
Web:
http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299