I am working with Raspberry Pis again and running into this issue where I have burned operating systems to sd cards but when i try to re-use one it doesn’t come up in my PC. Diskpart to the rescue…

I remember in the past I used to use this page a lot:
https://www.howtogeek.com/235824/how-to-clean-a-flash-drive-sd-card-or-internal-drive-to-fix-partition-and-capacity-problems/

Mainly I have 3 commands for diskpart that I like to remember from that article:

  1. list disk
  2. select disk #
  3. clean

And we are done!

Leave a Reply

Your email address will not be published. Required fields are marked *