LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-28-2004, 04:52 PM   #1
sharapchi
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Rep: Reputation: 15
how to compile kernel


hi,
i want to know how you compile your kernel.
And what happens when compiling kernel. (which files are made )

i am using slackware 10 with sata.i
when i make a change it does not run.
says that there is a kernel panic.
for example when i make nfts option active, it does not reboot.
and also ethernet.

i continue these instructions

first i copy config file of sata.i from kernels/sata.i to /usr/scr/linux
with .config name.

make menuconfig

i make active nfts option (not modular)(read only)
and also my ethernet card support.

makedep, make clean, make bzImage

cp arch/i386/boot/bzImage /boot/vmlinux

cp System.map /boot

lilo

i try it only with nfts, nothing changes.

i want to know if i made a wrong thing

i am also using win 2000. because of this i cannot use only linux.

and sorry everyone for my bad english.

Last edited by sharapchi; 12-28-2004 at 05:04 PM.
 
Old 12-28-2004, 05:13 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I've always followed this order

make clean
make mrproper if its 2.6.x
make menuconfig
make bzImage
make modules
make modules_install

copy the bzImage to /boot
mkinitrd -k bzImage -i initrd-test
 
  


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


All times are GMT -5. The time now is 09:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration