Diskpart can't delete partition

1

0

My boot drive stopped booting with a registry issue, and now I cannot wipe the drive from a fresh windows image (on disk 1). I have tried to wipe the drive in many ways, and none of them work. I was able to read the data enough to get my data off, but I now have a "working drive" that I cannot touch. Is there a better way to wipe the drive, or is it dead and of the need for replacement? (The SSD is under warranty. I would just rather not deal with that)

This is what I get from diskpart:

I get the same issue for all partitions

    DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online         2794 GB      0 B        *
  Disk 1    Online          111 GB  1024 KB        *
* Disk 2    Online          238 GB      0 B        *

DISKPART> list part

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
* Partition 1    Recovery           450 MB  1024 KB
  Partition 2    System              99 MB   451 MB
  Partition 3    Reserved            16 MB   550 MB
  Partition 4    Primary            237 GB   566 MB

DISKPART> delete partition

Virtual Disk Service error:
Cannot delete a protected partition without the force protected parameter set.


DISKPART> delete partition override

DiskPart has encountered an error: Incorrect function.
See the System Event Log for more information.

DISKPART> delete disk

The disk you specified cannot be deleted.
Please select an empty missing disk to delete.

DISKPART> delete disk override

The disk you specified cannot be deleted.
Please select an empty missing disk to delete.

EDIT: I tried GParted from a Debian boot drive. I tried deleting twice, once it errored, the second time said it was successful, then reloaded and nothing changed. Then I tried to reformat everything to NTFS, and this failed and when I canceled the format the drive stopped showing up. Now the drive does not show up in diskpart. I think it is time to contact the warranty.

SauceMan8

Posted 2019-10-12T03:59:57.923

Reputation: 11

Have you tried specifying each partition number for deletion? – Sith Siri – 2019-10-12T04:17:20.287

I just tried. It brings up help/ says arguments are not valid. – SauceMan8 – 2019-10-12T04:27:34.957

Answers

0

  1. Download GParted and create a bootable flash drive from the ISO using Rufus.

enter image description here

  1. Reboot your computer and select your flash drive as the boot drive.
  2. Once GParted has loaded, delete the partition in question from within the GUI and apply your changes.

Mr Ethernet

Posted 2019-10-12T03:59:57.923

Reputation: 3 563

This, unfortunately, did not work. I will put details at the bottom of the question – SauceMan8 – 2019-10-12T20:04:00.383

Before you go the warranty route, I would try backing up the data than performing an ATA Secure Erase to nuke everything on it using hdparm. You can initiate that from within GParted by running a command in Terminal. If nothing else, it would at least be interesting to see if that could remove the problematic partition. https://techgage.com/article/securely-erasing-your-ssd-with-linux-a-how-to/

– Mr Ethernet – 2019-10-12T22:08:04.407