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

    2.7.2 Fresh install fails: "Failed to run the post installation script"

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    51 Posts 6 Posters 4.5k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by stephenw10

      Ah, looks like you created a file in the wrong location. The file definitely exists but the correct command is:
      ee /boot/loader.conf

      ...which it looks like I typo'd above.

      R 1 Reply Last reply Reply Quote 0
      • R
        robboroom @stephenw10
        last edited by

        @stephenw10 said in 2.7.2 Fresh install fails: "Failed to run the post installation script":

        Ah, looks like you created a file in the wrong location. The file definitely exists but the correct command is:
        ee /boot/loader.conf

        ...which it looks like I typo'd above.

        lol, ok.
        I will redo. Should I delete the other? And if so, how?

        stephenw10S 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator @robboroom
          last edited by

          It doesn't matter the file will be ignored.

          But you can remove it with rm /bootloader.conf

          1 Reply Last reply Reply Quote 0
          • D
            doncarajo
            last edited by

            @stephenw10 said in 2.7.2 Fresh install fails: "Failed to run the post installation script":

            https://forum.netgate.com/post/1173457

            I am having similar problems to original poster on a Protectli VP2420. Trying to install pfsense plus. I have the same "efgi_get_Variable: Bad address" problem. Doing the following

            load /boot/kernel/kernel
            load /boot/kernel/opensolaris.ko
            load /boot/kernel/zfs.ko
            boot

            doesn't get me very far just to a screen of text. I can not access the pfsense webpage. I am not overly familiar with what is going on or why there is an error but I'm pulling my hair out. All I'm trying to do is upgrade my hardware. What is the issue? How do I fix it? How do I know if pfsense is "booting"? What is the screen supposed to show?

            D 1 Reply Last reply Reply Quote 0
            • D
              doncarajo @doncarajo
              last edited by

              @doncarajo I should I add I contacted Netgate support as I paid for pfsense plus and they cannot help with protectli hardware. They suggested I run the BIOS in legacy mode but Coreboot doesn't have an option for that. Ideas?

              D 1 Reply Last reply Reply Quote 0
              • D
                doncarajo @doncarajo
                last edited by

                @doncarajo Ok. In case anyone needs this in the future. I changed the BIOS from opencore to AMI (https://kb.protectli.com/kb/how-to-use-flashli/) and the installer worked.

                1 Reply Last reply Reply Quote 1
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Do you have output it showed when it failed? It would be good to note some new failure mode if there is one.

                  D 1 Reply Last reply Reply Quote 0
                  • D doncarajo referenced this topic on
                  • D
                    doncarajo @stephenw10
                    last edited by

                    @stephenw10 The output was pretty much the same as the original poster, except that doing the additional "load" steps didn't make pfsense boot fully so I couldn't go any further. Everything that I looked up seemed to be pointing to a BIOS issue so that's what made me change it and finally made it work.

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      Bob Orter @doncarajo
                      last edited by

                      @doncarajo I am sorry to be butting into your conversation right now but I am experiencing a problem that is virtually identical to the one described at the top of this thread. Unfortunately, my tech skills are rather basic so I am having difficulty with the explanations given. I am trying to install pfSense CE on a brand new Protectli Vault FW4C equipped with Coreboot. I am getting the same error output described above. I apologize that I do not know what most of these terms like EFI and UEFI mean. But, given that my problem seems to be the very same I would very much appreciate careful instructions that a noob like me can follow in order to successfully get pfSense installed. After the bad address messages I cannot get the vault to boot into pfSense and I know next to nothing about editting boot configuration files but I am determined to do what I must for success here. Your assistance would be very much appreciated! Thank you.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        The root of the issue there is that the Coreboot UEFI implementation does not include the APIs to return the boot variables to the OS when it queries them. The error causes the installer to drop out before it finishes adding the loader values. However you should be able to add them back manually.

                        Or, as I suggested, you could use the legacy CE installer image which should not be affected.

                        Steve

                        B 2 Replies Last reply Reply Quote 0
                        • B
                          Bob Orter @stephenw10
                          last edited by

                          @stephenw10 Thank you again. I used the legacy installer for 2.7.2 from Dec.8. Everything was going quite well until 2FS Configuration options. I select Stripe-No redundancy then the next screen says only [ ] ada0 Protecli 120GB mSATA. When I click OK the next screen says stripe: Not enough disks selected. (0 < 1 minimum) . I then get the options to Change Selection or Cancel. I can go no further. I'm wondering if the previous unsuccessful installation is interfering with this new one? Please advise me if you can. Thank you.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            doncarajo @Bob Orter
                            last edited by

                            @Bob-Orter Press “space” so that you actually select the drive.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              That^. You have to select the drive when it shows:

                              ada0 Protecli 120GB mSATA

                              B 2 Replies Last reply Reply Quote 0
                              • B
                                Bob Orter @stephenw10
                                last edited by

                                @stephenw10
                                Perhaps more relevant info. In trying again an earlier 2FS Configuration screen gives the options:

                                Install Proceed with Installation
                                T Pool Type/Disks: mirror: 0 disks

                                • Rescan Devices *
                                • Disk Info *
                                  N Pool Name pfSense New
                                  And others....
                                  I renamed to pfSense New because it indicated that pfSense was already being used. Could this be part of the problem? Or that mirror: 0 disks?
                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  Bob Orter @Bob Orter
                                  last edited by

                                  . Installation seems to be progressing well. I will keep you posted.

                                  1 Reply Last reply Reply Quote 1
                                  • B
                                    Bob Orter @stephenw10
                                    last edited by

                                    @stephenw10
                                    It appears that the installation has completely successfully! However, upon restarting I am not getting to a pfSense interface. I get a screen with:
                                    Distributions:
                                    Linux Network Installs (64-bit)
                                    Live CDs
                                    ...
                                    Tools:
                                    Utilities (UEFI)
                                    iPXE shell
                                    ...
                                    What mistake have I made?

                                    D 1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Hmm, that looks like something from Coreboot which implies it's not seeing a bootable device entry.

                                      Can you add an EFI entry with that untility?

                                      Did you choose to install it as UEFI? As I understand it that device will not boot a legacy install.

                                      B 2 Replies Last reply Reply Quote 0
                                      • D
                                        doncarajo @Bob Orter
                                        last edited by

                                        @Bob-Orter You have to manually change the boot order on the coreboot menu so that it boots from the SSD rather than the network tools it defaults to.

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          Bob Orter @stephenw10
                                          last edited by

                                          @stephenw10
                                          I have gotten further than before by trying one of the other boot options, though I can't remember which one. It asked me to plug in the WAN and LAN to separately verify the link is up. Neither link was but I am looking at a black screen with white letters. At the bottom it says:
                                          Bootup complete

                                          FreeBSD/amd64 (Amnesiac)(ttyv0)

                                          login:
                                          Seems as though I've still got some trouble. Could you please let me know?

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Bob Orter @stephenw10
                                            last edited by

                                            @stephenw10 Sorry, I missed that reply. Not sure about UEFI. I tried to use the default options along the way. I will see if I can get back to the boot sequence screen to change the order.

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