Disk Erase failed with the error: Unable to write to the last block of the device.

Hi, I am having trouble with my 2013 MacBook Pro a1398 the year 2013. Turning it on displays an image of a folder with a question mark inside. Looking for how to solve the problem, I tried to clean the NVRAM, with ALT + CMD + P + Q. NVMRAM was successfully cleaned but the issue was not resolved so I tried to reinstall the system through OS X Utilities. When turning on the computer I press the CMD + R keys, I correctly enter OS X Utilities. If I select the Reinstall OS X option, a screen opens to install OS X Mountain Lion, but when selecting the disk no disk appears. Again in the menu of OS X Utilities, I enter the Disk Utility option, here if the disk appears (120 GB SSD), but when trying to format it or create a partition after a few minutes an error appears "Unable to write the last block of the device ”, and the disk disappears from the list. To see the disk again I have to clean the NVRAM again.

I tried erase with the formats Mac OS Extended (Journaled), Mac OS Extended (Journaled, Encrypted) and the message is always the same. I also tried to create a partition that occupies the entire disk with the same two formats, and I also get the same error.

Posted on Jul 25, 2023 4:04 AM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Disk Erase failed with the error: Unable to write to the last block of the device.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.