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

    SG-2440 zero fill disk before install

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 6 Posters 3.5k 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.
    • E Offline
      eponymous
      last edited by

      Hi there,

      I've just purchased an SG-2440 and I'd like to zero fill the installation target disk before I re-install pfSense.

      Does anyone know a way to do this?

      Can the installer wipe the disk completely? If not, can I boot say a Gentoo/Knoppix/Ubuntu Live CD to wipe the disk using the console for output?

      P.S. Very excited to start playing with pfSense! :)

      Thanks!

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        an sg unit comes pre-installed. why would anyone want to mess up a perfectly fine, clean install ?

        in other words: enjoy the waiting game

        https://forums.freebsd.org/threads/24776/

        1 Reply Last reply Reply Quote 0
        • E Offline
          eponymous
          last edited by

          The reason is because the device is used and I want to clear what was on there from the seller.

          I like to know exactly what is on the device hence the clean install :)

          Thanks for the info on dd, but I already knew this :)

          I was more asking if it's done easily on a device like this - I have many live CDs/USBs which I'd like to use to actually run the dd binary.

          1 Reply Last reply Reply Quote 0
          • johnpozJ Online
            johnpoz LAYER 8 Global Moderator
            last edited by

            why don't you just take the disk out, connect it to whatever system you are comfortable using and wipe the disk with whatever tool you want to use

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07 | Lab VMs 2.8, 25.07

            1 Reply Last reply Reply Quote 0
            • DerelictD Offline
              Derelict LAYER 8 Netgate
              last edited by

              Probably talking about the built-in storage.

              Try DBAN. It might just work.

              Sounds like a case of over-thinking things to me unless the device came from a known kiddie-porn aficionado or something.

              Just reinstall or restore defaults and move on.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • E Offline
                eponymous
                last edited by

                @Derelict:

                Probably talking about the built-in storage.

                Try DBAN. It might just work.

                Sounds like a case of over-thinking things to me unless the device came from a known kiddie-porn aficionado or something.

                Just reinstall or restore defaults and move on.

                lol…

                Realistically I was thinking it's very possible that there could be trojans/malware/corrupt filesystems etc ..., but yeah I think you're right, it's probably overkill thinking twice about it. A simple re-install should take care of that.

                The DBAN idea is a good one though.

                Cheers.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cmb
                  last edited by

                  A reinstall will completely blow away anything that was there before.

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ Online
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    well there could be some bits left over in sectors that don't get over written.  But that is not a issue..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 25.07 | Lab VMs 2.8, 25.07

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cmb
                      last edited by

                      @johnpoz:

                      well there could be some bits left over in sectors that don't get over written.  But that is not a issue..

                      True, but not there in a way that the newly installed OS will be doing anything with, or be able to read in normal operation.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        shaharhd
                        last edited by

                        I followed this:
                        https://www.netgate.com/docs/rcc-ve-2440/pfsense.html

                        When you format - just perform a proper format (and not quick)

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          cmb
                          last edited by

                          @shaharhd:

                          I followed this:
                          https://www.netgate.com/docs/rcc-ve-2440/pfsense.html

                          You're fine. The bits weren't technically all wiped from the drive, but your reinstalled OS can't read any of them that remain.

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