Main Disk error
My main disk “Macintosh HD” has an error while trying to run it through first aid. Erasing also fails. Would appreciate your help.
MacBook Pro 13″, macOS 11.2
My main disk “Macintosh HD” has an error while trying to run it through first aid. Erasing also fails. Would appreciate your help.
MacBook Pro 13″, macOS 11.2
Try booting into Internet Recovery Mode using Command +Option + R instead so the laptop doesn't use the local recovery mode found on the laptop's SSD. This may be why the "disk1" resource is busy since it may be linked to your macOS recovery mode installer.
Try booting into Internet Recovery Mode using Command +Option + R instead so the laptop doesn't use the local recovery mode found on the laptop's SSD. This may be why the "disk1" resource is busy since it may be linked to your macOS recovery mode installer.
Hi Rame-Tarek,
Disk Utility is showing unexpected results. The AppleAPFSMedia entry normally doesn't appear in Disk Utility.
To fully erase your internal drive, select the APPLE SSD entry, and erase using these settings:
I've seen this type of issue before regarding the out of order listing within Disk Utility. I think I had to use the Terminal app to use the command line utilities to write zeroes to the beginning of the drive in order to destroy the partition table.
Make sure to disconnect all external devices so that you don't accidentally overwrite an external drive and destroying its data. Next launch the Terminal app from the Utilities menu while booted to the macOS installer. Issue the following commands making sure to press the "Return" key at the end of each line in order to execute the command.
diskutil list internal
This will list all internal physical drives and virtual volumes. You need to get the drive identifier for the physical internal drive which should be the first item in the listed output of the above command if you only have a single internal drive installed. Usually the internal drive will be identified as "disk0", "disk1", or possibly "disk2". Replace "diskX" in the following command with the correct drive identifier for the physical internal drive in the following commands.
First unmount all volumes from the physical drive (remember to replace "diskX" with the correct drive identifier):
diskutil unmountDisk diskX
Now write zeroes to the beginning the physical drive (remember to replace "diskX" with the correct drive identifier):
dd if=/dev/zero of=/dev/diskX bs=100m count=10
If these commands all complete successfully, then the partition table has been destroyed so you can close the Terminal app and launch Disk Utility to properly erase the physical drive.
Try waiting a bit after issuing the commands and try the last command again after waiting a few minutes. You can just press the up arrow key to display the previous command(s) and press the "Return" key to execute the displayed command so you don't have to retype it. Perhaps it is taking longer to unmount the APFS volume (assuming it was even mounted).
Just curious how you are booting the macOS installer since there appear to be multiple images displayed on the left pane of Disk Utility.
Also what version of the macOS installer is booted?
I tried a couple of times, but after waiting approx. 10 mins in between. Still the same output. “Resource busy”
tbh I don’t quite know what you mean by the multiple images and your question about how I am booting the macOS installer. So what happens is when I start the Mac, a white folder with a question mark appears in the middle of the screen. So i shut it down while holding the power button. Then I turn it on again and hold cmd+r. That’s how I get to run the macOS Utilities.
How and where can I look the version up?
Thank you for the fast reply. Tried to do that but it shows the same message.
Hi HWTech,
thank you for your detailed help. I did all the steps but the last one didn’t work. The output is “resource busy”. What shall I do?
thanks in advance
Don’t know if that’s what you mean.
Thank you HWTech!!! This one solved it finally!! I really appreciate your help!! Thanks again!
Main Disk error