LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel rpm is not getting installed---------- (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-rpm-is-not-getting-installed-349405/)

pal 08-02-2005 08:14 PM

kernel rpm is not getting installed----------
 
hello sir,
We are facing one problem.We are having one kernel(2.4.18-14) running on our machine already. We had downloaded a new kernel rpm and we are trying to install that kernel rpm using the command
#rpm -ivh kernel-------.rpm
But it is giving following problem:

Grubby error: unable to find suitable template
When we see the /etc/grub.conf the new kernel entry is there without any problem.
Now whenever we are rebooting we can not see the two kernels in the grub blue screen.
We also wanted to tell you that the same kernel rpm is working fine with other system.
what could be the problem sir

edong23 08-02-2005 08:32 PM

what if a girl responded? anyway, you should build the kernel by hand, but since the rpm installed, then it is just a grub configuration. you didnt say what distro you are using, so i cant help you beyond telling you to find the kernel bzImage that you are using, and see if the new one is there as well. usually a kernel will be in /boot and named vmlinuz. are you sure you arent using the kernel that you installed? you can find out by typing:

uname -r

into a terminal. it should say something like 2.x.xx.xx for whatever kernel you are currently using. if you originally had a 2.4 kernel, and you upgraded to a 2.6 kernel, then probably the rpm install just overwrote the symlink for /boot/vmlinuz. you can check this by typing:

ls -l /boot/vmlinuz

into a terminal. it should tell you where the symlink is pointing. some systems will define the version like this:

vmlinuz-2.6.11.12

or whatever. it should tell you, as long as that is where the bzImage and symlink are. sometimes they are in /.

when posting it is a good idea to give as much detail as you can. like:

i am using fedora core 4 with stock kernel 2.4.26 and i tried to bla bla bla....

i have also heard that you have to reinstall grub after you edit the file. not usually as grub doesnt need this, but some versions of grub do need this. so use grub-install at a command line.

rarsa 08-02-2005 09:00 PM

I agree,

The least we need to help is

- What distro

- uname -a

- your grub.conf


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