Skip to contentSkip to conversation

How to compile on one machine and install on another?

DISCUSSION John Weber 3 participants 3 messages Jun 20, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

John Weber

author
#1 lore raw
Quoted 9 lines · Alan Cox
Quoted 5 lines

I am trying to compile the 2.2.19 kernel one one machine for installation on another. I believe I need to do more than just copy over bzImage and modify lilo.conf, but I don't know what. Is there documentation somewhere on how to do this? Thanks.

Other than making sure you configure it for the box it will eventually run on - nope you have it all sorted. If you use modules you'll want to install the modules on the target machine too

On a related note... is System.map also necessary? Anyone care to explain

what System.map does? I have noticed that my kernel works with or without that file, but just figured it was a good question to ask in this thread.

#2 lore raw
Quoted 1 line · John Weber

On a related note... is System.map also necessary? Anyone care to explain

Debugging. ksymoops and klogd can both make use of it.

mrc

Signature · 3 lines
     Mike Castle      [email protected]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
#3 lore raw
In reply to John Weber
Quoted 3 lines · John Weber

On a related note... is System.map also necessary? Anyone care to explain what System.map does? I have noticed that my kernel works with or without that file, but just figured it was a good question to ask in

Used by assorted user space utilities, ps, ksymoops, klogd and others. It is not needed for booting, so its presence in /boot is a mistake.