I'm unable to erase an SDCard (32GB). I've installed NOOBS (Raspberry Pi) on it and run the installation on the device, which result as a files corruption. Well, now I would like to wipe it and retry the installation. I'm unable to do it. I've tried several commands (eraseDisk, sudo eraseDisk, eraseVolume, fdisk, gparted, etc.).
I'm unable to erase the disk (and volume) or replace the partition table.
Using the command : sudo diskutil erasedisk exfat new /dev/disk2
Gives me the error: -69825: Wiping volume data to prevent future accidental probing failed
dd
on the device, not a partition of the device. It doesn't matter whether it contains data that might be considered meaningful in some context or not. You are creating an XY problem. The real issue is either the installation is not being done correctly or the card is defunct.