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

    Flash drive

    Hardware
    4
    6
    2.6k
    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.
    • K
      kronso
      last edited by

      Can I install pfsense to a flash drive? For example, a 4 GB flash drive? There would be no hard drive on the system.

      1 Reply Last reply Reply Quote 0
      • X
        Xyzzy
        last edited by

        Yes.  Check out the embedded version.  http://www.pfsense.org/index.php?option=com_content&task=view&id=43&Itemid=44

        1 Reply Last reply Reply Quote 0
        • C
          clarknova
          last edited by

          …as long as your hardware will boot from USB.

          db

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

            And for older systems that don't boot from USB its possible to buy adapters so Compact Flash cards or SD cards look like IDE drives.

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

              Thank you to all who have replied. Each one was helpful and insightful.

              It might be interesting to look at some background. I've got two firewall projects, one for home, and one for work. For the home firewall, noise is the main consideration. The alternative to pfsense running on a box with a wi-fi card would be something like a Linksys wireless router that would be quiet. Using a flash drive on a pfsense box might cut some heat, and thus noise. According to the pfSense installation document http://doc.pfsense.org/index.php/HOWTO_Install_pfSense  power management (APM/ACPI) should be disabled during installation, however. Thus, apparently PC power management is not supported during the operation of the firewall. Thus the hard drive wouldn't spin down while pfSense is on. Using a flash drive looks interesting for the home firewall.

              For the work firewall, it will be in a server room, so noise is secondary to reliability and features. If pfSense does write to the disc drive regularly, such as for logs, it apparently wouldn't make sense to install to a flash drive  except when using the special, embedded installation, because the flash drive would get worn out and malfunction prematurely.

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

                For over two years now I have had pfSense (full install) running off a Transcend 1GB DOM (Disk On Module) which is flash memory (completely quiet, no heat I can detect with my fingers) on a IDE connector to plug into the motherboard IDE socket. Its been designed to act as a disk replacement (so may well give better life than flash drives for applications that do only occasional writes). From memory, the cost was a bit over 10 euros. My system has enough memory to not swap.

                From what other people have written in the forums I expect you would get reasonable life out a Compact Flash card (and IDE adapter) running the full version of pfSense provided you didn't swap a lot or run packages that do a lot of disk writes (e.g. web cache).

                For the price of flash drives currently I suspect you could easily get a couple of 4GB drives, install on one, use it as your boot drive and take a physical copy to the other drive which you could put aside as a spare in the case the install drive dies. If you don't do too many writes to the drive you could well get a good length of service from it. And it it dies, you can instantly replace it with your spare.

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