Thank you Mikkel!

Just to double check, in my /tmp/kernel directory, I have:

System.map-2.2.16-22
initrd-2.2.16-22.img
lib
vmlinuz-2.2.16-22

Where lib is a directory.  Is this everything?  If so, when I untar it on the
new system,  System.map, initrd, and vmlinuz all go to /boot, correct?  Where
does lib go?  Do I copy the contents of the subdir "modules" (another
subdir, 2.2.16-22TMP) to /lib/modules so that I create
/lib/modules/2.2.16-22TMP/ ?

Thanks again!  And thanks in advance!

Jacob

On Tue, 20 Mar 2001, you wrote:
> On Tue, 20 Mar 2001, Jacob Killian wrote:
> 
> > Hello-
> >
> > I've recompiled the 2.2.16-22 kernel to recognized > 1GB of memory, and all
> > works well.  Now I need to copy the "build tree" to another system (one w/o
> > source code) and try it there.  Both systems have identical hardware and, other
> > than the development libraries and sourcecode, should be identical in every
> > other respect too.
> >
> > Problem is that I'm not sure what to include in the tarball I'll ftp to the
> > system without the recompiled kernel.
> >
> > Any suggestions?
> >
> > Thanks in advance!
> >
> > -Jacob
> >
> >
> If I understand what you are after, you just want to be able to use this
> kernel on another machine, not compile it there, or anything like that.
> If so, the way I usualy do it is set "EXTRAVERSION" in the make file to
> something that indicates what the kernel is for.  I also set
> "INSTALL_MOD_PATH" varable to point to a directory tree that I use for
> to tar up the kernel.
> 
> mkdir /tmp/kernel
> mkdir /tmp/kernel/boot
> export INSTALL_MOD_PATH=/tmp/kernel
> make dep clean bzImage && make modules modules_install
> 
> You will have to copy the vmlinux and System.map files to
> /tmp/kernel/boot yourself.  I modiufied /sbin/installkernel to accept
> the INSTALL_PATH varable, if set.
> 
> tar cvzf new-kernek.tgz /tmp/kernel
> 
> Mikkel
> -- 
> 
>     Do not meddle in the affairs of dragons,
>  for you are crunchy and taste good with ketchup.
> 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
-- 
Jacob Killian
PGTC System Administrator

<mailto: [EMAIL PROTECTED]>
<http://www.pgtc.net>

501-846-7245

"Long may we walk" --my mom



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to