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

    Start-up problems with installation on a SD card in SD/MMC

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    9 Posts 4 Posters 2.1k 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.
    • L
      lucdc
      last edited by

      I installed PFsense 2.1.5 from CD on a SD-card of 4GB in a generic SD/MMC on a PC with one NIC and a USB NIC.

      Everything works if I select option 3 (Boot pfSensse using USB device)  in the welcome menu.

      Is there a way to change the default option?  So that it will use option 3 instead of 1.

      any help for a newbie is very much appreciated.

      kind regards
      Luc

      1 Reply Last reply Reply Quote 0
      • Z
        zikmen
        last edited by

        so far i can understand, you have simply copied the cd content to the sd card?

        or if from the cd, you have selected install TO the sd card ?

        Thanks,
        Tommy

        1 Reply Last reply Reply Quote 0
        • L
          lucdc
          last edited by

          I didn't copy the content of the CD on the SD-card; I installed pfsense on the SD-card instead of on a harddisk.

          thanks
          Luc

          1 Reply Last reply Reply Quote 0
          • pttP
            ptt Rebel Alliance
            last edited by

            https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_from_USB

            1 Reply Last reply Reply Quote 0
            • L
              lucdc
              last edited by

              What I mean is there a way to alter the order of the option menu and make option #3
              the default.

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

                Selecting option 3 at the boot menu simply does the same thing as that doc ptt linked to.
                @https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_from_USB:

                If running permanently from a medium that requires this delay, edit /boot/loader.conf.local and insert the following line:
                kern.cam.boot_delay="10000"

                The loader.conf.local file does not exist by default so you have to create it.

                Why are you running a full install from an SD card? You should really be using a Nano image on flash media.

                Steve

                1 Reply Last reply Reply Quote 0
                • L
                  lucdc
                  last edited by

                  Thank you Steve for your clear explanation understandeble for a newbie.
                  Now it works on the default option.

                  I am running it on a SD card because I am using pfSense only as a firewall at home and I think there is place
                  enough on a 4GB SD-card.
                  An other reason is I wanted to make use of the write-only switch on the SD-card is protecting the settingsfile, FreeBSD
                  and pfSense software.  (My pfSense PC is booted every day)
                  But for one reason or an another this is not working.  In every state of the lock switch write to the card is possible.

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

                    4GB probably is more than enough if you're not using any hungry packages like Squid. However the reason to use one of the NanoBSD images id that they are especially designed for running from flash. Flash media has a much more limited number of write cycles before it becomes damaged so you have to take care not to write it too often. That means not using swap, moving temp files to a ram drive, disabling the filesystem marking each file with the time each time they are read etc. Nano does all that for you.
                    https://www.freebsd.org/doc/en/articles/nanobsd/

                    If you are going to run a full install you should move /tmp and /var to ram disks using the options in System: Advanced: Miscellaneous:

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • L
                      lucdc
                      last edited by

                      Thank you Steve.
                      I installed the nanoBSD image on a 4GB USB stick.
                      Now I am going to look for a USB stick with a write-protect switch.

                      Luc

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