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 06-01-2003, 12:03 AM   #1
apsn
LQ Newbie
 
Registered: May 2003
Posts: 11

Rep: Reputation: 0
Slackware Kernel problem


Newbie Kernel question:
I'm using Slackware 9.0 and just recompiled my kernel using the following:
make dep
make clean
make
make install
I'm seeing the new kernel (vmlinuz) in the "/" dir and I'm seeing the old kernel in the /boot dir.
If I check lilo.conf I see it pointing to image /boot/vmlinuz.

Is this correct? Some of the kernel changes I made do not seem to be active, so I'm wondering if I'm still booting the old kernel and if so, what do I do to correct it?
I tried copying the new kernel to /boot but got an "invalid compressed format" error when I tried to reboot.

Thanks for any help!.
 
Old 06-01-2003, 12:39 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69

/boot/vmlinuz is the current kernel. You will need to copy the newly compiled kernel from your configuration directory:
/usr/src/linux/arch/i386/boot/bzImage

But first you'll need to run make bzImage after "make clean" You may consider looking at the kernel compile user's guide in the Slackware section, you seem to be missing some of the fundamentals there.

Cool
 
Old 06-02-2003, 12:41 PM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
I think, on the newer kernel releases (after 2.4.20), the make install takes care of make bzImage and also copies arch/i386/boot/bzImage to /vmlinuz (among other things). You can easily check by running: diff /vmlinuz /usr/src/linux(version)/i386/boot/bzImage
 
Old 06-02-2003, 01:11 PM   #4
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
check this thread.
 
  


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
Problem with slackware and 2.6.13 kernel lin_user2004 Slackware 5 11-06-2005 12:17 PM
Slackware 10.2 Kernel problem exad Linux - Newbie 2 10-22-2005 09:12 AM
Slackware 10.1 Kernel 2.6.10 sound problem. landfill Linux - Hardware 8 02-15-2005 04:22 AM
Slackware 10.0 Kernel Problem! glaz Linux - Software 2 10-27-2004 03:52 AM
kernel problem with Slackware 9 install macroman Slackware 8 03-23-2003 04:45 AM

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

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