Dear respected experts,
I have a MBP Retina 2015 (Yosemite). I tried to partition my Macintosh HD ( internal 1TB SSD) disk (by splitting into half). It seemed to have split but has given me some errors about mapping or mounting…So I restarted the computer. After which, I was unable to bootup again – facing the 'stop'/'block' sign every time.
I got into Recovery Mode (cmd + R while restarting) and tried using the repair disk option. After clicking repair it keeps telling me the disk needs to be repaired. I click repair again but the same message prompting to repair again pops up. By the way, it's showing my disk as a Virtual Whole disk (500.2GB partition + 499.8GB partition). NB. I managed to erase one of the partitions (I think the 499GB one) within the Virtual Whole Disk. However, the other one cannot be erased (the option is greyed-out)
I would like to repair my disk as opposed to starting over with a brand new install. I have a pre-partition Time Machine backup on a USB drive. I tried to restore it via the recovery mode. However, it was unable to find a destination (disk) to restore it to. I am assuming the destination disk needs to be 1TB since that was the disk's size (single paritioned), although I had only used ~70GB capacity; ie the backup size on my USB drive is also 70GB.
I tried Internet Recovery Mode, as I read that I can't repair my disk via the normal recovery mode…but still to no avail. Should I perhaps bootup a Mac OS via an external USB and and try disk the utlility from there? If yes, how can I download a bootable yosemite OS onto a USB drive? (I only have one mac machine, which at the moment is not booting – have never accessed mac app store before – it's a new machine).
I am unable to boot into Single User mode (it ends up showing the stop sign plus a message about being unable to find root). I tried resetting PRAM and SCM but it didn't solve the issue.
I am worried that if I restore it would mean upgrading to El Capitan or Sierra, which (my guesses are), would render my Time Machine backup useless.
Is there any way I can repair the disk or flawlessly restore the time machine backup, which I have on a USB drive?
I accessed the terminal via recovery mode;
diskutil cs list shows the following:
CoreStorage logical volume groups (1 found)
Logical Volume Group (random digits)
name: none
status: initializing
size: 0 B (0 B)
free space: -none
Physical Volume (different random digits)
Disk: disk1s2
Status: Failed
Size: -none-
diskutil list shows:
14 different /dev/disks (ie. last one is /dev/disk14).
/dev/disk0
disk 0 is 1.3GB (Apple parition scheme)
disk0s1 is apple partition map (30.7KB)
disk0s2 Apple_HFS OS X Base System 1.3GB.
/dev/disk1
disk1 GUID partition scheme 1TB
disk1s1 EFI EFI 209.7MB
disk1s2 Apple Core Storage 500.2GB
disk1s3 Apple_Boot Recover HD 650MB
I've triped checked that disks 2 to 14 are single partitions and are sized from 6.3MB to 524.3KB.
gpt -r show disk0
start size index contents
0 2600084
gpt -r show disk1
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - (random nos C1***3B)
409640 976970432 2 GPT part - (random nos 53***AC)
977380072 1269536 3 GPT part - (similar abv 42***AC)
978649608 975560479
1954210087 32 Sec GPT table
1954210119 1 Sec GPT table
Best Answer
You probably repartitioned the main volume the wrong way. At least your CoreStorage Logical Volume Group got corrupted either by partitioning or by "repairing".
The ultimate method to reset the drive is to completely destroy the GUID partition table of the main internal disk. This will render all data on the disk useless and you need an up-to-date backup to restore your old volume.
To destroy the GUID of your internal physical disk you have to boot to an external boot volume. This may be a OS X installer thumb drive or Internet Recovery Mode (which net-boots to a recovery image provided by Apple over the network). You mustn't boot to Recovery Mode which loads a basic system in a mounted but compressed recovery image in your recovery partition diskXs3).
Get an overview (especially the gpt command is important!):
Check which of both disks is your internal disk. Usually the internal disk is disk0 and the recovery volume is disk1 if you have only one disk in your Mac. In rare cases disk1 is your internal disk and disk0 is the recovery volume. The recovery disk has ~ 2600000 blocks (or ~1.3 GB). Even the smallest SSD is much larger. Below I assume your internal disk has the disk identifier disk0 - so use disk1 (or disk2, disk3) instead of disk0 in the commands if you find an other disk identifier for your internal physical disk.
Unmount disk0:
Delete the GUID:
If this doesn't help, then the hard way:
Create a new GUID partition (this also creates a fresh pMBR):
exit
and quit Terminal.This usually won't restore your Recovery HD. You have to do this either manually with Recovery Partition 4.0.4 or by reinstalling your current system with an Apple system installer (i.e. "Install OS X Yosemite" 10.10.5, which usually won't affect your data)