[lkml]   [2001]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: How to compile on one machine and install on another?
    On Wed, 20 Jun 2001 09:58:54 +0200, 
    Helge Hafting <> wrote:
    >This is enough if you don't use modules. If you use modules you
    >need to copy them too, which is trickier. Several good methods
    >have been demonstrated, here is another if you can't use the nfs
    >1. If you are running the same kernel revision on the compile machine,
    > temporarily rename /lib/modules/<version> to something else.
    > Yes - this could be dangerous but tend to work well on a "home
    >2. Do the "make modules_install" on the compile machine.

    The correct way of installing for a target machine is to use
    make INSTALL_MOD_PATH=foo modules_install
    You need to mkdir -p foo/lib/modules first. Everything is installed in
    foo/lib/modules/`uname -r` instead of /lib/modules so you do not
    disturb your compile system.

    There is also make INSTALL_PATH to specify where vmlinuz and
    are stored for make zlilo and make install.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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