LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-02-2005, 08:14 PM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
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
 
Old 08-02-2005, 08:32 PM   #2
edong23
Member
 
Registered: Apr 2005
Distribution: Slackware
Posts: 350

Rep: Reputation: 30
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.
 
Old 08-02-2005, 09:00 PM   #3
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
I agree,

The least we need to help is

- What distro

- uname -a

- your grub.conf

Last edited by rarsa; 08-02-2005 at 09:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm -ivh says installed rpm -e says not installed ??? skog Fedora 3 12-22-2004 03:52 PM
rpm -q not shows installed rpm mla Linux - Software 4 10-31-2004 02:49 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 01:17 AM
installed kernel from src.rpm but what config was used ? qwijibow Linux - Software 2 01-20-2004 04:37 PM
rpm: installed or not installed... c0c0deuz Linux - General 4 07-12-2003 06:38 PM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration