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

    Cannot boot after successful 2.7.2 install - EFI partition problem?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    22 Posts 4 Posters 2.4k 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.
    • U
      User6buinf43
      last edited by

      Server: Dell PowerEdge R630 (latest 2.18.1 BIOS)
      pfSense CE 2.7.2

      The BIOS is set to UEFI mode with Secure Boot disabled. I am able to install pfSense successfully but upon reboot these messages appear:
      Booting from Integrated RAID Controller 1: FreeBSD
      Boot Failed: Integrated RAID Controller 1: FreeBSD

      I have tried installing using the "pfSense-CE-memstick-2.7.2-RELEASE-amd64.img" file flashed to a USB stick using Rufus. I have also tried installing using the "pfSense-CE-2.7.2-RELEASE-amd64.iso" file mounted using iDRAC Virtual Media. Both give the same result.

      I have tried setting the installation partition scheme to GPT (UEFI) as well as GPT (BIOS).

      I notice that the installation does create a 260MiB FAT16 partition for EFI and it contains the expected files. Attempting to boot from the .efi file by selecting it with the BIOS boot from file option also doesn't work.

      Encryption is selected as an installation option and when booting from the USB stick after a successful installation it asks for the GELI passphrase and the passphrase chosen during installation works. But then the installer can't access the drives (giving a "Device busy" message) so the partitions must be manually removed using another boot disk before trying another install.

      It seems like the installation is somehow creating an unbootable EFI partition. What can I do to diagnose further? Here's the options chosen during installation:
      Auto (ZFS)
      Pool Type/Disks: mirror: 2 disks (mfisyspd0, mfisyspd1)
      Pool Name: pfSense
      Force 4K Sectors?: YES
      Encrypt Disks?: YES
      Partition Scheme: GPT (UEFI)
      Swap Size: 0
      Mirror Swap?: NO
      Encrypt Swap?: YES

      Dialog: There are multiple "pfSense" EFI boot entries. Would you like to remove them all and add a new one?: YES

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

        Hmm, seems like you're installing a ZFS mirror onto hardware mirrored drives.

        I would try removing/disabling the hardware raid controller, set it to AHCI mode and just using a ZFS mirror.

        Steve

        U Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
        • U
          User6buinf43 @stephenw10
          last edited by

          @stephenw10 Thanks for the suggestion. The controller (PERC H730P) was in HBA mode. I tried changing it to RAID mode (without an array configured) but the result was the same. HBA mode seems like it should be presenting the drives without RAID involvement. I don't see an AHCI option for the controller.

          Could it be that the PERC H730P is incompatible with pfSense?

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

            Well it's seeing it as the mfi device. I have no idea how it handles that as just passing the drives. Which is presumably why it shows as two mfisys devices.

            In raid mode does the installer just show just one device?

            If you can disable the raid controller entirely that's least likely to give issues.

            U 2 Replies Last reply Reply Quote 0
            • U
              User6buinf43 @stephenw10
              last edited by

              @stephenw10 In both HBA and RAID modes the drives show as two devices (both with the names mfisyspd0 and mfisyspd1). I'll see if it's possible to disable the RAID controller while still having the drives connected to it.

              1 Reply Last reply Reply Quote 0
              • U
                User6buinf43 @stephenw10
                last edited by

                @stephenw10 I tried setting the Integrated RAID Controller to Disabled in the BIOS but the pfSense installer then gives the error "No disk(s) present to configure".

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

                  Hmm, you might need to connect the drives directly. If that's possible.

                  U 1 Reply Last reply Reply Quote 0
                  • U
                    User6buinf43 @stephenw10
                    last edited by

                    @stephenw10 No, the drives are SAS 12Gb/s so they need to connect to the backplane which connects to a controller. Is there a known working controller that's compatible with a PowerEdge R630 that I could try?

                    Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Hmm, I would have expected that to work in some mode. Maybe it has a different controller firmware?

                      U 1 Reply Last reply Reply Quote 0
                      • U
                        User6buinf43 @stephenw10
                        last edited by

                        @stephenw10 No, it was updated to the latest controller firmware (25.5.9.0001) from the Dell website.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mvikman
                          last edited by mvikman

                          Cloud it be that this bug has popped up again?
                          https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230557

                          pfSense Plus 24.11-RELEASE (amd64)
                          Dell Optiplex 7040 SFF
                          Core i5-6500, 8GB RAM, 2x 240GB SSD (ZFS Mirror)
                          HPE 561T (X540-AT2), 2-port 10Gb RJ45
                          HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

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

                            @mvikman said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                            https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230557

                            Doesn't seem exactly the same as that. There's no panic here.

                            Do you have a full boot log we can check?

                            1 Reply Last reply Reply Quote 0
                            • U
                              User6buinf43 @mvikman
                              last edited by

                              @mvikman said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                              https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230557

                              I think it looks quite possible that it's this bug, even though it's closed. There is two drives (not one in RAID 0) so the panic isn't expected. I'll get the installer boot log and send it to you and @stephenw10 in case it helps. Is there a way to try this hw.mfi.mrsas_enable="1" option with the pfSense installer?

                              U 1 Reply Last reply Reply Quote 0
                              • U
                                User6buinf43 @User6buinf43
                                last edited by

                                @User6buinf43 said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                                Is there a way to try this hw.mfi.mrsas_enable="1" option with the pfSense installer?

                                I was able to set this option by choosing "3. Escape to loader prompt" and using these commands:
                                set hw.mfi.mrsas_enable="1"
                                boot

                                The drives then showed up as da0 and da1 with the manufacturer/model displayed instead of just mfisyspd. Installation worked and it boots!

                                Still trying to find a way to get a boot log from the installer.

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

                                  Nice! You can add that permanently as loader variable:
                                  https://docs.netgate.com/pfsense/en/latest/config/advanced-tunables.html#managing-loader-tunables

                                  U 1 Reply Last reply Reply Quote 1
                                  • U
                                    User6buinf43 @stephenw10
                                    last edited by

                                    Thanks @stephenw10 and @mvikman!

                                    1 Reply Last reply Reply Quote 0
                                    • Sergei_ShablovskyS
                                      Sergei_Shablovsky @stephenw10
                                      last edited by

                                      @stephenw10 said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                                      Hmm, seems like you're installing a ZFS mirror onto hardware mirrored drives.

                                      Steve

                                      From my knowledge, choosing “ZFS mirror” option in installer on hardware RAID0, RAID1 or RAID10 enabled on RAID controller - is not the source of any problem: installation proceed and FreeBSD+pfSense installed and working successfully.
                                      I confirm this more than … may be 70+ times.

                                      —
                                      CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                      Help Ukraine to resist, save civilians people’s lives !
                                      (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                      1 Reply Last reply Reply Quote 0
                                      • Sergei_ShablovskyS
                                        Sergei_Shablovsky @User6buinf43
                                        last edited by

                                        @User6buinf43 said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                                        @stephenw10 Thanks for the suggestion. The controller (PERC H730P) was in HBA mode. I tried changing it to RAID mode (without an array configured) but the result was the same. HBA mode seems like it should be presenting the drives without RAID involvement.

                                        Because RAID or HBA controller’s mode is not the source of problem.

                                        I don't see an AHCI option for the controller.

                                        This setting ALVAYS are in BIOS/UEFI, neither in RAID controller’s side.

                                        Could it be that the PERC H730P is incompatible with pfSense?

                                        Definitely NO! H7XX and up totally compatible with FreeBSD 13 and up (and of coarse pfSense at the top of them).

                                        —
                                        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                        Help Ukraine to resist, save civilians people’s lives !
                                        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                        1 Reply Last reply Reply Quote 0
                                        • Sergei_ShablovskyS
                                          Sergei_Shablovsky @User6buinf43
                                          last edited by

                                          @User6buinf43 said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                                          @stephenw10 No, the drives are SAS 12Gb/s so they need to connect to the backplane which connects to a controller. Is there a known working controller that's compatible with a PowerEdge R630 that I could try?

                                          Better to replace it on “TRUE HBA” controller, like LSI reflashed to IT-mode, when You make hardware upgrade next time.
                                          Better to read TrueNAS user forum how to choosing right controller’s card exactly for Your server and HOW TO AVOID FAKES.

                                          Because TrueNAS like pfSense also are on the top if FreeBSD, all suggestions are more than relevant.

                                          —
                                          CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                          Help Ukraine to resist, save civilians people’s lives !
                                          (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                                          1 Reply Last reply Reply Quote 0
                                          • Sergei_ShablovskyS
                                            Sergei_Shablovsky @User6buinf43
                                            last edited by

                                            @User6buinf43 said in Cannot boot after successful 2.7.2 install - EFI partition problem?:

                                            @stephenw10 I tried setting the Integrated RAID Controller to Disabled in the BIOS but the pfSense installer then gives the error "No disk(s) present to configure".

                                            Exactly! Because motherboard’s BIOS/UEFI knows just nothing behind the RAID controller!

                                            —
                                            CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                                            Help Ukraine to resist, save civilians people’s lives !
                                            (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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