LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-17-2013, 02:18 AM   #1
JD Nimavat
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Rep: Reputation: Disabled
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

Last edited by JD Nimavat; 05-17-2013 at 06:16 AM.
 
Old 05-17-2013, 03:27 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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)
 
1 members found this post helpful.
Old 05-18-2013, 04:32 PM   #3
JD Nimavat
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-18-2013, 09:57 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 05-21-2013, 06:30 AM   #5
JD Nimavat
LQ Newbie
 
Registered: Apr 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-21-2013, 12:14 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
how about the current kernel in the updates
Code:
su -
yum update
will install the current kernel and all updates
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: CentOS-announce Release for CentOS-6.4 i386 and x86_64 LXer Syndicated Linux News 0 03-09-2013 03:50 PM
LXer: CentOS-announce Release for CentOS-5.6 i386 and x86_64 LXer Syndicated Linux News 0 04-09-2011 05:00 AM
trying to wget http://vault.centos.org/5.2/os/i386/CentOS/ amish123 Linux - Software 1 02-15-2010 05:09 PM
Deleteing mkinitrd-5.1.19.0.3-1.i386.rpm mepenn Fedora 3 12-26-2007 11:30 AM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration