Bluehost.com Web Hosting $6.95

Booting wrong kernel

This is a discussion on Booting wrong kernel within the Linux General forums, part of the Linux Forums category; I have been using grub on a remote linux (redhat) server. After a yum update now I always boot a ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-29-2005
nospam@nospam.com
 
Posts: n/a
Default Booting wrong kernel

I have been using grub on a remote linux (redhat) server. After a yum update
now I always boot a kernel which is old. If I modify the grub.conf and
change the default it STILL boots the same kernel ignoring the entry I asked
for. I noticed lilo is installed. Could it be I got switched to lilo during
my yum update ? Is there a way to tell remotely which boot manager I am
using? Thanks

Reply With Quote
  #2 (permalink)  
Old 03-29-2005
Timothy Murphy
 
Posts: n/a
Default Re: Booting wrong kernel

nospam@nospam.com wrote:

> I have been using grub on a remote linux (redhat) server. After a yum
> update now I always boot a kernel which is old. If I modify the grub.conf
> and change the default it STILL boots the same kernel ignoring the entry I
> asked for. I noticed lilo is installed. Could it be I got switched to lilo
> during my yum update ? Is there a way to tell remotely which boot manager
> I am
> using?


Why not just install or re-install grub eg with

grub-install --recheck /dev/hda

Then you will know you are using grub.

--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Reply With Quote
  #3 (permalink)  
Old 03-29-2005
prg
 
Posts: n/a
Default Re: Booting wrong kernel


nospam@nospam.com wrote:
> I have been using grub on a remote linux (redhat) server. After a yum

update
> now I always boot a kernel which is old. If I modify the grub.conf

and
> change the default it STILL boots the same kernel ignoring the entry

I asked
> for. I noticed lilo is installed. Could it be I got switched to lilo

during
> my yum update ? Is there a way to tell remotely which boot manager I

am
> using? Thanks


A switch to Lilo is almost assured _not_ the case. Would require that
Lilo be written to MBR(?) and that Lilo be run from Linux, rebooted,
etc.

Are you sure that the "update" did not _replace_ your old kernel?

What does
$ ls -l /boot
and
$ ls -l /boot/grub
show?

As root, what does your /boot/grub/grub.conf show? Your
/boot/grub/device.map?

When you change grub.conf, do you change the default ;)?
default=???

Since you can re-boot the machine are you able to run grub without the
menu, ie., are you physically present at the machine's console? If so,
can you get grub to load your old kernel "manually"? If not, see above
;)

hth,
prg

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0