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.
    • 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
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by jimp

                          Reinstalling is the safest fix, but if you want to attempt to fix the partition manually, you can try the commands I posted in the other thread:

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

                          But be sure to heed all the warnings.

                          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!

                          A bpsB 2 Replies Last reply Reply Quote 1
                          • A
                            Arcao @jimp
                            last edited by Arcao

                            Same problem on my bare metal installation (pfSense installed in version 2.4.4, periodically updated to latest release, migrated to pfSense+).

                            @jimp Could you promote this issue as a known issue and arrange for it to be added into the release notes for other affected users?

                            1 Reply Last reply Reply Quote 0
                            • J jrey referenced this topic on
                            • P
                              pfBo
                              last edited by pfBo

                              Hi all,

                              Sorry for the delay but here are my answers to (hopefully) all your questions and suggestions:

                              System info:
                              ============
                              Netgate 5100 - Serial: NGXXXXXXXXXXXXXX - Netgate Device ID: XXXXXXXXXXXXXXXXXXXXXX
                              
                              *** Welcome to Netgate pfSense Plus 23.09-RELEASE (amd64) on XXXXXXXXXX ***
                              
                              gpart show:
                              ===========
                              =>      40  15269808  mmcsd0  GPT  (7.3G)
                                      40    409600       1  efi  (200M)
                                  409640  14094335       2  freebsd-ufs  (6.7G)
                                14503975         1          - free -  (512B)
                                14503976    763904       3  freebsd-swap  (373M)
                                15267880      1968          - free -  (984K)
                              
                              df -hi /boot/efi/efi/boot/
                              df: /boot/efi/efi/boot/: No such file or directory
                              
                              mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
                              
                              df -hi /boot/efi/efi/boot/
                              Filesystem             Size    Used   Avail Capacity iused ifree %iused  Mounted on
                              /dev/msdosfs/EFISYS    779K    644K    135K    83%       3   509    1%   /boot/efi
                              

                              I don't mind reinstall if that's necessary but the system is about 600 miles away so it'll have to wait a few days until I get there.

                              Best regards,

                              Bo

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

                                Yes, you are affected by this because of that 800K EFI size. The system cannot update the EFI loader. It will require either reinstalling or expanding in place using the procedure in the linked post above.

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pfBo @stephenw10
                                  last edited by

                                  @stephenw10 yes, I can confirm that the workaround worked for me as well. Thanks for all the help.

                                  1 Reply Last reply Reply Quote 1
                                  • M mr_nets referenced this topic on
                                  • bpsB
                                    bps @jimp
                                    last edited by

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

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

                                    This fixed my issue thanks @jimp

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