LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-07-2005, 05:16 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
HELP!!!!!!! Linux Kernel Updating!


Hey everyone, i just ran an online update using Yast for my Suse Linux 9.1 Personal edition and it updated the kernel. After it finished updating it gave me a message that i need to execute /sbin/lilo before i reboot the system (something like that). Now when I tried to go to the command line to execute /sbin/lilo it keep saying that no lilo.conf file is found! I tried to run it as root also and it gave me the same error. Please help, im scared to reboot my computer cuz when I ran cat /sbin/lilo it printed out alot of messages on the screen and one of them says WARNING: Your system is not bootable!! PLEASE HELP
 
Old 05-07-2005, 05:31 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
This is odd since SusE has been a long time fan of grub not lilo, but anyways.

type cat /etc/lilo.conf and post the output.
PS: The install CD should have a "Bootloader Recovery" option if your system is truely hosed, but we'll take it one step at a time.
 
Old 05-07-2005, 10:57 AM   #3
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
hey i typed it and this is the output:

majid@linux:~> cat /etc/lilo.conf
cat: /etc/lilo.conf: No such file or directory


All i know is that when i was updating using YaST, i clicked the on the box that says put an X in it if i want all the source files/binaries that it downloaded to be deleted after installation. Do you think that is the reason why the /etc/lilo.conf file doesnt exist?
 
Old 05-07-2005, 10:58 AM   #4
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
I even tried to run it as root and it gave me the same response of "no such file or directory"
 
Old 05-07-2005, 11:10 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Usually grub is the default, as musicman_ace already pointed out ! So if you did not install lilo (you can't do that accidentally, so you should know!), you can safely ignore the warning. It is just a reminder in case you prefer to use lilo.

Just in case you really use lilo, you could use YaST->System->'Boot Loader Configuration' to re-install it. It should also tell you which bootloader you are using.
 
Old 05-07-2005, 11:22 AM   #6
CouchMaster
Member
 
Registered: Mar 2005
Location: West Texas
Distribution: Sidux - Mint - PC Linux - Ubuntu 7.04 - Mepis 7 Beta5 - DreamLinux 2.2
Posts: 234

Rep: Reputation: 33
I got the same message but I think it also said something else - like only do this if so and so etc. Anyway the new kernel crashed my computer so I had to reinstall - and I did not put the new kernel back on. So far everything is going good........
 
Old 05-07-2005, 11:40 AM   #7
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
Ok i went to the Yast Bootloader configuration option and this is the output it gave me:

Boot Loader Type: GRUB
Boot Loader Location: /dev/hda etc etc
Disk Order: /dev/hda
Default Section: Linux
Available Sections: Linux (default), Windows, Failsafe
Activate Boot Loader Partition: No
Replace Code in MBR: Leave untouched
Back up affected disk areas: No
Add saved MBR to bootloader menu: No
Save method: save only changed files

color: white/blue-black/light-gray
timeout: 8 s
gfxmenu: (hd0,2)/boot/message



according to the above, my bootloader is GRUB not LILO, does that explain why my /etc/lilo.conf file doesnt exist? Also due to this, is it safe for me to reboot my computer?
 
Old 05-07-2005, 11:41 AM   #8
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Yes!
 
Old 05-07-2005, 11:42 AM   #9
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
the new kernel crashed your computer????? How do i install it then? lol or is that a good idea? Also when i updated using Yast, it gave me a message later on saying that a bunch of my programs im running on Linux,need certain dependencies. Those dependencies were there before i updated. Anyway i can go back to my previous state (meaning before the update) ?
 
Old 05-07-2005, 11:43 AM   #10
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
err sorry, how do i uninstall the new kernel thats what i mean LOL
 
Old 05-07-2005, 11:59 AM   #11
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
If you want to reverse your kernel update, go into YaST->Software->Install and Remove Software, search for kernel-default (or whatever kernel you are using and select it for installation (green recycle symbol).

But it's a pretty rare event that a kernel update via YOU brakes your installation. Give it a try! The dependency problems you mentioned didn't come from YOU, right?
 
Old 05-07-2005, 12:00 PM   #12
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Hopefully it didn't overwrite the old settings. go to /boot/grub and you should find either menu.lst or grub.conf. This is the file you want to edit for your bootloader. You can either post its contents or if YAST commented the old kernel, un-comment it.
 
Old 05-07-2005, 12:03 PM   #13
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Quote:
Hopefully it didn't overwrite the old settings.
Yes, it probably did, so there is nothing to change in /boot/grub/menu.lst, since the kernel will be replaced by the new version already. But if you re-install the old kernel as I told you above, it will be fine.
 
Old 05-07-2005, 12:06 PM   #14
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Original Poster
Rep: Reputation: 30
The dependency problems were a result of the updating thru YOU but i resolve them by downgrading those packages that were conflicting, back to their old version. This fixed that problem.

now my /boot/grub out put looks like this:

linux:/boot/grub # cat menu.lst
# Modified by YaST2. Last modification on Thu Mar 3 13:31:40 2005


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x314 splash=silent desktop resume=/dev/hda2 showopts
initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,2)/boot/initrd



does that look normal to you guys? Also, was it a good idea that i downgraded the conflicting packages back to their original states? I mean it got rid of the confliction
 
Old 05-07-2005, 12:14 PM   #15
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Your menu.lst look perfectly normal. The point is that the YOU kernel update has replaced the kernel binary in /boot with the new version. If you do not reboot, the old kernel is still in memory, but on next reboot, the link /boot/vmlinuz will point to the new kernel binary. So if you fear that the new kernel could not run on your system (which is not very likely), you can still revert the installation like I told you before. You could even do this after you tried to boot a broken kernel, but this is a little more complicated.
 
  


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
updating kernel, no '/usr/src/linux' directory? rubbercash SUSE / openSUSE 2 04-30-2005 01:00 PM
updating the linux kernel with a patch? behmjoe Linux - General 5 04-22-2005 09:29 AM
About updating kernel on reahat enterprise linux AS 2.1 szfszm Linux - Enterprise 1 07-22-2004 08:40 AM
Help updating linux kernel? ginda Linux - Newbie 1 04-13-2004 04:22 AM
HELP! Broke Linux by updating the kernel :( rverlander Linux - General 5 06-02-2002 02:58 AM

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

All times are GMT -5. The time now is 11:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration