Skip to contentSkip to conversation

Kernel Compilation Basics

DISCUSSION Paulo J. Matos aka PDestroy 4 participants 4 messages Nov 23, 2001 – Nov 24, 2001

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to compile 2.4.15.
I've read Kernel Howto and I've done the quick compilation steps:
make xconfig
make dep
make clean
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.15
make modules
make modules_install

What about now?
How do I create system map and modules info?
What are they for?
I feel that kernel howto is not explicit with this questions. Is there any place where can I get insight about these questions?

Best regards,

Signature · 7 lines
Paulo J. Matos aka PDestroy : pocm(_at_)rnl.ist.utl.pt
Instituto Superior Tecnico - Lisbon    
Software & Computer Engineering - A.I.
 - > http://www.rnl.ist.utl.pt/~pocm 
 ---	
	Yes, God had a deadline...
		So, He wrote it all in Lisp!
#1 lore raw
Quoted 10 lines · Paulo J. Matos aka PDestroy

I'm trying to compile 2.4.15.
I've read Kernel Howto and I've done the quick compilation steps:
make xconfig
make dep
make clean
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.15
make modules
make modules_install

Quoted 5 lines

What about now?
How do I create system map and modules info?
What are they for?
I feel that kernel howto is not explicit with this questions. Is there any place where can I get insight about these questions?

You already have a System.map, it is in the root of your linux source directory. Thus, as you copied vmlinuz over, do the same for System.map:

	cp System.map /boot/System.map-2.4.15

modules-info is something specific to RedHat which you do not need. `make modules_install' is all that is required. Now, edit your bootloader (lilo, grub, etc) and reboot. Enjoy.

Robert Love

#2 lore raw
In reply to Paulo J. Matos aka PDestroy
Quoted 12 lines · Paulo J. Matos aka PDestroy

Hi all,

I'm trying to compile 2.4.15.
I've read Kernel Howto and I've done the quick compilation steps:
make xconfig
make dep
make clean
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.15
make modules
make modules_install

Quoted 5 lines

What about now?
How do I create system map and modules info?
What are they for?
I feel that kernel howto is not explicit with this questions. Is there any place where can I get insight about these questions?

Rather than "cp ... /boot/..." use "make install". If I remember correctly, "make install" will even add the proper entry to /etc/lilo.conf. Assuming you are using lilo, you will also need to run it after "make modules_install".

David

#3 lore raw
Quoted 10 lines · David Relson
Quoted 9 lines · Paulo J. Matos aka PDestroy

Hi all,

I'm trying to compile 2.4.15.
I've read Kernel Howto and I've done the quick compilation steps:
make xconfig
make dep
make clean
make bzImage
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.15

Quoted 6 lines

Rather than "cp ... /boot/..." use "make install". If I remember correctly, "make install" will even add the proper entry to /etc/lilo.conf. Assuming you are using lilo, you will also need to run it after "make modules_install".

David

I've always done a make bzlilo after the dep clean, is this wrong? Updates my lilo for me just fine.

Mike