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

    Netgate 5100 inaccessible post 23.09 upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    23 Posts 6 Posters 1.8k 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.
    • S
      SteveITS Galactic Empire @kscrib
      last edited by

      @kscrib I would just reinstall, it’s easier than it sounds and will be clean and ZFS. If you don’t have a backup you can grab the file off disk (copy/paste from console?) or try

      https://docs.netgate.com/pfsense/en/latest/backup/restore-during-install.html#recover-config-xml-from-existing-installation

      The config.xml file is kept in /cf/conf/.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      K 1 Reply Last reply Reply Quote 1
      • K
        kscrib @SteveITS
        last edited by kscrib

        @SteveITS

        I am making progress. I have the new image and have burned it to a USB drive.
        I am trying to save my previous /cf/conf/config.xml file to a different drive so that when I install the new image it won't wipe out the current file.

        To get to this point, I have had to boot in single user mode. Multiple use mode does does not allow me to log in (a directory error).

        |=login: admin
        Password:
        2023-11-15T00:21:16.891436-06:00 - login 1005 - - login on ttyu0 as admin
        2023-11-15T00:21:16.891518-06:00 - login 1005 - - ROOT LOGIN (admin) ON ttyu0
        login: /etc/rc.initial: No such file or directory

        FreeBSD/amd64 (Amnesiac) (ttyu0)

        login:=|

        So I went with single user mode and can get in and see the file I need to backup.

        root@:/ # ls -al /cf/conf/config.xml
        -rw-r--r-- 1 root wheel 111519 Nov 14 19:16 /cf/conf/config.xml

        I have gone through the instructions on how to back up the file, but my problem is that I have to create a mount point so I can mount the USB to do the backup. The current file system is read-only and won't allow me to create a directory to use for the mount point.

        Do I need to save the config.xml file so I don't loose it? My config has been evolving for 3 or so years now, I have multiple subnets, reserved IP (all the MAC addressess....) and lots of other stuff. I really don't want to have to rebuild those. How can I save my config?

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @kscrib
          last edited by

          @kscrib said in Netgate 5100 inaccessible post 23.09 upgrade:

          How can I save my config?

          You're using the console access, right ?
          You don't need to store it on the drive where it already is (write access needed).
          The 5100 has two USB ports, right ?
          See the link above how to prepare an USB drive.
          When inserted, mount it, read and write mode, and now you can copy a file to it.

          Another solution :
          A 'cat' or 'show' will do the job, as it will scroll by in your console 'terminal' windows on the device you use that accesses the console.
          Tell this terminal program to save to a file (on your device) whatever it shown = scrolls by - on the screen.

          Also : you have a 5100, and 23.05.1 previously, so you have this :

          34076251-8042-46ab-a9d3-53941c84e073-image.png

          Also : when installing, the installer will find the previous file system on the disk of pfSense.
          It will access it before everything is formatted, and take the config.xml, and use it, see the manual (same link) about the how-to.

          Btw : I guess I'm doing even better as all this : once a day, a PC on my pfSense LAN network will "SSH" into my pfSense, grab the config.xml, and store it somewhere in "My Documents".
          Works great :

          5ead4b3e-dd65-4633-935c-e7fd73449a92-image.png

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 1
          • K
            kscrib
            last edited by

            @SteveITS said in Netgate 5100 inaccessible post 23.09 upgrade:

            https://docs.netgate.com/pfsense/en/latest/solutions/sg-5100/reinstall-pfsense.html

            Thanks to all!!!

            I was able to reinstall and keep my previous config.

            Thank you! Thank you! Thank you!!

            PhizixP 1 Reply Last reply Reply Quote 2
            • PhizixP
              Phizix @kscrib
              last edited by Phizix

              @kscrib,

              Are you running on the eMMC or an SSD. If not I strongly recommend getting an SSD and clean installing with ZFS to it.
              That was the first thing I did for my SG-5100 when I purchased it.

              Phizix

              GertjanG K 2 Replies Last reply Reply Quote 1
              • GertjanG
                Gertjan @Phizix
                last edited by

                @Phizix said in Netgate 5100 inaccessible post 23.09 upgrade:

                That was the first thing I did for my SG-5100 when I purchased it.

                You created your own 5100-MAX, right ?

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                PhizixP 1 Reply Last reply Reply Quote 0
                • K
                  kscrib @Phizix
                  last edited by kscrib

                  @Phizix - I am confused. I thought the SG-5100 did not support an internal M.2 drive. I have never opened mine up. I bought the SG-5100 in 2020, if that makes a difference.

                  I found the installation guide that confused me.

                  https://docs.netgate.com/pfsense/en/latest/solutions/sg-5100/m-2-sata-installation.html

                  The installation guide states that the SG-5100 does not support NVMe. I assumed that meant the SG-5100 does not support any M2 drives. I thought the upgrade was only available for the XG-5100, not the SG-5100. Now that I read it closer, I think it means that the SG-5100 only supports M.2 SATA and does not support M.2 NVMe. Has that changed to now support NVMe?

                  PhizixP 2 Replies Last reply Reply Quote 0
                  • PhizixP
                    Phizix @Gertjan
                    last edited by

                    @Gertjan said in Netgate 5100 inaccessible post 23.09 upgrade:

                    You created your own 5100-MAX, right ?

                    Effectively. I also put in a 16 Gb memory stick (it was inexpensive enough)

                    1 Reply Last reply Reply Quote 0
                    • PhizixP
                      Phizix @kscrib
                      last edited by

                      @kscrib said in Netgate 5100 inaccessible post 23.09 upgrade:

                      I am confused. I thought the SG-5100 did not support an internal M2 drive. I have never opened mine up. I bought the SG-5100 in 2020, if that makes a difference.

                      It does not support Nvme, but does support an M.2 drive.

                      I purchased the base model. Did you purchase the "MAX"? If so, apparently it already has an SSD?

                      1 Reply Last reply Reply Quote 0
                      • PhizixP
                        Phizix @kscrib
                        last edited by

                        @kscrib said in Netgate 5100 inaccessible post 23.09 upgrade:

                        The installation guide states that the SG-5100 does not support NVMe. I assumed that meant the SG-5100 does not support any M2 drives.

                        Here is the one I got Mar 2022 for about $35 + tax:

                        Transcend 64GB SATA III 6Gb/s MTS400 42 mm M.2 SSD Solid State Drive (TS64GMTS400)

                        Notice that it is NOT an NVMe drive - only SSD.

                        The smallest now seems to be 128GB for about $75.

                        You can add memory, but I think I have very rarely exceeded 1/2 of the 16 GB I installed.

                        Phizix

                        K 1 Reply Last reply Reply Quote 1
                        • K
                          kscrib @Phizix
                          last edited by

                          @Phizix - I ordered this one today.

                          https://www.amazon.com/dp/B087CL5KHL?th=1

                          Kingshark Gamer SSD M.2 2242 256GB Internal Ngff SSD 42MM SATA III 6Gb/s (256GB, M.2 2242)

                          for $25.29 + tax. (they offered a 6% discount coupon) and free shipping for Prime members. It had descent reviews. And if it doesn;t work, I get free returns :-)

                          PhizixP 1 Reply Last reply Reply Quote 1
                          • PhizixP
                            Phizix @kscrib
                            last edited by

                            @kscrib,

                            Let us know how it works.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              kscrib @Phizix
                              last edited by

                              @Phizix -

                              Installation was easy. Since the drive did not come with heat tape, I had to get some of that, so plan ahead. Also, the drive comes with two screws, but they are the wrong size for the SG-5100. I had some laying around that were the proper size, so I used that to secure the drive.

                              I saved my configuration file during installation. Then I installed with ZFS on the new drive. pfSense lists the drive as "867M used (0%) of 206G" used. I will not be able to increase my log files and ntopng data retention time.

                              Only time will tell if the drive holds up. But for now it works good.

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

                                Now that you are installed to/booting from the SSD you should wipe the MMC while you still can to ensure it doesn't interfere with your current installation:

                                https://docs.netgate.com/pfsense/en/latest/troubleshooting/multiple-disks.html

                                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!

                                K PhizixP 2 Replies Last reply Reply Quote 2
                                • K
                                  kscrib @jimp
                                  last edited by

                                  @jimp Thanks for the tip. I have completed the steps to wipe the old mmcsd0 drive.
                                  The instructions don't mention what to do with mmcsd0boot0 and mmcsd0boot1. So, I decided best to not wipe those.

                                  I rebooted after the change and everything is working as expected.

                                  1 Reply Last reply Reply Quote 0
                                  • PhizixP
                                    Phizix @jimp
                                    last edited by

                                    @jimp,

                                    My 5100 eMMC still has the original UFS load from Mar 2020, but I have never had a collision.

                                    I have not checked the boot priority menu for a very long time. The eMMC has never seen a ZFS load.

                                    I will be converting to my 8200 near the end of the year, so I will likely not do anything with it right now.

                                    Phizix

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

                                      Should be fine if it's UFS. Unless you ever decide to install as UFS to the SSD of course!

                                      PhizixP 1 Reply Last reply Reply Quote 0
                                      • PhizixP
                                        Phizix @stephenw10
                                        last edited by Phizix

                                        @stephenw10

                                        The SSD was UFS for a very long time, but still no collisions. I know because the original UFS installed version never showed up again on the dashboard.

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

                                          Maybe you named the partition something else. I have seen issues with conflicting UFS devices. Best to avoid the possibility IMO.

                                          PhizixP 1 Reply Last reply Reply Quote 0
                                          • PhizixP
                                            Phizix @stephenw10
                                            last edited by

                                            @stephenw10,

                                            Here is the original post where I installed and configured the boot options. I have never changed the BBS priorities since in the BIOS.

                                            --> [https://forum.netgate.com/topic/141300/sg-5100-verify-that-m-2-ssd-is-recognized-after-physically-installing?_=1700249887071](link url)

                                            Again my motto at this point is "if it ain't broke - don't fix it".

                                            Phizix

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