Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] make modules_install to a different path

    I am building the kernel from on a pc running:
    2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux

    Anyway, builds fine, does everything I want except when I make modules_install, I want it to install the modules to /media/Bot1/lib/modules/ (a CF card with ext3 partition), rather than the default /lib/modules.

    I have tried:

    make modules_install INSTALL_MOD_PATH=/media/Bot1/

    but this seems to move the Compact Flash drive mounted as /media/Bot1, to /media/Bot1_ and creates a new /media/Bot1 directory in which it installs the modules.

    What am I doing wrong? Thanks for the help!

  2. #2
    Not sure what I'm doing differently now (I'm intending to do the same thing) but its working. Just had the above happen the first time, go figure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts