Internal hard drive zeroed

Dumbme

macrumors newbie
Original poster
Oct 23, 2017
3
1
Hi,

First of all, sorry if I am posting to wromg place, forst time I use this forum and from my phone so please be gentle.

I really need help... I think I have ****ed it up badly. To make things short, I zeroed internal drive of macbook pro, I tried all the options to recover the disk but it is not recognised by disk utility at all... I attached scteenshot of “diskutil list” where disk is present but has no patition scheme or file format. I tried with recovery but there is no HD to install the OS. What can I do? Is there any solution? Many thanks in advance
 

Attachments


keysofanxiety

macrumors G3
Nov 23, 2011
9,467
24,211
Data is backed up so I don’t mind that but can I make usable the drive (laptop) again?
13” 2012? Likely the SATA cable has failed. Try through a USB SATA dock. If that is still dead you’ll need to replace the drive.
 

leman

macrumors G3
Oct 14, 2008
9,953
4,548
I wish that people would actually read the post before writing random replies...

@OP: try

Code:
gpt destroy /dev/disk0
This should completely remove all the partitioning from the disk, at which point you hopefully can set it up in Disk Utility again.
 
  • Like
Reactions: Dumbme

Fishrrman

macrumors P6
Feb 20, 2009
17,152
5,516
OP:

If you "zero'ed out" the drive, there is NO DATA on it at all.
Nothing. Nada. Zip. Zilch.
It's like a "blank piece of paper".

The drive needs to have an OS installed on it again before it will be usable (and before you can "restore" any data to it).

You didn't tell us WHICH MacBook you have, but you might be able to use internet recovery to do the reinstall.
CoastalOR explains what to do in post 5 above.

This may get you going again.
IF IT DOES NOT, you will need some other way to boot the Mac and install the OS.

On ebay, there are folks who will sell you a USB flashdrive with the OS installer of your choice on it. Just boot from the flashdrive and install. They cost about $20 or so, but if NOTHING ELSE IS WORKING for you, this might be the easiest option forward...
 

leman

macrumors G3
Oct 14, 2008
9,953
4,548
Guys again, read the post. It’s obvious that OP can boot from recovery, but disk utility can’t recognize the disk as a valid installation target. The question is not how to use recovery but how to make the disk useable again.
 
  • Like
Reactions: NoBoMac and EugW

Fishrrman

macrumors P6
Feb 20, 2009
17,152
5,516
leman wrote:
"It’s obvious that OP can boot from recovery, but disk utility can’t recognize the disk as a valid installation target."

That's why I suggested that the OP utilize a USB flash drive, boot from it "externally", and then see if the internal drive can bee "seen" and re-initialized.

If that doesn't work, perhaps the OP's best course of action is to take it to a brick-n-mortar Apple Store genius bar and let them have a look at it...
 

Dumbme

macrumors newbie
Original poster
Oct 23, 2017
3
1
All right boys,

First of all, thank you all for your help (read or not read the post properly). Second, problem "solved by itself". I will explain myself in case it can be useful for someone in the future.

It is true that I did not mention some important info in my first post but it was late in the morning and I was on my phone. I am on Macbook Pro Retina 15" Mid 2013 and I was doing a clean install of high Sierra from a previously installed high Sierra.

Guys again, read the post. It’s obvious that OP can boot from recovery, but disk utility can’t recognize the disk as a valid installation target. The question is not how to use recovery but how to make the disk useable again.
As Leman pointed out, the problem was that disk utility was not recognizing the drive after writing zeroes once but obviously there was not hardware problem as it was listed in diskutil. I had done it several times but always from disk utility but this time I had to do it from Terminal since the last releases of OS X don´t seem include this security option in disk utility (At least for internal drives, I think because new macs are shipped with SSD drive and is pointless to write over several times). I didn´t expect the zero-ing from Terminal would delete al the data, including the formating!

I mentioned when I started the post that I did try internet recovery (Option-Command-R) but I also tried USB bootable drives which I had (one with mavericks and one with High Sierra). Both options were OK but as Leman said there was not valid installation target and all I tried from Terminal did not work, however I didn´t know about this:

@OP: try

Code:
gpt destroy /dev/disk0
This should completely remove all the partitioning from the disk, at which point you hopefully can set it up in Disk Utility again.
That could have made the job, thanks for that.

OK, so... the solution... It is just that this morning I booted again from internet recovery and this time it booted from Mavericks (which is the OS that the computer was shipped with - no CD already by the way). Last night, every time I was trying to boot from Internet recovery it was loading automatically high Sierra install. So, I don´t know what changed, but from Mavericks disk utility recognized the drive and I formatted it normally.

I am not sure why it did that, but seems that if you zero a drive from Terminal then high Sierra´s disk utility does not like that (something to do with not having that security option on it?).

Anyway, I am not any expert and just sharing my experience. Happy to have it sorted although I kind of liked the idea of replacing the HD for and SSD ;)

Thank you all for your time and help!
 
  • Like
Reactions: leman