<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2025-12-02 15:49, Jason Eckert
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAG+C2AeY-ecB07OjxFw022r_XonfhW11ziaYEWf_tUu4c4OV0A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">On Fedora, make install and make zinstall are
        patched by the Fedora kernel maintainers so that they always try
        to install into /boot and run grubby. This behavior is
        Fedora-specific, and you cannot disable it using INSTALL_PATH
        like on Debian.<br>
      </div>
    </blockquote>
    <br>
    But, I downloaded directly from kernel.org, and I'm not using
    anything from Fedora.  Unless, kernel Makefile has hook, that Fedora
    uses, but Debian/Ubuntu don't.  Makefile does mention something
    about "/sbin/installkernel".<br>
    <br>
    <blockquote type="cite"
cite="mid:CAG+C2AeY-ecB07OjxFw022r_XonfhW11ziaYEWf_tUu4c4OV0A@mail.gmail.com">
      <div dir="ltr"><br>
        If you want to copy out the kernel artifacts without triggering
        Fedora\u2019s install scripts, you should avoid make install / make
        zinstall entirely. Instead use the upstream-standard targets:
        <div>make<br>
          make modules<br>
          make modules_install INSTALL_MOD_PATH=/your/output/path<br>
          make bzImage</div>
        <div><br>
        </div>
        <div>Then manually copy the three files you care about:</div>
        <div>cp arch/x86/boot/bzImage /your/output/path/vmlinuz<br>
          cp System.map /your/output/path/<br>
          cp .config /your/output/path/</div>
      </div>
    </blockquote>
    <br>
    Yeah, this is what I ended up doing, like the old days.<br>
    <br>
    <blockquote type="cite"
cite="mid:CAG+C2AeY-ecB07OjxFw022r_XonfhW11ziaYEWf_tUu4c4OV0A@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>OR... even simpler - use the built-in target that does not
          trigger Fedora\u2019s install hooks:</div>
        <div>make INSTALL_PATH=/your/output/path installkernel<br>
        </div>
        <div><br>
        </div>
        <div>This runs only the upstream installkernel script and does
          not invoke grubby or Fedora\u2019s /sbin/installkernel override.</div>
      </div>
    </blockquote>
    <br>
    On my Fedora KDE 43, it errors out,<br>
    <br>
    <font face="Liberation Mono">    make[2]: *** No rule to make target
      'installkernel'.  Stop.</font><br>
    <br>
    I usually use LMDE to cross-compile for ARM, because the ARM boards
    themselves run Debian.  In fact, both run Debian 13.2.<br>
    <br>
    Since Linus Torvalds runs Fedora, I thought I give it a spin, at
    least for cross-compiling.  Of course, there is good reason why
    Linus would use Fedora.  It's the latest.  OpenSUSE Tumbleweed is
    also latest, but Fedora may be more reliable.  I don't think Ubuntu
    has anything at this level.
  </body>
</html>