Installing kernel through rpms?

Hi

Is there any way to install a kernel using rpms and avoid compiling its sources?

PS: I am using OpenSUSE 11.2

That’s exactly what you’ve done when installing. What do you want to achieve, why install some other kernel?

sure…i’ve been using SuSE and openSUSE for years and have never
compiled a kernel from source…

i tried it once years ago, on Red Hat (if i recall correctly) but ran
in to trouble and just accepted the default kernel…

wellllll, what you didn’t say was if the variety of default kernels
available in YaST (default, pae, desktop or whatever else is already
compiled) is not okay for you…and, if not what do you need…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

I mean, When I install Kernel-default’s RPM, vmlinuz and sysmap are in /boot but there is no initrd or initramfs image! how can i boot Linux without them? Or how can i create them?

My internet connection is too slow, so it would be appreciated if you show me an OffLine installation.

You mean, you have already started and now the system has no initrd? An off-line installation? And where would you get the packages from?

An initrd is created by running ‘mkinitrd’, but by now I don’t know what your system looks like, what you have already done. Booting cannot be done without an initrd.

Sorry It’s my mistake.
I have explain the problem cleary and exactly. And I think I choose wrong forum (I Should ask the problem on Fedora forum). Thanks for your help.
BTW, I want to install the kernel that OpenSUSE 11.2 is using it on Fedora 12. After installing I have a link with initrd name, but the link target does not exists.
I tried to install kernel-default-2.6.31.5-0.1.1.i586.rpm, kernel-default-devel-2.6.31.5-0.1.1.i586.rpm, kernel-source-2.6.31.5-0.1.1.noarch.rpm, But I have not the kernel in menu.lst. After Installation I have a link it’s initrd. But the link target does not exists.

Indeed.

Indeed again.

Well, if you install an openSUSE-kernel on Fedora, where’s the surprise it does not work as planned?

The initial ram disk is created by the %post scriptlets of the rpm package, if fedora does not use the exact same way of handling this, the result is very likely what you obeserved in your attempt.

I have /boot/initrd it is a link but the link is broken the target “initrd-2.6.31.5-0.1-default” does not exists.
from which package I can get it?
I mean I think that I’ve probably omitted some rpms.