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

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

Development
4
5
4.0k
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
    berton
    last edited by Jul 1, 2008, 3:26 AM

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

    1 Reply Last reply Reply Quote 0
    • F
      freebee
      last edited by Jul 8, 2008, 10:57 PM

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

      1 Reply Last reply Reply Quote 0
      • N
        NicolaPaone
        last edited by Jul 9, 2008, 1:51 PM

        @berton:

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

        up…
        same problem

        thank you

        1 Reply Last reply Reply Quote 0
        • R
          ron
          last edited by Jul 15, 2008, 6:18 AM Jul 15, 2008, 6:06 AM

          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
            ron
            last edited by Jul 22, 2008, 2:42 AM

            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.