How do you all reformat/reuse SD cards after using them for HASSIO? When I put my card into the USB reader on my PC it opens 5 drives (E, F, G, H, and I) with only the E drive being readable. What tool are you all using to delete all these partitions and reformat the card back to stock?
Just for future info, the tool used in the link I provided is already built into Windows by default so no need to get anything new, works perfectly and super fast.
Actually - my mistake - I thought it was using the graphical disk management tool in Windows. That would work fine (as long as you don’t make a mistake and select the wrong disk LOL)
Occasionally, I have an SD card that even Diskpart can’t clean. Here’s two things you can try:
Get a camera that uses an SD card, and tell it to reformat the SD.
Format it in Linux. I’ve done this once with a particularly stubborn SD card.
In a terminal enter: fdisk /dev/sd_x_
where /dev/sd_x_ is your SD card device.
You can then delete all existing partitions on the device by typing d, (repeat as needed)
You probably don’t need to add new partition and format it if you plan to burn a new image. cfdisk is also another viable tool, which is basically fdisk with a greatly improved user interface.
Have the same issue, already bricked 2 sd cards! I tried with many windows methods, I tried with linux, with direct dd commands… All of them appear to be working, but after they say successfully cleaned or whatever, my drives are all intact.
Sanity check. If the reader is locked for the write operations. The diskpart will have an I/O error. Make sure you shift the lock up on the SD card-reader to have both read-write access.
Same here… Tried all these tools, tried flashing a new image use etcher nothing changes in the card partitions. Seems crazy there isn’t a way to clean this.
Windows mini tool always works for me… I last used it yesterday for one of my Pi’s. I just delete the old partitions apply then create a new partition and apply and I can image it…
Windows disk management should do the job.
You have to right-click on any existing partition/volume of the disk and delete it. After that you can create a new volume and format it or use the card directly with Etcher.
Delete all partitions (start with the last one) as described above (Windows), and then create a simple volume.
That’s how I do it every time and it works.
Thanks for all the suggestions… I’ve never encountered behavior like this before as well but have tried using fdisk in linux, and diskparted in Windows. Strangely they report “success” when i delete the partitions but when listing them again (after saving in fdisk) they remain unchanged.
The Windows Disk Manager UI tool has no luck and just does nothing if i attempt to delete the volume.