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.

Bootcamp missing after resizing manually

I know i have seen many threads, discussions about this kind of problem. Sorry if this is posted in here if its the wrong place I mean.

Well I did some reading and wasnt so sure about going further than what I've seen was successful for others (scared to damage or lose any files on my bootcamp).


I did resize it once, and it was successful, but this time it just suddenly turned to a disk0s4 and has an amount of the very first partition I had for the bootcamp (before resizing it successfully)


Thing is I'm not that confident without proper help or guide in repairing and any help would be greatly appreciated. I'm online this very moment and day I just want to wrap this up as I won't be able to sleep knowing that my sister's thesis report are in that bootcamp.


Here is so far what i have done.


gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 976773167

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 392666144 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

394345320 386630808

780976128 195796992 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

976773120 15

976773135 32 Sec GPT table

976773167 1 Sec GPT header



Disk: /dev/disk0 geometry: 60801/255/63 [976773168 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 - 392666144] HFS+

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

4: 0C 1023 254 63 - 1023 254 63 [ 780976128 - 195796992] Win95 FAT32L

MacBook Pro, Mac OS X (10.7.5)

Posted on May 3, 2014 12:08 AM

Reply
87 replies

May 4, 2014 1:36 PM in response to KaiKaiser

KaiKaiser wrote:


Start

394345320


End

195796992


with start and end am i going to use gdisk again?

This is all done in fdisk. Once you do the write (similar to the setup you did for changing Partition id), post your fdisk output before any further steps. Cylinder/Head/Sector should be already populated with defaults.

May 4, 2014 1:47 PM in response to Loner T

here it is


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

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

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

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

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

4: 0C 1023 254 63 - 1023 254 63 [ 394345320 - 195796992] Win95 FAT32L

fdisk:*1>

May 5, 2014 3:07 AM in response to Loner T

here you go


Kanes-MacBook-Pro:~ KKK$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *500.1 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 201.0 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 298.2 GB disk0s4

Kanes-MacBook-Pro:~ KKK$

Kanes-MacBook-Pro:~ KKK$ sudo gdisk /dev/disk0

Password:

GPT fdisk (gdisk) version 0.8.10



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

Disk /dev/disk0: 976773168 sectors, 465.8 GiB

Logical sector size: 512 bytes

Disk identifier (GUID): 0000712E-572C-0000-B33C-000088620000

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 21 sectors (10.5 KiB)



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

1 40 409639 200.0 MiB EF00 EFI system partition

2 409640 393075783 187.2 GiB AF00 Customer

3 393075784 394345319 619.9 MiB AB00 Recovery HD

4 394345320 976773119 277.7 GiB 0700 Microsoft basic data


Kanes-MacBook-Pro:~ KKK$ sudo fdisk -e /dev/disk0

fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

Enter 'help' for information

fdisk: 1> print

Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Offset: 0 Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

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

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

*4: 0C 1023 254 63 - 1023 254 63 [ 394345320 - 195796992] Win95 FAT32L

Bootcamp missing after resizing manually

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