LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-21-2007, 07:09 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Boot problem after kernel upgrade


I upgraded my kernel today and when I rebooted my boot splash screen still showed the previous kernel. When I selected it I got error 15 because, of course, the previous kernel is no longer there. I edited grub to show the new kernel and it booted fine. I checked /boot /grub/menu.lst and it looked fine with my new kernel listed. I rebooted and the splash screen again showed the previous kernel. I even deleted the old menu.lst file that still contained the older kernel version but that didn't help.

My boot splash screen still shows the old kernel even though the menu.lst file shows the new one. Any one know what the glitch is? I have to manually enter the new kernel everytime in order to boot. Any suggestions?
 
Old 03-21-2007, 08:44 PM   #2
broch
Member
 
Registered: Feb 2005
Distribution: Slackware-current 64bit
Posts: 465

Rep: Reputation: 32
yup: menu.lst is read only, change flags and give write access.
 
Old 03-21-2007, 09:53 PM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by broch
yup: menu.lst is read only, change flags and give write access.
I know what write access means but then what? menu.lst looks ok to me.
 
Old 03-22-2007, 11:11 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Does your menu.lst point to the kernel binary directly, or does it point to the link vmlinuz? Maybe you need to redirect this link to the new kernel (same with initrd). Also a few more informations could help (menu.lst, the name of your new kernel, the way you updated, etc.)
 
Old 03-22-2007, 12:20 PM   #5
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Are you using a mirror RAID1?
 
Old 03-22-2007, 12:57 PM   #6
mether
Member
 
Registered: Mar 2007
Distribution: RHEL, Fedora, Open Suse
Posts: 151

Rep: Reputation: 31
Add the entries you use for mannual method in grub.conf and then re-install grub. We are not sure how exactly you upgraded the kernel so can't say what it did. Also what ramram29 is saying could be related.

Additionally a very strange but could be possible ( i have seen some cases like that )..where the boot partition is unmounted when kernel is installed so it gets installed on / ( with a folder /boot on it ). I mean not on the additional partition for boot.
 
Old 03-22-2007, 05:42 PM   #7
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
First, thanks for the replys. I'm not using RAID. I updated from the opensuse repos from kernel 2.6.18.8-129 to 2.6.18.8-198. Everything I looked at in /boot referred to the newer kernel. /usr/src/ still has two folders for 2.6.18.8-129 but none of the symbolic links in /boot point to them.

Quote:
Add the entries you use for mannual method in grub.conf and then re-install grub
Those entries are already in /boot/grub/menu.lst:

###Don't change this comment - YaST2 identifier: Original name: SUSE Linux 10.1 (/dev/sda4)###
title SUSE Linux 10.1 (/dev/sda4)
kernel (hd0,3)/boot/vmlinuz root=/dev/sda4 vga=0x317 resume=/dev/sda1 splash=silent showopts
initrd (hd0,3)/boot/initrd

title Kernel-2.6.18.8-198-default
root (hd0,1)
kernel /boot/vmlinuz-2.6.18.8-198-default root=/dev/sda2 vga=0x317 resume=/dev/sda1 splash=silent showopts
initrd /boot/initrd-2.6.18.8-198-default

The first one is an install of openSUSE 10.3 alpha 2. It says the title is SUSE Linux 10.1 but the splash screen says openSUSE 10.3. 10.3 Failsafe is also on the boot splash screen even though it's not listed in menu.lst. I haven't been able to find the config file that is generating the boot splash screen with the older kernel.
 
Old 03-23-2007, 01:48 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
OK, it seems you have two Linux installations on sda1 and sda4. What if grub reads menu.lst from the other partition? In this case you are changing the wrong file.
 
Old 03-23-2007, 12:01 PM   #9
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
I finally found the entry for the older kernel using the YaST boot configuration tool. I deleted it and made the new kernel the default and everything is back to normal. Thanks for the input.
 
  


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
2.6.19 kernel upgrade boot error Saith Linux - Hardware 6 02-07-2007 08:44 PM
Lock-up on boot after kernel upgrade wheaties_box Linux - General 2 12-09-2006 01:41 PM
couldn't boot after upgrade kernel longnam Slackware 4 04-13-2005 02:07 AM
Lilo won't boot XP after kernel upgrade jafriede Slackware 6 09-22-2004 01:35 PM
Help, upgrade kernel and failed boot explorer1979 Linux - General 3 09-26-2002 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:47 PM.

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