LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   I need mkinitrd >= 4.2.21-1 for centos 6.4 i386 (https://www.linuxquestions.org/questions/linux-kernel-70/i-need-mkinitrd-%3D-4-2-21-1-for-centos-6-4-i386-4175462307/)

JD Nimavat 05-17-2013 02:18 AM

I need mkinitrd >= 4.2.21-1 for centos 6.4 i386
 
Hello All,

I have removed kernel-2.6.32-358.el6.i686.rpm from the Centos 6.4 and now I am adding kernel-2.6.18-348.el5.i686.rpm ( This rpm is from centos 5.9), while checking dependency i got the following error message.

error: Failed dependenies:
mkinitrd >= 4.2.21-1 is needed by kernel-2.6.18-348.el5.i686

In centos 6.4 mkinitrd command is provided by dracut-004-303.el6.noarch.rpm,
So, there isn't mkinitrd-xxx.rpm in centos 6.4

Now when I check version of mkinitrd command in centos 6.4 it gives me following message.

[xyz]# mkinitrd --version
mkinitrd: dracut compatibility wrapper.

I searched mkinitrd-xxx.rpm for centos 6.4 on various repositories but I couldn't find it..

It is necessary for me to add kernel.rpm of centos 5.9 to centos 6.4, but because of above problem I can't..

please help me..

Thank you..

JD Nimavat

John VV 05-17-2013 03:27 PM

A question ?
why are you downgradding a centos 6 kernel to a centos 5 kernel ?
el6 is cent 6 and el5 is cent5

also centos6 is using "dracut"

here is a handy script a created to rebuild the boot image
( i was testing a knod-nvidia rpm for the dev's and needed a quick way of NOT making a typo)
place it is /
"boot.image.rebiuld.sh"
Code:

#!/usr/bash

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r ).img.backup
dracut -f /boot/initramfs-$(uname -r).img $(uname -r)


JD Nimavat 05-18-2013 04:32 PM

Thanks for your reply..

but I don't want dracut but i want mkinitrd in Centos 6.4
Is there any way to findout mkinitrd-xxx.rpm from Centos 6.4?

Thanks..
JD Nimavat

John VV 05-18-2013 09:57 PM

see:
Code:

man mkinitrd
but you are asking for a lot of trouble installing a centos 5 kernel on centos 6
a lot of trouble

JD Nimavat 05-21-2013 06:30 AM

Thanks for your reply,

but I have one more question. Can you suggest me any other kernel which can run on Centos-6.4 i386?

Thanks..
JD Nimavat

John VV 05-21-2013 12:14 PM

how about the current kernel in the updates
Code:

su -
yum update

will install the current kernel and all updates


All times are GMT -5. The time now is 12:41 PM.