Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

Repairing Boot Camp after creating new partition

I am running osx 10.10.5 and have windows 10 x64 on a partition. i used a windows tool to resize the windows partition, it worked until i restarted the computer from osx to windows. is there any way to fix this without starting over?

iMac, OS X Yosemite (10.10.5)

Posted on Apr 30, 2016 5:43 PM

Reply
18 replies

Apr 30, 2016 6:24 PM in response to ioozz

Possibly. Can you post the output of the following Terminal commands?


diskutil list

diskutil cs list

sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

May 2, 2016 2:59 PM in response to Loner T

Fabians-iMac:~ FabianForero$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 555.6 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 149.0 GB disk0s4

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: Mounty for NTFS *41.0 MB disk1

Fabians-iMac:~ FabianForero$ diskutil cs list

No CoreStorage logical volume groups found

Fabians-iMac:~ FabianForero$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=1000204886016; sectorsize=512; blocks=1953525168

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 1953525167

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

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

1086848304 575662800

1662511104 291012608 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1953523712 1423

1953525135 32 Sec GPT table

1953525167 1 Sec GPT header

Fabians-iMac:~ FabianForero$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 121601/255/63 [1953525168 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 1023 254 63 [ 1 - 1662511103] <Unknown ID>

*2: 07 1023 254 63 - 1023 254 63 [1662511104 - 291012608] HPFS/QNX/AUX

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

May 2, 2016 3:43 PM in response to ioozz

Check in your Downloads directory. If the binaries are in that directory, you can use them from the Downloads directory. It does not have a Mac installer package. It will look similar to


ls -lg testdisk-7.0/

total 9232

drwxr-xr-x@ 3 staff 102 Apr 18 2015 78

-rw-r--r--@ 1 staff 216 Nov 11 2007 AUTHORS

-rw-r--r--@ 1 staff 17987 Jun 15 2006 COPYING

-rw-r--r--@ 1 staff 117 Apr 18 2015 INFO

-rw-r--r--@ 1 staff 18573 Apr 18 2015 NEWS

-rw-r--r--@ 1 staff 2085 Jun 27 2012 README

-rw-r--r--@ 1 staff 344 Apr 21 2008 THANKS

-rw-r--r--@ 1 staff 34 Apr 18 2015 VERSION

-rw-r--r--@ 1 staff 312 Apr 16 2011 documentation.html

-rwxr-xr-x@ 1 staff 521340 Apr 18 2015 fidentify

-rw-r--r--@ 1 staff 898 Apr 18 2015 fidentify.8

drwxr-xr-x@ 9 staff 306 Apr 18 2015 icons

-rwxr-xr-x@ 1 staff 2187716 Apr 18 2015 photorec

-rw-r--r--@ 1 staff 1165 Apr 18 2015 photorec.8

-rw-r--r--@ 1 staff 1021 Apr 18 2015 qphotorec.8

-rw-r--r--@ 1 staff 239 Mar 10 2012 readme.txt

-rwxr-xr-x@ 1 staff 1923704 Apr 18 2015 testdisk

-rw-r--r--@ 1 staff 1750 Apr 18 2015 testdisk.8


Follow the screens in the linked discussion. Please ask questions, if you are unsure of the next step.

Repairing Boot Camp after creating new partition

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