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

    USB Drive Now Write Protected - how to fix?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 4 Posters 1.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.
    • L
      LeiShen
      last edited by

      I looked for this subject, but didn't find any threads. So apologies if I missed it.
      After downloading 2.4.3 USB Mem Stick installer and upgrading my pfSense box, I want to reuse the USB Drive for Windows again.
      SD Card Formatter crashes and HP USB Disk Storage Format Tool says its "Write Protected"
      This never occured before with previous USB Mem Stick Installers.
      How do I un-write protect it so I can format it back to Fat32?
      Thanks!

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

        That should not happen. If it doesn't have a physical read-write switch it may have failed to read only. Some flash devices do that to allow you to read off data when their write cycles are exhausted.

        Otherwise try writing zeros across it to remove any formatting/partitioning.

        https://doc.pfsense.org/index.php/Writing_Disk_Images#Cleaning_The_Target_Disk_.28optional.2C_but_recommended.29

        Steve

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

          Windows is stupid and treats any foreign type of partitions as unwritable an undeletable on an USB memory stick, at least in the disk management GUI. Do the complete clear as instructed above.

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

            Thank you both!:
            I finally got it reformatted using HP USB Disk Formater by selecting each partition until I found one that would allow it to be formatted. Then all whole USB stick was cleared and total capacity came back as a single fat32 partition.
            Never had this happen with Raspbian images, so was really confused.

            1 Reply Last reply Reply Quote 0
            • D
              dk135
              last edited by

              I destroy one of my Cruzer Fit after trying installing pfsense to it several times, all within less than one day. Looks like the memory cell that holds the partition table wear out. Now I cannot change the partition in this flash drive. It essentially becomes read-only, stuck in the freebsd-ufs structure.

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

                When you write the image to a USB stick it uses 1 write cycle for each bit within the image size. Unless your drive is already 99% dead it should make practically no difference.
                I have seen some odd behaviour with those Sandisk devices that appear as two drives by default though. I avoid them where possible.

                Steve

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