lkml.org 
[lkml]   [1998]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel and modules for another machine.
Adam Soltan wrote:
>
> Hi everybody!
>
> What should I do if I want to compile a kernel and modules that are not intended
> for the system that the compilation is performed on. Meaning how do I know which
> files to copy after the compilation?
>
> Thanks.
>

After compilation, the kernel image is under (in the kernel source
tree) arch/i386/boot/zImage or bzImage, depending on what did you say to
make: make zImage or make bzImage. The latter is for bigger kernels, to
allow you to boot one over 500k I think - don't know for sure the limit.
If you compiled for another platform, replace i386 with that. But I
don't know how to compile under i386 for something else. As for modules,
the are -after "make modules"- under modules (/usr/src/linux/modules) as
simbolic links, but not in the final form - e.g. not fs/vfat.o, net/x,
block/cdrom.o, etc., but instead all in one dir. You could save your
current directory of modules (/lib/modules/<your kernel version) and
then do in the source tree make modules_install, then copy the resulted
/lib/modules/<kernel-version> to wherever you want. Good luck!
Iustin Pop



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.548 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site