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.

Windows partition not bootable after update.

All, As per a few others, I'm unable to boot into windows after an update.


In system preferences, under startup disk, only the OS X drive is shown.


User uploaded file

The disk utility does show my 'MacDoze' drive greyed out. This drive was changed to a 3tb unit about a year ago and has been dual booting just fine.

User uploaded file

diskutil list gives me the following:-

192168015007:~ pom$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *3.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 100.2 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data MacDoze 399.0 GB disk0s4

5: Microsoft Basic Data 0 B disk0s5

192168015007:~ pom$


and diskutil cs list as below:-

192168015007:~ pom$ diskutil cs list

No CoreStorage logical volume groups found

192168015007:~ pom$


sudo gpt -vv -r show /dev/disk0 results below:-

gpt show: /dev/disk0: mediasize=3000592982016; sectorsize=512; blocks=5860533168

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 5860533167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 195797056 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

196206696 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

197476232 120

197476352 779296768 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 0 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 3318192128 4

4294965248 1565567887

5860533135 32 Sec GPT table

5860533167 1 Sec GPT header


Any and all assistance appreciated.


Cheers.

iMac, OS X Yosemite (10.10.4)

Posted on Jul 1, 2015 6:01 PM

Reply
36 replies

Jul 2, 2015 5:11 PM in response to Loner T

Output below. I do have the other terminal window open with gdisk paused at the "Last Sector" request.


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): v


Problem: partition 5 ends before it begins.


Warning! Mismatched GPT and MBR partition! MBR partition 4, of type 0x07,

has no corresponding GPT partition! You may continue, but this condition

might cause data loss in the future!


Identified 2 problems!

Jul 2, 2015 8:14 PM in response to Loner T

Deleting that bogus data has returned my Windows partition. I now have ability to boot either OS.


1,000 thanks, as I needed to get hold of that data again.


Gdisk output now looks like this:-


Command (? for help): p

Disk /dev/disk0: 5860533168 sectors, 2.7 TiB

Logical sector size: 512 bytes

Disk identifier (GUID): 00000E82-4754-0000-7204-0000CB700000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 141 sectors (70.5 KiB)


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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 196206695 93.4 GiB AF00 Customer

3 196206696 197476231 619.9 MiB AB00 Recovery HD

4 197476352 976773119 371.6 GiB 0700 BOOTCAMP


For anybody interested in how that looks in Windoze:-


User uploaded file

1,000 thanks Loner T for the assistance.


Let me know if I should clean this up to reduce the likelihood of any more issues in the future.


Ta.

Jul 2, 2015 11:59 PM in response to Loner T

More than happy to do anything to close this out.


As requested:-


sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=3000592982016; sectorsize=512; blocks=5860533168

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 5860533167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 195797056 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

196206696 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

197476232 120

197476352 779296768 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 3318192128 4

4294965248 1565567887

5860533135 32 Sec GPT table

5860533167 1 Sec GPT header

Jul 3, 2015 4:12 PM in response to Loner T

Disk /dev/disk0: 5860533168 sectors, 2.7 TiB

Logical sector size: 512 bytes

Disk identifier (GUID): 00000E82-4754-0000-7204-0000CB700000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 141 sectors (70.5 KiB)


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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 196206695 93.4 GiB AF00 Customer

3 196206696 197476231 619.9 MiB AB00 Recovery HD

4 197476352 976773119 371.6 GiB 0700 BOOTCAMP


Command (? for help): q

192168015007:~ pom$

Jul 3, 2015 10:30 PM in response to Loner T

Yes it does.


192168015007:~ pom$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=3000592982016; sectorsize=512; blocks=5860533168

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 5860533167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 195797056 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

196206696 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

197476232 120

197476352 779296768 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 3318192128 4

4294965248 1565567887

5860533135 32 Sec GPT table

5860533167 1 Sec GPT header

192168015007:~ pom$

Jul 4, 2015 8:09 AM in response to Pom_VZ

GPT4 #1 is ~371 GB. There is no MBR corresponding to this.


GPT4 #2 is ~1582 GB. There is no MBR corresponding to this.


The blank space after that has no GPT, but the MBR shows 1565567887 = ~746 GB unallocated space.


MBR#4 is 4097488896 ~ 1953 GB.


My recommendation is to delete GPT#4 (both) entries and create a single GPT#4 matching the MBR to avoid future issues. It would also make sense to make a good backup as it is now and one after the change.

Jul 5, 2015 5:49 AM in response to Pom_VZ

Your GPT should look like the following


gpt show: /dev/disk0: mediasize=3000592982016; sectorsize=512; blocks=5860533168

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 5860533167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 195797056 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

196206696 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

197476232 120

197476352 4097488896 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

4294965248 1565567887

5860533135 32 Sec GPT table

5860533167 1 Sec GPT header


This would match


Disk: /dev/disk0 geometry: 97451/255/63 [1565565872 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 - 195797056] HFS+

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

*4: 07 1023 254 63 - 1023 254 63 [ 197476352 - 4097488896] HPFS/QNX/AUX


You may not be able to do much with the space (~745GB) after GPT4, due to the Windows 2TB limit. You can use it for storing OS X files.

Jul 26, 2015 4:21 AM in response to Loner T

Well, it took some time, but the backups are all done.


I think I may have stuffed up getting the get gpt fixed up, and deleted mbr #4?


I did the following:-

sudo gdisk /dev/disk0

p

d

4

p

w

y


Current status:-


192168015006:~ pom$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=3000592982016; sectorsize=512; blocks=5860533168

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 5860533167

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 195797056 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

196206696 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

197476232 120

197476352 4097488896 4 MBR part 7

4294965248 1565567887

5860533135 32 Sec GPT table

5860533167 1 Sec GPT header


Disk /dev/disk0: 5860533168 sectors, 2.7 TiB

Logical sector size: 512 bytes

Disk identifier (GUID): 00000E82-4754-0000-7204-0000CB700000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 779296909 sectors (371.6 GiB)


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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 196206695 93.4 GiB AF00 Customer

3 196206696 197476231 619.9 MiB AB00 Recovery HD


I no longer have the 2nd #4 in the gpt list.


Your further assistance would be appreciated. (In step by step, idiot proof, detail!)


PS. Not re-booted yet, if that makes a difference.

Jul 26, 2015 5:31 AM in response to Pom_VZ

This

197476352 4097488896 4 MBR part 7


and

*4: 07 1023 254 63 - 1023 254 63 [ 197476352 - 4097488896] HPFS/QNX/AUX


match in start/size.


The following commands changes the type of the partition. We will change partition 4 to be Microsoft Basic Data.


In Gdisk main menu


type 't' - change partition type

type 4 - we want to change partition 4

type 0700 - Microsoft Basic Data

type p

type w

type y


Reboot and test.

Jul 26, 2015 5:40 AM in response to Loner T

errors as per below:-


192168015006:~ pom$ sudo gdisk /dev/disk0

GPT fdisk (gdisk) version 1.0.0


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): t

Partition number (1-3): 4

Value out of range

Partition number (1-3):


Result of P


Command (? for help): p

Disk /dev/disk0: 5860533168 sectors, 2.7 TiB

Logical sector size: 512 bytes

Disk identifier (GUID): 00000E82-4754-0000-7204-0000CB700000

Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 976773134

Partitions will be aligned on 8-sector boundaries

Total free space is 779296909 sectors (371.6 GiB)


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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 196206695 93.4 GiB AF00 Customer

3 196206696 197476231 619.9 MiB AB00 Recovery HD


Thanks for the prompt reply, being as I took ages to get the backing up done.

Windows partition not bootable after update.

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