Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    build iso ok ,but install “can’t load 'kernel' ”

    Scheduled Pinned Locked Moved Development
    5 Posts 4 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      berton
      last edited by

      build iso  ok ,but install “can’t load 'kernel' ”

      1 Reply Last reply Reply Quote 0
      • F Offline
        freebee
        last edited by

        is something related with bsd sources. in my case, the kernel build give-me always error.

        1 Reply Last reply Reply Quote 0
        • N Offline
          NicolaPaone
          last edited by

          @berton:

          build iso  ok ,but install “can’t load 'kernel' ”

          up…
          same problem

          thank you

          1 Reply Last reply Reply Quote 0
          • R Offline
            ron
            last edited by

            If your ISO build turned out anything like mine, there is nothing in /boot/kernel on the CD, and if you examine the files in /kernels you will find that only the uniprocessor kernel file actually has a kernel and modules in it.  The rest are empty shells, and it looks like the build for the other kernels never happens (uniprocessor is done first so it works the rest don't).

            There is a typo in the build_all_kernels() routine in builder_common.sh

            The lines that read:

            rm -f $MAKEOBJDIRPREFIX/usr/home/pfsense/freesbie2/.kernel

            should be:

            rm -f $MAKEOBJDIRPREFIX/home/pfsense/freesbie2/.kernel

            There is no "usr" in the path to the files needing to be removed.  When I remove the "usr" part in the path the other kernels build.

            EDIT: Patch file submitted to coreteam via email.

            Regards,
            Ron

            1 Reply Last reply Reply Quote 0
            • R Offline
              ron
              last edited by

              Scratch my above patch suggestion.  Although the fact that the kernel build flag files are not getting removed properly between builds is the symptom, my suggested fix doesn't address it completely as other scripts are looking for things in the original location also.

              Ron

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.