LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-27-2004, 12:45 PM   #1
msilvers
LQ Newbie
 
Registered: Jan 2004
Location: Salisbury, MD
Distribution: SuSE
Posts: 11

Rep: Reputation: 0
Problem Recognizing new kernel


All,

I compiled a new kernel (from 2.2.20 to 2.4.18). The compile went well and everything appeared to be correct. I checked the link for /vmlinuz and /boot/vmlinuz. Both are pointing to the new kernel (/boot/vmlinuz-2.4.18). The system.map and config-2.4.18 files are in the /boot directory. I updated the lilo config, as I am using lilo as my boot loader. There were no errors when the kernel was compiled.

Here is my problem: Everytime I start the machine, it loads the OLD kernel (vmlinuz-2.2.20-idepci). I can not find any references to the old kernel at all. Every link I have points to the new kernel.

Any ideas? I'm stumped!

Thanks

Mike
 
Old 02-27-2004, 01:05 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
run `/sbin/lilo`
 
Old 02-27-2004, 01:10 PM   #3
msilvers
LQ Newbie
 
Registered: Jan 2004
Location: Salisbury, MD
Distribution: SuSE
Posts: 11

Original Poster
Rep: Reputation: 0
I forgot to mention that in the original post -- but I did run /sbin/lilo. It ran with no problems. the problem still persisted.........
 
Old 02-27-2004, 01:14 PM   #4
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
can you post /etc/lilo.conf?
 
Old 02-27-2004, 01:33 PM   #5
msilvers
LQ Newbie
 
Registered: Jan 2004
Location: Salisbury, MD
Distribution: SuSE
Posts: 11

Original Poster
Rep: Reputation: 0
The current lilo.conf:

boot=/dev/hda1
root=/dev/hda1
compact
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
label = Linux
read-only


notes:
mikelinux3:/# ls -l /vmlinuz
lrwxrwxrwx 1 root root 19 Feb 27 12:54 /vmlinuz -> boot/vmlinuz-2.4.18
mikelinux3:/# ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 8 Feb 27 06:38 /boot/vmlinuz -> /vmlinuz
 
Old 02-27-2004, 02:09 PM   #6
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
the only thing that screams at me is the lack of an absolute path to vmlinuz-2.4.18
it's missing a `/`
lrwxrwxrwx 1 root root 19 Feb 27 12:54 /vmlinuz -> boot/vmlinuz-2.4.18 should be
lrwxrwxrwx 1 root root 19 Feb 27 12:54 /vmlinuz -> /boot/vmlinuz-2.4.18

also, /boot/vmlinuz should link directly to vmlinuz-2.4.18 rather than to /vmlinuz -> boot/vmlinuz

another thing, if you uncomment line 77 of /usr/src/linux-2.4.18/Makefile, then run `make install` it automagically puts things in the right place.

You may also point lilo.conf directly to /boot/vmlinuz-2.4.18, it doesn't much care.
 
Old 02-27-2004, 03:30 PM   #7
msilvers
LQ Newbie
 
Registered: Jan 2004
Location: Salisbury, MD
Distribution: SuSE
Posts: 11

Original Poster
Rep: Reputation: 0
I made the changes you recommended... the problem persists...
 
Old 02-27-2004, 03:42 PM   #8
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
SLAP!!!!

I missed it...

boot=/dev/hda #not hda1

then rerun lilo

This causes lilo to install to the MBR, which gets read at boot, as opposed to the partittion, which doesn't
 
  


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
Fixed Problem:Not recognizing DVD/CD-RW DyeKid Slackware 1 01-26-2005 01:50 PM
Problem recognizing hard drive Pontius Linux - Hardware 2 06-23-2004 01:09 AM
Problem with RedHat 9 install recognizing my CDs. GeekFreak Red Hat 1 05-01-2004 01:33 AM
problem recognizing seagate hard drive nom the unwise Linux - Hardware 1 02-09-2004 08:07 PM
Recognizing executables tracey Linux - Newbie 5 03-01-2002 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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