LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-26-2005, 03:52 PM   #1
fritz001
Member
 
Registered: Aug 2004
Posts: 122

Rep: Reputation: 18
Kernel compile - summary


so basicly kernel compile supose these operations

make menuconfig
make dep
make bzimage
make modules
make modules_install

now i'm using lilo

lilo.conf

image =/boot/vmlinuz
root =/dev/hda5
label=Kernel-2.4.26

wel..
i've just downloaded new kernel 2.6.10 and make all the operations above...

but now what should i do to use both kernels ???

how should i modify lilo.conf ?
 
Old 01-26-2005, 03:56 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
For kernel 2.6.X:
Making the kernel:
Code:
make (x|menu|old|)config
make
make modules_install
make install
Then, depending on how your /boot is set up, or where the new kernel is, add an entry to lilo.conf (man lilo.conf) for the new kernel and you can use lilo to select from between the two.
 
Old 01-26-2005, 03:57 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
that's not the right stages for a 2.6. kernel actually, no need to make dep.

to get the new image in place, copy /usr/src/linux-2.6.10/arch/i386/boot/bzImage to /boot/vmlinuz=2.6.10 (or similar) and basically just create a similar lilo entry with a suitable name. then as root run "lilo" and reboot. by default you'll still boot to the original kernel (so make sure you don't delete the old image file)
 
Old 01-26-2005, 03:58 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
oh, and if this is your first stab at 2.6, also make sure you have the 2.6 orientated "module-init-tools" package, or no modules will load (you'll get a message saying that QM_MODULES isn't implemented)
 
Old 01-26-2005, 04:06 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Quote:
Kernel compile - summary

so basicly kernel compile supose these operations
Why don't you just read the top thread in the Slackware forum?
It pretty much covers all aspects of 2.6 compilation ;)

At the time I read your post it was just 4 positions
higher up on the forum.


Cheers,
Tink

Last edited by Tinkster; 01-26-2005 at 04:08 PM.
 
  


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
My short summary - what do you think Artik Debian 3 05-23-2005 06:53 AM
summary and description substitutions when doing rpmbuild of Kernel dillybat Programming 0 01-14-2005 12:32 PM
log summary? ryedunn Linux - Security 1 12-31-2004 09:48 AM
Traffic summary mikeshn Linux - Software 3 03-01-2004 10:48 AM
where to find summary of kernel? sirpelidor Linux - Newbie 3 01-02-2004 03:38 AM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration