You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Can't boot into windows after resizing partitions

I tried to resize my bootcamp and mac partitions recently

I cannot boot into windows now

Get an error about missing MBR

Do you think you could help me here?

I read about using GPT fdisk on another thread

These are the results I got from it

Wanted to check before doing anything


Sanjayas-MacBook-Pro:~ sanjaya83$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 38913/255/63 [625142448 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>

2: AF 1023 254 63 - 1023 254 63 [ 409640 - 349609376] HFS+

3: AB 1023 254 63 - 1023 254 63 [ 350019016 - 1269536] Darwin Boot

4: 0C 1023 254 63 - 1023 254 63 [ 351289344 - 273852416] Win95 FAT32L

Sanjayas-MacBook-Pro:~ sanjaya83$ sudo gdisk /dev/disk0

GPT fdisk (gdisk) version 1.0.1


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

NOTE: Write test failed with error number 1. It will be impossible to save

changes to this disk's partition table!

You may need to deactivate System Integrity Protection to use this program. See

https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11

for more information.


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: 625142448 sectors, 298.1 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 55739070-E42E-4414-947D-F1AAD2EB65D0

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 625142414

Partitions will be aligned on 8-sector boundaries

Total free space is 1453 sectors (726.5 KiB)


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

1 40 409639 200.0 MiB EF00 EFI System Partition

2 409640 350019015 166.7 GiB AF00 Customer

3 350019016 351288551 619.9 MiB AB00 Recovery HD

4 351289344 625141759 130.6 GiB 0700 BOOTCAMP


Command (? for help):

MacBook Pro (13-inch Early 2011), OS X El Capitan (10.11.1)

Posted on Dec 1, 2015 5:12 PM

Reply
152 replies

Feb 14, 2016 8:06 PM in response to Loner T

i'm not certain that there is a difference between internet recovery and normal recovery ? holding down COMMAND + R brings up the apple logo and then recovery mode loads. it shows that i am connected to my wifi network when i'm in recovery.


the version of DU is the same in both recovery and normal boot os 10 is 15.0 (1511.3).


are you looking for an older version of DU ? i tried looking around for a way to revert back to the older DU in order to get back the 'debug' option, i don't think i can do that because i never use time machine.


what's interesting about HDM is that i created boot media that i had to use in order to bypass system integrity protection .... i used that in order to resize/shift the existing partitions. when i run recovery mode on my mac, is SIP still enabled ?

Feb 14, 2016 8:16 PM in response to zero7404

was digging around HDM and i checked out the log files ... perhaps this might help ?


FDisk version 3.2 + Base + LDM + SCO + GPT + APT + LVM2 (Jan 22 2016, 16:22:25)





============== PhysicalDrive 0 , 233.76 Gb ==============

Model : "APPLE SSD SM0256F "

SerialNumber : "Unknown"

Media type : Fixed hard disk

Cylinders : 30515, 0x7733

TracksPerCylinder : 255, 0xff

SectorsPerTrack : 63, 0x3f

BytesPerSector : 512, 0x200

Total sectors : 490234752, 0x1d386380

C*H*S : 490223475, 0x1d383773

delta : 11277, 0x2c0d, 5.50 MB

==========================================================

Gpt + Mbr mixed layout:

0 1 64027 1 1 EE 00 1

1 64028 6FC23B0 64028 2 AF 00 1

2 70263D8 135F20 70263D8 3 AB 00 1

3 715C800 1617A800 715C800 4 07 01 1



====== GptTable at 0x1 ======

Signature : EFI PART

Revision : 1.0

HeaderSize : 0x5c

HeaderCRC32 : 0x50959237

Lba : 0x1

AlternateLba : 0x1d38637f

FirstUsableLba : 0x22

LastUsableLba : 0x1d38635e

DiskGuid : {0baf7312-19db-43e6-a018-9764a4932c1c}

PartitionEntryLba : 0x2

Entries : 0x80

SizeOfEntry : 0x80

===================================



====== GptTable at 0x1d38637f ======

Signature : EFI PART

Revision : 1.0

HeaderSize : 0x5c

HeaderCRC32 : 0xce28ca56

Lba : 0x1d38637f

AlternateLba : 0x1

FirstUsableLba : 0x22

LastUsableLba : 0x1d38635e

DiskGuid : {0baf7312-19db-43e6-a018-9764a4932c1c}

PartitionEntryLba : 0x1d38635f

Entries : 0x80

SizeOfEntry : 0x80

===================================



============== Layout of PhysicalDrive 0 (Gpt partition style) ===========

DiskId : {0baf7312-19db-43e6-a018-9764a4932c1c}

PartitionCount : 4

StartingUsableOffset : 0x22 sec

UsableLength : 0x1d38633d sec

MaxPartitionCount : 0x80

# StartingOffSet PartitionLength PartNum Type Id Attributes Name

--- -------------- --------------- ------ ------------------------------------ ------------------------------------ ---------------- -------------------

0 28 64000 1 {c12a7328-f81f-11d2-ba4b-00a0c93ec93b} {83210f4d-5b6d-4234-8621-279cbb6ca6f4} 0 EFI System Partition

1 64028 6FC23B0 2 {48465300-0000-11aa-aa11-00306543ecac} {206ec616-dee7-4c5b-837b-b7c5e7c87cf0} 0 Customer

2 70263D8 135F20 3 {426f6f74-0000-11aa-aa11-00306543ecac} {ae24e6ad-71d8-4b33-880c-41b485971da5} 2000000000000 Recovery HD

3 715C800 1617A800 4 {ebd0a0a2-b9e5-4433-87c0-68b6b72699c7} {0f9f63ac-65dd-45df-ae28-3ecc9c2ffce3} 0 BOOTCAMP



Retained Gpt layout:



============== Layout of PhysicalDrive 0 (Mbr partition style) ===========

Signature 0xbbb3488a

PartitionCount 4

PartEntry# StartingOffSet PartitionLength HidSect PartNumber PT BI Recgnz

---------- -------------- --------------- ------- ---------- -- -- ------

0 1 64027 1 1 EE 00 1

1 64028 6FC23B0 64028 2 AF 00 1

2 70263D8 135F20 70263D8 3 AB 00 1

3 715C800 1617A800 715C800 4 07 01 1



======NTFSBoot->le(0)======

Signature : BSD 4.4

RWBlocks : 0x64000 x 0x200, , ro

SectorsPerVolume : 0x200000000 x 0x200

SectorsPerCluster : 0x1

MFT : 0x60001

MFTMirr : 0x0

Record size : 0

Index size : 23

Magic : 0x55aa

===========================

Invalid NTFS boot signature

sizeof(CFileSystemFat32) = 2088



=== Parameters of FAT32 =========

Signature : BSD 4.4

Bytes per sector : 0x200

Sectors per cluster : 0x1

Sectors per boot : 0x20

Sectors per fat : 0xc4f

Number of fats : 0x2

Root sector : 0x18be

Data sector : 0x18be

RWBlocks : 0x64000, ro

Total sectors : 0x64000

Total clusters : 0x62742

Tail sectors : 0x0

==================================

Volume (0x102013e00) 67E3-17ED is initiated as FAT32 of size 0.20 Gb, label: "EFI "

FatFragments : 16

EntriesPerFragment : 4b00

CFileSystemFat::IoControl: 1, [0x0, 0], [0x10203f6b0, 8]

CFileSystemFat::IoControl: 12, [0x0, 0], [0x700000195ab8, 8]

CFileSystemFat::IoControl: 33, [0x700000195a98, 8], [0x700000195aa0, 8]

OnQueryFsShrink

OnQueryFsShrink clusters 49216 system sectors 6334

CFileSystemFat::IoControl: 33, [0x700000195a98, 8], [0x700000195aa0, 8]

OnQueryFsShrink

OnQueryFsShrink clusters 65525 system sectors 6334

CFileSystemFat::IoControl: 1, [0x0, 0], [0x10203f6b0, 8]

FAT label EFICFileSystemFAT: Dirs 1, Files 0, Enums 0

CloseRoot: Fs 0x102013e00, root 0x101412250

~CFileSystemFAT: Dirs 0, Files 0, Enums 0



======NTFSBoot->le(0)======

Signature : 0x0000000000000000

RWBlocks : 0x6fc23b0 x 0x200, , ro

SectorsPerVolume : 0x0 x 0x0

SectorsPerCluster : 0x0

MFT : 0x0

MFTMirr : 0x0

Record size : 0

Index size : 0

Magic : 0x00

===========================

Invalid NTFS boot signature

Not exFat: jump code + signature

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................





=== HfsVolumeHeader->le =========

Signature : H+

Version : 4

Attributes : 0x80002000

LastMounted : HFSJ

BytesPerBlock : 0x1000

RWBlocks : 0x6fc23b0 x 0x200, , ro

TotalSectors : 0x6fc23b0

TotalBlocks : 0xdf8476

FilesCount : 801051

FoldersCount : 131926

Serial number : 57afb038-331242f6

ModifyDate : 0xd2ddaf00

FreeBlocks : 0x701139

NextCatalogId : 0x9ba884

WriteCount : 0xc22545d

Allocation : 0x00000800 [0x00000001 + 0x800), clump = 748000

Extens : 0x00000500 [0x00001002 + 0x500), clump = 800000

Catalog : 0x00022d00 [0x0002d502 + 0x22d00), clump = 6f00000

Attributes : 0x00021300 [0x00001502 + 0x18000), clump = 9300000

[0x0001ad02 + 0x9300)

AltHdrOffset : 0xdf8475c00

===========================

VolumeHeader is accepted as HFS+ 4.0 of size 55.88 Gb

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

Journal info:

flags: 1

offset: 19502000

size: 1800000

Journal header:

magic: 4a4e4c78 (JNLx)

endian: 12345678

start: 14a2000

end: 123c200

size: 1800000

blhdr: 18000

chksum: b6d3f3a

jhdr: 200

seq: 244647,a36554

HFS journal is not empty!

Journal is not empty => Mount in read-only mode

Journal is deactivated

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

Filesystem was not cleanly unmounted

ExtTree nodes: total 500, free 4b7, size 1000

CatTree nodes: total 11680, free 3aad, size 2000

Detected case-insensitive catalog

AttTree nodes: total 10980, free 4779, size 2000

Loading Bitmap...

Optimizing large bitmap reading

Bitmap: Bits df8476, frames 1c0 x 1000, free 701139

Zone: [6cc31,8cc31) - 20000 clusters

sizeof(CFileSystemHfs) = 3624

Label : Macintosh HD

FileLinkFolderId 12, DirLinkFolderId 13

GetVolumeInfo: Free = 701139, State = dirty

QueryHfsShrink => 6f7b3d000 bytes

Zone: [6cc31,8cc31) - 20000 clusters

GetVolumeInfo: Free = df8476, State = dirty

CloseRoot: Fs 0x102044c00, root 0x101412ab0

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

~ExtTree: Max 2, Hit 0, Read 3, Write 0

~CatTree: Max 5, Hit 19, Read 6, Write 0

~AttTree: Max 1, Hit 0, Read 1, Write 0

Hfs 0x102044c00 is closed



======NTFSBoot->le(0)======

Signature : 0x0000000000000000

RWBlocks : 0x135f20 x 0x200, , ro

SectorsPerVolume : 0x0 x 0x0

SectorsPerCluster : 0x0

MFT : 0x0

MFTMirr : 0x0

Record size : 0

Index size : 0

Magic : 0x00

===========================

Invalid NTFS boot signature

Not exFat: jump code + signature

0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................





=== HfsVolumeHeader->le =========

Signature : H+

Version : 4

Attributes : 0x80002100

LastMounted : HFSJ

BytesPerBlock : 0x1000

RWBlocks : 0x135f20 x 0x200, , ro

TotalSectors : 0x135f20

TotalBlocks : 0x26be4

FilesCount : 34

FoldersCount : 23

Serial number : 399fdff6-bfb304b1

ModifyDate : 0xd2db37b1

FreeBlocks : 0x64b3

NextCatalogId : 0x101

WriteCount : 0xa68

Allocation : 0x00000005 [0x00000001 + 0x5), clump = 5000

Extens : 0x000004d7 [0x00000807 + 0x4d7), clump = 4d7000

Catalog : 0x000004d7 [0x00004210 + 0x4d7), clump = 4d7000

Attributes : 0x000004d6 [0x00000cde + 0x4d6), clump = 4d6000

AltHdrOffset : 0x26be3c00

===========================

VolumeHeader is accepted as HFS+ 4.0 of size 0.61 Gb

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

Journal info:

flags: 1

offset: 7000

size: 800000

Journal header:

magic: 4a4e4c78 (JNLx)

endian: 12345678

start: 4ae800

end: 4ae800

size: 800000

blhdr: 18000

chksum: acf8d28

jhdr: 200

seq: 428943,c1a850

JnlHfs: use 800 blocks of 1000 bytes

Journal is deactivated

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

ExtTree nodes: total 4d7, free 4d6, size 1000

CatTree nodes: total 4d7, free 4cf, size 1000

Detected case-insensitive catalog

AttTree nodes: total 26b, free 269, size 2000

Loading Bitmap...

Bitmap: Bits 26be4, frames 5 x 1000, free 64b3

Zone: [209fa,25776) - 4d7c clusters

sizeof(CFileSystemHfs) = 3624

Label : Recovery HD

FileLinkFolderId 12, DirLinkFolderId 13

GetVolumeInfo: Free = 64b3, State = clean

QueryHfsShrink => 20f31000 bytes

Zone: [209fa,25776) - 4d7c clusters

GetVolumeInfo: Free = 26be4, State = clean

CloseRoot: Fs 0x102045400, root 0x101412270

JnlHfs: 0 free blocks of 1000 bytes

Journal statistic: Written 0x0 bytes. Flush 0

~ExtTree: Max 1, Hit 0, Read 1, Write 0

~CatTree: Max 2, Hit 10, Read 3, Write 0

~AttTree: Max 1, Hit 0, Read 1, Write 0

Hfs 0x102045400 is closed



======NTFSBoot->le(0)======

Signature : NTFS

RWBlocks : 0x1617a800 x 0x200, , ro

SectorsPerVolume : 0x1617a7ff x 0x200

SectorsPerCluster : 0x8

MFT : 0xc0000

MFTMirr : 0x2

Record size : -10

Index size : 1

Magic : 0x55aa

===========================

Boot is accepted as NTFS of size 176.74 Gb

Loading $Volume...

$Volume: 3.1, 0, "Windows"

Loading $LogFile...

$LogFile: 4000000 bytes

Loading $MFT...

MFT: used=54300,total=54300

$LogFile version 1.1

End of journal read. Actions 0. empty

Journal is deactivated

Loading $MFT...

MFT: used=54300,total=54300

Loading $MFT::Bitmap...

Bitmap: Bits 54300, frames b x 1000, free 29067

Loading $MFTMirr...

$MFTMirr contains 4 records

Loading $Bad...

Loading $Bitmap...

Optimizing large bitmap reading

Bitmap: Bits 2c2f4ff, frames 586 x 1000, free 237ca5e

MftZone: [b12b8e,b32b8e) - 20000 clusters

Loading $AttrDef...

$AttrDef contains f entries

Loading $UpCase...

$UpCase file is formatted for use in Windows7 (2976 bytes)

Loading $Secure...

$Secure contains 5571 entries. NextId 16c3

Loading $Extend...

$ObjId=19, $Quota=18, $Reparse=1a

Loading $Reparse...

Loading $ObjId...

sizeof(CFileSystemNtfs) = 936

Volume (0x101412050) 6CE1-951B is initiated as NTFS 3.1 , caseinsensitive, label: "Windows"

MFT : free 29067 from 54300

Clusters: free 237ca5e from 2c2f4ff

Root is noncompressed

ioctl:OnGetFsType => NTFS

GetVolumeInfo: Free = 237ca5e, State = clean

ioctl:OnGetFsVersion => 3.01

ioctl:OnGetSectorsPerVolume => 1617a7ff

ioctl:OnQueryNtfsShrink => 8c40f6200 bytes, 8c40f6 clusters, 46207b1 sectors

ioctl:OnGetFsType => NTFS

GetVolumeInfo: Free = 237ca5e, State = clean

CloseRoot: Fs 0x101412050, root 0x101000a60

~CFileSystemNtfs: this 0x101412050, Dirs 0, Files 0, Enums 0, Tr 0

Ntfs 0x101412050 is closed

Can't boot into windows after resizing partitions

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