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

    PfSense on CF 1GB

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    23 Posts 10 Posters 11.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.
    • R
      robi
      last edited by

      Yes you can, but don't forget to go to System > Advanced > Miscellaneous and check "Use RAM Disk".

      What I did for my thin clients, is that I've installed my full pfSense on 1GB as I described above, entered the web interface, selected "reset to factory defaults", restarted the system but didn't allow it to boot up, instead, I took a DD image of the contents of the disk.

      This way, I've created my own 1GB "nanobsd-ish" image.

      PS: as an extra, I've modded the default config file with interface names matching my hardware, and pre-selected RAM Disk usage to be enabled by default. This way, each time I flash this image to any number of thin clients, I get a fresh system already prepared with these options, also skipping interface assignment at the console.  8)

      1 Reply Last reply Reply Quote 0
      • F
        Fabioo
        last edited by

        Perfect ! this weekend I'll do the tests :)

        Thanks !

        1 Reply Last reply Reply Quote 0
        • R
          robi
          last edited by

          When installing "Full" on CF card or SD card (coming from NanoBSD), my advice would be to avoid creating a Swap partition.
          If there's a swap partition present pfSense will mount it - and using flash media as swap space can be really hard on flash wear. Of course, if swap space is really used - but to be on the safe side, I'd suggest not to use swap at all - on NanoBSD it didn't exist anyway.

          1 Reply Last reply Reply Quote 0
          • F
            Fabioo
            last edited by

            confirm :P

            1 Reply Last reply Reply Quote 0
            • W
              waldo22
              last edited by

              @robi:

              Is there an official statement on this?  :o

              Here's the official-ish statement:
              https://doc.pfsense.org/index.php/Upgrade_Guide#NanoBSD

              This is disappointing but understandable.  I still have a handful of Intel Z-U130 SLC flash drives that are 1GiB.  Most are 2 GiB, though.

              I think I'll try following your advice and using the full version with no swap and check the Ram Disk option.

              Thanks for the tips!

              -Wes

              1 Reply Last reply Reply Quote 0
              • K
                kevindd992002
                last edited by

                What RAM disk size is recommended for /tmp and /var?

                1 Reply Last reply Reply Quote 0
                • R
                  robi
                  last edited by

                  I use 90MB and 60MB on my embedded system (which has 1GB of RAM installed). But I don't use any special packages writing to these directories. It routes at around 500Mbit/sec, maxig out that single NIC it has for both WAN and multiple LANs (all through a VLAN-capable switch)

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

                    I have Dell FX160 with 1G RAM and 1GB SSD DOM, running 2.2.6 version.
                    When I tried install 2.3.3 (or 2.3.2) , during install after creating full partition (*), following robi advice, I got following error:

                    Execution of the command
                    /sbin/bsdlabel -B -r -w ada0s1 auto
                    Failed with a return code of 4.

                    Tried on two FX160, but result is the same.
                    Any advice?

                    BR/bbfrankopan

                    1 Reply Last reply Reply Quote 0
                    • V
                      vbentley
                      last edited by

                      I don't have a FX160 to try but I have built various BSDRP based systems on FX130 and seen some odd things in the past depending on what was on them before.

                      You could try wiping out all of the partitions on the DOM and creating a single FAT32 partition with DOS MBR. I use a bootable USB stick with Ultimate Boot CD on for wiping out partitions. Then try installing the pfSense® software.

                      bsdlabel on my 2.3.3 appears to have -R as an option but not -r.

                      Trademark Attribution and Credit
                      pfSense® and pfSense Certified® are registered trademarks of Electric Sheep Fencing, LLC in the United States and other countries.

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

                        Using bootable linux on USB, did wiping all the partitions on DOM, crate one new FAT32  partition, but result is the same error.
                        Accessing logs, there is line at the end of logs:
                        Executing '/sbin/bsdlabel -B -r -w ada0s1 auto'
                        bsdlabel: /dev/ada0s1 read: Invalid argument

                        Did not try with Ultimate Boot CD, but effect should be the same.

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