LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-19-2005, 08:26 PM   #1
bionicyeti
LQ Newbie
 
Registered: Jul 2004
Location: Ann Arbor area
Distribution: debian
Posts: 11

Rep: Reputation: 0
Smile Knoopix and newer kernel


This may be a weird question but. I installed knoppix to my hard drive. All that worked out great. Everything is running fine. But I want to upgrade the kernel. I built the new kernel and all that stuff. I installed it and it was successful. I even went as far as to edit lilo. Still boots of the default knoppix kernel. Does Knoppix look somewhere different??? Thanks for any help and sorry if my question or how I worded it sucks.
 
Old 01-19-2005, 09:11 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Did you re-run lilo after making changes to the lilo.conf ?
 
Old 01-20-2005, 04:19 AM   #3
RodimusProblem
Member
 
Registered: Dec 2004
Distribution: Knoppix 3.6
Posts: 135

Rep: Reputation: 15
In lilo.conf you should see a stanza like this:
Code:
image=/boot/vmlinuz
	label="Linux"
	root=/dev/hda2
	initrd=/boot/initrd.img
	append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce quiet"
	read-only
Change /boot/vmlinuz to the newer kernel image. ( /boot/vmlinuz-2.6.27 or something )

/boot/vmlinuz is a symlink to the old kernel.
 
Old 01-20-2005, 10:42 AM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
I would suggest leaving the old kernel and the lines for it in lilo just to have something to fall back onto in case you bork your running kernel.
Add lines for the new kernel after checking under /boot the name of wmlinuz. This is what I have at the moment:

Code:
image=/boot/vmlinuz-2.6.9-060105
        label="Linux-2.6.9"
        append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi hdb=2434,255,63 nomce "
        read-only

image=/boot/vmlinuz-2.6.7
        label="Linux-2.6.7"
        append="ramdisk_size=100000 lang=us hda=scsi hdb=scsi hdb=2434,255,63 nomce "
        read-only
 
Old 01-22-2005, 09:06 AM   #5
bionicyeti
LQ Newbie
 
Registered: Jul 2004
Location: Ann Arbor area
Distribution: debian
Posts: 11

Original Poster
Rep: Reputation: 0
Homey was on the right track. I didn't run lilo.

I ran lilo and it boots but then hangs. So something is screwed up.

thanks for your help though.
 
  


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
migrate to a newer kernel alaios Linux - General 6 06-12-2005 05:26 PM
newer 2 kernel chris_law Linux - Software 1 01-13-2004 10:11 AM
what are the advantages to upgrading to a newer kernel? Mugatu Linux - Newbie 1 01-06-2004 03:35 PM
Custom install with newer kernel bones996 Red Hat 3 11-12-2003 04:06 AM
Knoopix is SWEET! Dark_Helmet Linux - Distributions 8 03-24-2003 09:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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