Using disk utility, I was erasing and re-formatting to FAT. During that process, the usb cable was removed. Now, the hard drive will not format. When recognizing the hard drive, a window shows up stating "The disk you inserted was not readable by this computer" with the options to "initialize; ignore; eject." "Initialize" does not seem to do anything. Disk Utility shows the physical drive, but no sub folder (volume?) When attempting to erase and create a new partition, I get an error. The disk was already empty, so I'm not worried about retrieving files, but is the drive itself physically damaged?
1 Answer
You could try overwriting the partition table with zeros. To do so, enter sudo dd if=/dev/zero of=/dev/disk3 bs=1m count=1
in a Terminal window. This will overwrite the first megabyte of the drive with zeros, which will include (and thus erase) the partition table (or its remnants). Remove and re-insert the drive; if everything goes well it will tell you that the disk was not readable and it'll offer to initialise the disk. (I tried this with an old USB stick a minute ago and it worked fine.)
-
Thank you all for the responses! I tried this, and I made sure
of
pointed to the correct disk. When plugged in, it offers to initialize, but that still doesn't seem to do anything. In Disk Utility, I attempted to Erase and Format in FAT, with the scheme: "Master boot record." This returns an error stating: "Unmounting disk. Unable to write to the last block of the device. Operation failed..." Mar 16, 2016 at 2:18
system.log
and perhaps some other log files recently modified in/var/log
folder or the console app.of
option of thedd
command is pointing to the correct disk!