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

    Netgate SG-3100 – How to Verify/Force boot to M.2?

    Official Netgate® Hardware
    3
    7
    866
    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.
    • B
      Buste963
      last edited by

      I am a BSD boob… so I need help with making sure my pfSense box is booting off the M.2 drive (WD SA500 – overkill, but cheaper with a WD discount than other options).

      I installed pfSense onto the M.2, but am concerned the system is still booting off the eMMC as the System Information dashboard is showing “0% of 451GiB – ufs”.

      After seeing this post, I became concerned that the Marvell U-Boot has the eMMC set as priority, but I cannot stop the system fast enough to check or modify the boot priority.

      https://forum.netgate.com/topic/141300/sg-5100-verify-that-m-2-ssd-is-recognized-after-physically-installing/6

      I tried running /var/run/dmesg.boot but was denied.

      my gpart show results:
      a5484b0f-1219-4b17-99b8-e8c5d3c8f579-image.png

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

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

        -Rico

        B 1 Reply Last reply Reply Quote 0
        • B
          Buste963 @Rico
          last edited by Buste963

          @Rico pfsense is installed on the M.2; the M.2 is a SATA drive; the issue is that I am not sure that the BIOS is still booting off the eMMc or the M.2.

          It is a question of the boot priority.

          I do not know how to check the boot order, I cannot access the boot menu, and I cannot tell which drive pfSense is booting from. The instructions do not cover this, and this is more of a BIOS/BSD issue than a pfSense issue.

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

            Run df -h that will show you which drive is being mounted as /

            Or just check on the dashboard. But it seems like it is showing / 0% of 451GiB – ufs. In which case it is using the SSD as root.

            Steve

            1 Reply Last reply Reply Quote 0
            • B
              Buste963
              last edited by Buste963

              @stephenw10 said in Netgate SG-3100 – How to Verify/Force boot to M.2?:

              drive is being mounted as /

              Thank you for the tip Steve - the result of # df -h follows

              I would still like to know how to access the boot priority.

              a4226682-befb-4ec4-9327-a96dbf8b376f-image.png

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

                The boot media is defined by the uboot envs. If you interrupt uboot to reach the Marvell>> prompt and run printenv you will see how those are defined. Generally speaking you should not be manually changing those but you will see the bootcmd variable determines what is booted. That is changed by the recovery image by what install target you chose.

                Steve

                B 1 Reply Last reply Reply Quote 0
                • B
                  Buste963 @stephenw10
                  last edited by

                  @stephenw10 Thanks again - this was very helpfull.

                  I see that netgate included a FreeBSD Handbook under the diagnostics tab...

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