public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel Compilation Basics
@ 2001-11-23 21:57 Paulo J. Matos aka PDestroy
  2001-11-23 22:11 ` Robert Love
  2001-11-24  0:16 ` David Relson
  0 siblings, 2 replies; 4+ messages in thread
From: Paulo J. Matos aka PDestroy @ 2001-11-23 21:57 UTC (permalink / raw)
  To: linux-kernel

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,

-- 
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!


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Compilation Basics
  2001-11-23 21:57 Kernel Compilation Basics Paulo J. Matos aka PDestroy
@ 2001-11-23 22:11 ` Robert Love
  2001-11-24  0:16 ` David Relson
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Love @ 2001-11-23 22:11 UTC (permalink / raw)
  To: Paulo J. Matos aka   PDestroy; +Cc: linux-kernel

On Fri, 2001-11-23 at 16:57, Paulo J. Matos aka PDestroy wrote:
> 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?

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Compilation Basics
  2001-11-23 21:57 Kernel Compilation Basics Paulo J. Matos aka PDestroy
  2001-11-23 22:11 ` Robert Love
@ 2001-11-24  0:16 ` David Relson
  2001-11-24  0:21   ` Mike Dresser
  1 sibling, 1 reply; 4+ messages in thread
From: David Relson @ 2001-11-24  0:16 UTC (permalink / raw)
  To: Paulo J. Matos aka PDestroy; +Cc: linux-kernel

At 04:57 PM 11/23/01, Paulo J. Matos aka PDestroy wrote:
>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?

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Kernel Compilation Basics
  2001-11-24  0:16 ` David Relson
@ 2001-11-24  0:21   ` Mike Dresser
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Dresser @ 2001-11-24  0:21 UTC (permalink / raw)
  To: David Relson; +Cc: Paulo J. Matos aka PDestroy, linux-kernel



On Fri, 23 Nov 2001, David Relson wrote:

> At 04:57 PM 11/23/01, Paulo J. Matos aka PDestroy wrote:
> >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
> 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-24  0:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-23 21:57 Kernel Compilation Basics Paulo J. Matos aka PDestroy
2001-11-23 22:11 ` Robert Love
2001-11-24  0:16 ` David Relson
2001-11-24  0:21   ` Mike Dresser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox