Q: gpt error after partition change - extra ghost partition in table, can't find Bootcamp in finder, but can log into both OSX and Win10
Yesterday I took about 25gb from the OSX partition and moved it to the Windows partition.
I can log into both OSX and Bootcamp, but I can no longer see Bootcamp in finder.
Output of some key commands:
sudo gpt -vv -r show /dev/disk0
sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060
gpt show: /dev/disk0: Suspicious MBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: error: bogus map
gpt show: unable to open device '/dev/disk0': Undefined error: 0
sudo gdisk /dev/disk0
sudo gdisk /dev/disk0
Password:
GPT fdisk (gdisk) version 1.0.1
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 977105060 sectors, 465.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E6C76A39-7886-4C35-B924-3AFB92CF9BED
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 262281 sectors (128.1 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 586347135 279.4 GiB AF00 Customer
3 586347136 587616671 619.9 MiB AB00 Recovery HD
4 587616672 635047935 22.6 GiB AF00 Untitled
5 635310080 977104895 163.0 GiB 0700 BOOTCAMP
Bootcamp is actually both 4 and 5 here, as far as windows is concerned.
sudo fdisk /dev/disk0
sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 1023 254 63 [ 1 - 586347135] <Unknown ID>
2: AB 1023 254 63 - 1023 254 63 [ 586347136 - 1269536] Darwin Boot
*3: 07 1023 254 63 - 1023 254 63 [ 587618304 - 389486592] HPFS/QNX/AUX
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
I've gone into the recovery disk and done csrutil disable:
csrutil status
System Integrity Protection status: disabled.
My system:
MacBook Pro (Retina, 15-inch, Late 2013)
OSX 10.11.5 (15F34)
ModelName: MacBookPro ModelIdentifier: MacBookPro11,3 ProcessorName: IntelCorei7 ProcessorSpeed: 2.3GHz NumberofProcessors: 1 TotalNumberofCores: 4 L2Cache(perCore): 256KB L3Cache: 6MB Memory: 16GB BootROMVersion: MBP112.0138.B17 SMCVersion(system): 2.19f12 NVIDIA GeForce GT 750M
MacBook Pro with Retina display, OS X El Capitan (10.11.5), 15", Late 2013, 16GB 750M-Nvidia
Posted on May 19, 2016 10:33 PM

