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

Unable to upgrade from 2.7.1 to 2.7.2

Problems Installing or Upgrading pfSense Software
5
14
2.5k
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.
  • J
    jimp Rebel Alliance Developer Netgate
    last edited by Dec 19, 2023, 10:51 PM

    Run this command from a command prompt and show what it outputs:

    geom -t
    

    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!

    E 1 Reply Last reply Dec 19, 2023, 10:54 PM Reply Quote 0
    • E
      eostrike @jimp
      last edited by Dec 19, 2023, 10:54 PM

      @jimp

      [2.7.1-RELEASE][root@erico.esoindustries.com]/root: geom -t
      Geom Class Provider
      nda0 DISK nda0
      nda0 DEV
      nda0 PART nda0p1
      nda0p1 DEV
      nda0p1 LABEL msdosfs/EFISYS
      msdosfs/EFISYS DEV
      nda0 PART nda0p2
      nda0p2 DEV
      nda0p2 LABEL gptid/9004f6cb-76ff-11eb-a980-80ee73eba529
      gptid/9004f6cb-76ff-11eb-a980-80ee73eba529 DEV
      ffs.gptid/9004f6cb-76ff-11eb-a980-80ee73eba529 VFS
      nda0 PART nda0p3
      nda0p3 DEV
      nda0p3 LABEL gptid/900562f7-76ff-11eb-a980-80ee73eba529
      gptid/900562f7-76ff-11eb-a980-80ee73eba529 DEV
      swap SWAP
      [2.7.1-RELEASE][root@erico.esoindustries.com]/root:

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Dec 19, 2023, 11:01 PM

        That seems to be OK, though your df output above implies the EFI partition wasn't mounted, but the fact that it didn't throw an error makes me think maybe some files got into the wrong place.

        This set of commands should clean things up and get things back to the correct layout:

        # mkdir -p /tmp/efitmp
        # cp -Rp /boot/efi/* /tmp/efitmp
        # umount /boot/efi
        # rm -rf /boot/efi
        # mkdir -p /boot/efi
        # newfs_msdos -F 32 -c 1 -L EFISYS /dev/msdosfs/EFISYS
        # mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
        # cp -Rp /tmp/efitmp/* /boot/efi/
        

        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!

        E P 2 Replies Last reply Dec 19, 2023, 11:22 PM Reply Quote 3
        • E
          eostrike @jimp
          last edited by Dec 19, 2023, 11:22 PM

          @jimp

          You are amazing, THANK YOU so much. Every command went through below except for the unmounting. I did paste them all in and then performed the update from the console and this time it went through. I am now on 2.7.2.

          The only thing below is that it does not show the boot directory. Is this anything to be concerned with. I do not believe it did prior to the upgrade either.


          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: mkdir -p /tmp/efitmp
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: cp -Rp /boot/efi/* /tmp/efitmp
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: umount /boot/efi
          umount: /boot/efi: not a file system root directory

          [2.7.1-RELEASE][root@erico.esoindustries.com]/root:
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: rm -rf /boot/efi
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: mkdir -p /boot/efi
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: newfs_msdos -F 32 -c 1 -L EFISYS /dev/msdosfs/EFISYS
          /dev/msdosfs/EFISYS: 403266 sectors in 403266 FAT32 clusters (512 bytes/cluster)
          BytesPerSec=512 SecPerClust=1 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=409600 FATsecs=3151 RootCluster=2 FSInfo=1 Backup=2
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: mount_msdosfs /dev/msdosfs/EFISYS /boot/efi
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root: cp -Rp /tmp/efitmp/* /boot/efi/
          [2.7.1-RELEASE][root@erico.esoindustries.com]/root:


          [2.7.2-RELEASE][root@ericoh.esoindustries.com]/root: df -hi /boot/efi/efi/boot/
          df: /boot/efi/efi/boot/: No such file or directory
          [2.7.2-RELEASE][root@erico.esoindustries.com]/root:


          [2.7.2-RELEASE][root@erico.esoindustries.com]/root: sysctl machdep.bootmethod
          machdep.bootmethod: UEFI


          [2.7.2-RELEASE][root@erico.esoindustries.com]/root: geom -t
          Geom Class Provider
          nda0 DISK nda0
          nda0 DEV
          nda0 PART nda0p1
          nda0p1 DEV
          nda0p1 LABEL gptid/9004b6a2-76ff-11eb-a980-80ee73eba529
          gptid/9004b6a2-76ff-11eb-a980-80ee73eba529 DEV
          nda0p1 LABEL msdosfs/EFISYS
          msdosfs/EFISYS DEV
          nda0 PART nda0p2
          nda0p2 DEV
          nda0p2 LABEL gptid/9004f6cb-76ff-11eb-a980-80ee73eba529
          gptid/9004f6cb-76ff-11eb-a980-80ee73eba529 DEV
          ffs.gptid/9004f6cb-76ff-11eb-a980-80ee73eba529 VFS
          nda0 PART nda0p3
          nda0p3 DEV
          nda0p3 LABEL gptid/900562f7-76ff-11eb-a980-80ee73eba529
          gptid/900562f7-76ff-11eb-a980-80ee73eba529 DEV
          swap SWAP
          [2.7.2-RELEASE][root@erico.esoindustries.com]/root:


          1 Reply Last reply Reply Quote 0
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Dec 20, 2023, 1:37 AM

            That's probably OK, unless the EFI partition is listed in /etc/fstab it won't automatically be mounted at boot time.

            Look for a line like this in /etc/fstab:

            /dev/msdosfs/EFISYS       /boot/efi       msdosfs rw              2       2
            

            or

            /dev/nda0p1       /boot/efi       msdosfs rw              2       2
            

            Or something like that. The device names for nvme drives changed from older versions so it may be nvd0p1 as well. If it is, edit it and make it nda0p1.

            You could add that line if it doesn't exist but it's not a hard requirement.

            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!

            E 1 Reply Last reply Dec 20, 2023, 7:32 PM Reply Quote 0
            • E
              eostrike @jimp
              last edited by Dec 20, 2023, 7:32 PM

              @jimp I really appreciate your help. Thank you!

              1 Reply Last reply Reply Quote 0
              • P
                paq237 @jimp
                last edited by Dec 23, 2023, 3:31 PM

                @jimp

                Just chiming in with another account of this particular problem and - more importantly - that this procedure worked for me to resolve it.

                Firewall - 1000 miles away - is now running on 2.7.2.

                Thank you!

                E 1 Reply Last reply Dec 23, 2023, 6:56 PM Reply Quote 0
                • E
                  eostrike @paq237
                  last edited by Dec 23, 2023, 6:56 PM

                  @paq237 the support from jimp was outstanding. He sure knows his stuff.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sgroom
                    last edited by Apr 6, 2024, 4:07 PM

                    I know this is an old thread but for anyone who lands here looking for a solution, jimp's instructions above worked like a charm. Thank you, Sir!

                    G 1 Reply Last reply Feb 17, 2025, 4:31 PM Reply Quote 2
                    • G
                      gremblin @sgroom
                      last edited by Feb 17, 2025, 4:31 PM

                      Same here. Thank you @jimp

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