LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-07-2004, 04:40 AM   #1
karfei00
Member
 
Registered: May 2004
Posts: 54

Rep: Reputation: 15
How to compile kernel 2.6.6?


i noticed that the compiling method on kernel 2.6.6 is totally different with how we compile old kernels.......

old version:

cd /usr/src/linux
make menuconfig
make dep
make clean
make bzImage
make modules
cp /usr/Linux/src/arch/i386/boot/zImage /boot/newkernel
make modules_install

i have triend to apply steps above on kernel 2.6.6, but when i came to "make dep"....console showed a statement " make dep is unecessary now" ...any ideas? thanks a lot
 
Old 06-07-2004, 04:45 AM   #2
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 31
Um... well, as it says, make dep is now unnecessary, so procede with make clean...
 
Old 06-07-2004, 04:55 AM   #3
minibootsy
LQ Newbie
 
Registered: Mar 2004
Location: australia.
Distribution: slackware
Posts: 17

Rep: Reputation: Disabled
root@shadowx-linux:/usr/src/linux# make bzimage
make: *** No rule to make target `bzimage'. Stop.



how do i fix this? :S im trying to get the 2.6.6 kernel going but no luck. it all works up untill there.
 
Old 06-07-2004, 05:01 AM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
put make bzImage (note capital i)
 
Old 06-07-2004, 05:10 AM   #5
karfei00
Member
 
Registered: May 2004
Posts: 54

Original Poster
Rep: Reputation: 15
after make menuconfig......i type make....and it runs (successfully i guest) , .......after that what command should i type to proceed? thx
 
Old 06-07-2004, 06:01 AM   #6
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
What i do is follow the same procedure as if it was a 2.4 kernel
1.- make bzImage
2.- make modules
3.- make modules_install
4.- make install

I have recompiled the kernel this way several times (2.6.6) and always worked.
 
Old 06-07-2004, 06:11 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
there's a bunch of new options in that README file in the top directory of the 2.6 source
 
Old 06-07-2004, 06:13 AM   #8
minibootsy
LQ Newbie
 
Registered: Mar 2004
Location: australia.
Distribution: slackware
Posts: 17

Rep: Reputation: Disabled
DOH! check the sig thanks dude

linux is hard oh well, at least now that i should be able to get into my sata hdd's it will be more practable to say in linux, rebooting to get a html file or the like is kinda dumb...

hopefuly things will go well and i will only have to re-work the kernel once or twice


btw, do i need to make an initrd image for my promise sata controler? i dont think i do but then some people said it comes under scsi and some people said it didnt

Last edited by minibootsy; 06-07-2004 at 06:37 AM.
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:31 AM.

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