Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to boot into mac or bootcamp

I was stupid to create a new partition from bootcamp so that I can share files between mac and windows easily. It converted the partitions to dynamic I think. I can't boot into mac or windows. Is there a way I can boot into mac without reinstalling ? My time machine back up is very old so I want to get back into mac without restoring it. I appreciate it very much and would follow all the instructions.


I was able to get into internet recovery and terminal.


User uploaded file

MacBook Pro (Retina, 15-inch, Early 2013), OS X El Capitan (10.11.2)

Posted on Jan 14, 2016 10:27 PM

Reply
48 replies

Jan 15, 2016 4:46 AM in response to wykstra

Please install OS X on an external disk and boot from it - How to install OS X on an external drive connected to your Mac - Apple Support . Try and use the same version of OS X as you have on the internal disk to avoid issues. You can do this using Internet Recovery - OS X: About OS X Recovery - Apple Support .


Install GPT Fdisk once you have the external disk OS X working - http://sourceforge.net/projects/gptfdisk/ .

Jan 15, 2016 5:11 PM in response to wykstra

GPT Fdisk is not a bootable utility. You should execute a SMC/NVRAM reset prior to trying this method.


1. You will need to boot into OS X on the external disk by powering down and powering up, and holding the Alt/Option and selecting the external disk.

2. You can also connect the external disk when in Recovery Console and set it as the Startup Disk, when you are exiting the Recovery Console.

Jan 15, 2016 6:21 PM in response to Loner T

Backups-MacBook-Pro:~ backup$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *500.3 GB disk0

1: Windows_LDM 425.3 GB disk0s1

2: Windows_LDM 64.5 GB disk0s2

3: Windows_LDM 10.5 GB disk0s3

/dev/disk1 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_HFS Untitled 1 999.3 GB disk1s2

3: Apple_Boot Recovery HD 650.0 MB disk1s3

Backups-MacBook-Pro:~ backup$




Backups-MacBook-Pro:~ backup$ sudo gdisk /dev/disk0

Password:

GPT fdisk (gdisk) version 1.0.1


Caution: invalid backup GPT header, but valid main header; regenerating

backup header from main header.


Caution! After loading partitions, the CRC doesn't check out!

Warning! Main and backup partition tables differ! Use the 'c' and 'e' options

on the recovery & transformation menu to examine the two tables.


Warning! One or more CRCs don't match. You should repair the disk!


Partition table scan:

MBR: MBR only

BSD: not present

APM: not present

GPT: damaged


Found valid MBR and corrupt GPT. Which do you want to use? (Using the

GPT MAY permit recovery of GPT data.)

1 - MBR

2 - GPT

3 - Create blank GPT


Your answer:


When I entered the sudo command, it gave me a popup saying that the disk I inserted is not readable by the computer (strange since it's brand new). It gave an option to Initialize, Ignore or eject. Initialize is taking me to disk utility. Not sure if it is relevant to anything but stating what I found.

Jan 15, 2016 6:25 PM in response to Loner T

Your answer: 2

Warning! Main partition table overlaps the first partition by 34 blocks!

You will need to delete this partition or resize it in another utility.


Warning! Secondary partition table overlaps the last partition by

4613656342287257470 blocks!

You will need to delete this partition or resize it in another utility.


Command (? for help):

Jan 15, 2016 6:54 PM in response to Loner T

I tried posting it but the non-english characters are not allowing me to post the entire thing. Do you want me to delete the other characters and post ?


Command (? for help): p

Disk /dev/disk0: 977105060 sectors, 465.9 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 791B2542-0766-402A-A757-9D97F1179267

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 977105026

Partitions will be aligned on 8-sector boundaries

Total free space is 1177 sectors (588.5 KiB)


Number Start (sector) End (sector) Size Code Name

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 829351119 395.3 GiB AF00 Customer

3 829351120 830620655 619.9 MiB AB00 Recovery HD

4 830621696 977104895 69.8 GiB 0700 BOOTCAMP

17 18376656804508598272 4613656343264362496 512 bytes FFFF

19 4179340454199885824 4179340454210529341 5.1 GiB FFFF


Command (? for help):

Jan 15, 2016 7:14 PM in response to wykstra

Excellent. The text version is easy to cut and paste. Using the the first 4 entries, we are going to create a new GPT using Gdisk. Do not enter anything in the parentheses. Please verify all numbers.


sudo gdisk /dev/disk0

o (Create a new GPT)

n (New)

1

40

409639

EF00

n

2

409640

829351119

AF00

n

3

829351120

830620655

AB00

n

4

830621696

977104895

p

w

y

Once you have this saved, check if Finder shows your internal disk with proper folders. If you confirm then we proceed further.

Unable to boot into mac or bootcamp

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