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

    23.09.1 - pfsense-boot fails to upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    28 Posts 9 Posters 6.3k 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.
    • P
      pfBo @pfBo
      last edited by

      62808e46-2273-41df-a03a-f43c5156a912-image.png

      1 Reply Last reply Reply Quote 0
      • A
        alethewizard
        last edited by

        Hi.

        Same issue here, but only on one upgrade from 2.7.1 to 2.7.2 and this is the only one on virtual machine (VMware ESXi).

        No issues on all the other upgrades on physical appliances (both CE and Plus).

        Thanks.

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

          Try running gpart show on the affected system. See if it has an unexpectedly small efi partition.

          A J 2 Replies Last reply Reply Quote 0
          • A
            alethewizard @stephenw10
            last edited by

            @stephenw10

            efi (200M)

            Thanks.

            1 Reply Last reply Reply Quote 0
            • J
              jrey @stephenw10
              last edited by

              @pfBo @alethewizard

              since @stephenw10 "unexpectedly small" isn't clearly defined, just for reference my virtual test machine (2.7.2 installed fine) is
              40 532480 1 efi (260M)

              but the production box (23.09) on a 2100
              1 409600 1 efi (200M)

              won't be upgrading my production netgate box until Monday, because upgrade policy for production says no upgrades on a Friday! But also have never had an issue with upgrades in the past at the 200 level.

              Q. give me "unexpectedly small for 200 please"
              A. what is too small?

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

                Both those are expected sizes. If it was tiny, like <10M, that might be an issue but I don't think we've ever used that for amd64 installs.

                We are still digging into this.

                A J 2 Replies Last reply Reply Quote 0
                • A
                  alethewizard @stephenw10
                  last edited by

                  @stephenw10

                  Thank you.

                  I have always updated this VM from 2.4.5 to 2.7.1 without any issues.

                  1 Reply Last reply Reply Quote 1
                  • J
                    jrey @stephenw10
                    last edited by

                    @stephenw10
                    I figured you we're talking really small. but it is also good to have a reference points..

                    I honestly don't expect I'll have an issue at the 200 level on the 2100, never have.

                    I should also point out for reference that my 2.7.2 virtual is running on an Intel host.

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

                      Can we assume they are VMs configured as UEFI?

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        alethewizard @jrey
                        last edited by

                        @jrey

                        Hi jrey.

                        What is your hypervisor?

                        Thanks.

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

                          @pfBo said in 23.09.1 - pfsense-boot fails to upgrade:

                          I'm getting this error during the upgrade process (see attached logfile). I wanted to paste it in but kept getting tagged as spam....

                          Upgrade_error_log.txt

                          I assume those are just excepts from the upgrade log? Do you have the full log available?

                          1 Reply Last reply Reply Quote 0
                          • A
                            alethewizard @stephenw10
                            last edited by

                            @stephenw10

                            Yes, EFI Virtual Machine on VMware ESXi.

                            1 Reply Last reply Reply Quote 0
                            • S
                              slu @pfBo
                              last edited by

                              Same error for me:

                              https://forum.netgate.com/topic/184661/unable-to-upgrade-from-2-7-1-to-2-7-2-unmounting-boot-efi-done-failed

                              pfSense Gold subscription

                              1 Reply Last reply Reply Quote 0
                              • J
                                jrey @alethewizard
                                last edited by

                                @alethewizard

                                I'm just running my test pfsense on a Virtual Box, hosted on a local intel MAC.

                                "Enable EFI" is selected and functioning.

                                1 Reply Last reply Reply Quote 0
                                • jimpJ
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by

                                  What does this show for you (or anyone getting similar errors):

                                  # df -hi /boot/efi/efi/boot/
                                  

                                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                  Need help fast? Netgate Global Support!

                                  Do not Chat/PM for help!

                                  V 1 Reply Last reply Reply Quote 0
                                  • V
                                    valerion @jimp
                                    last edited by

                                    @jimp said in 23.09.1 - pfsense-boot fails to upgrade:

                                    What does this show for you (or anyone getting similar errors):

                                    # df -hi /boot/efi/efi/boot/
                                    

                                    [2.7.1-RELEASE][admin@<>]/root: df -hi /boot/efi/efi/boot/
                                    Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
                                    zroot/ROOT/default 95G 1.1G 93G 1% 51k 196M 0% /

                                    [2.7.1-RELEASE][admin@<>]/root: gpart show
                                    => 40 234454960 ada0 GPT (112G)
                                    40 409600 1 efi (200M)
                                    409640 1024 2 freebsd-boot (512K)
                                    410664 984 - free - (492K)
                                    411648 4194304 3 freebsd-swap (2.0G)
                                    4605952 229847040 4 freebsd-zfs (110G)
                                    234452992 2008 - free - (1.0M)

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      alethewizard @valerion
                                      last edited by

                                      @valerion

                                      Please read https://forum.netgate.com/topic/184661/unable-to-upgrade-from-2-7-1-to-2-7-2-unmounting-boot-efi-done-failed/15

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        The EFI partition isn't mounted there.

                                        Do you have either /dev/msdosfs/EFISYS or /dev/gpt/EFISYS? If so, try this instead:

                                        # mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
                                        

                                        Or

                                        # mount_msdosfs /dev/gpt/EFISYS /boot/efi
                                        

                                        Followed by the df -hi /boot/efi/efi/boot/ command.

                                        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        V 1 Reply Last reply Reply Quote 0
                                        • V
                                          valerion @jimp
                                          last edited by

                                          @jimp said in 23.09.1 - pfsense-boot fails to upgrade:

                                          The EFI partition isn't mounted there.

                                          Do you have either /dev/msdosfs/EFISYS or /dev/gpt/EFISYS? If so, try this instead:

                                          # mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
                                          

                                          Or

                                          # mount_msdosfs /dev/gpt/EFISYS /boot/efi
                                          

                                          Followed by the df -hi /boot/efi/efi/boot/ command.

                                          I have the same results as others in the other thread.

                                          Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
                                          /dev/msdosfs/EFISYS 779K 386K 393K 50% 3 509 1% /boot/efi

                                          Guess there's a re-install in my future

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            Probably going to have to reinstall then in that case.

                                            The old loader was quite a bit smaller. The newest version of the EFI loader is 643K which would barely fit in that partition, and since the installer tries to copy the new one over before deleting the old, it fails because there isn't enough room to hold both.

                                            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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