LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-26-2006, 04:48 AM   #1
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Rep: Reputation: 30
Cheking how to update the kernel


Hello hello !

I'd like to update my kernel version, and since it's no casual operation, i'd just like to ask you guys if I'm right with the way that must be done...

Don't worry about the length of the post, it's because of four [ code ] parts.

My system is Mandriva 2006, on a Pentium IV, using its default kernel, 2.6.12-12mdk, and the kernel-source is currently the same. (In the course of failed attempts at installing nvidia acceleration drivers, I uninstalled all nvidia AND kernel-source packages, ended up running mesa, and installed the original 2.6.12-12mdk using Mandriva's installation DVD)

I read the explanations here :
http://www.mandriva.com/en/security/kernelupdate

So, if I'm still right, the latest kernel package for mandriva being kernel-2.6.12.24mdk, what I need to do is first
Code:
urpmi kernel-2.6.12.24mdk
However, I really didn't understand the explanations about editing lilo.conf (I'm using Lilo). The original is :
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hde
map=/boot/map
keytable=/boot/fr-latin1.klt
menu-scheme=wb:bw:wb:bw
prompt
nowarn
timeout=100
message=/boot/message
disk=/dev/hde bios=0x80
image=/boot/vmlinuz
	label="linux_mandriva_2006"
	root=/dev/hdc1
	initrd=/boot/initrd.img
	append="resume=/dev/hdc5 splash=silent"
	vga=788
image=/boot/vmlinuz
	label="Linux_unknown_option"
	root=/dev/hdc1
	initrd=/boot/initrd.img
	append="resume=/dev/hdc5"
image=/boot/vmlinuz
	label="Linux_failsafe"
	root=/dev/hdc1
	initrd=/boot/initrd.img
	append="failsafe resume=/dev/hdc5"
other=/dev/hde1
	label="Windows_XP"
Does that mean there would be two versions of the part
Code:
image=/boot/vmlinuz
	label="linux_mandriva_2006"
	root=/dev/hdc1
	initrd=/boot/initrd.img
	append="resume=/dev/hdc5 splash=silent"
	vga=788
One version pointing to initrd.img (initrd.img being symlinked to the new kernel), while I should create a copy of that part, but pointing to the previous link of initrd.img ?

Just in case that has importance, here's the list of the files present in /boot :
Code:
boot.0800            initrd-2.6.12-12mdk.img  message-graphic
boot.2100            initrd.img@              message-text
config@              kernel.h@                System.map@
config-2.6.12-12mdk  kernel.h-2.6.12-12mdk    System.map-2.6.12-12mdk
fr-latin1.klt        map                      vmlinuz@
grub/                message@                 vmlinuz-2.6.12-12mdk
Does a kernel change imply other possible complications, like stuff to reinstall or reconfigure ?
Thanks if you can confirm if I'll be doing things the right way

Last edited by Sabinou; 07-26-2006 at 04:50 AM.
 
Old 07-26-2006, 10:34 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you install the new kernel version, it will create the symlinks and stanzas for you. You can then edit lilo.conf if you want to retain access to the old kernel.
 
Old 07-29-2006, 02:31 PM   #3
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Wheezy, Webmin + Virtualmin (remote dedi)
Posts: 214

Original Poster
Rep: Reputation: 30
OK then, thank you
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
KDE update and RH 9.0 Kernel update massacre Linux - Newbie 1 02-02-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:51 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