Q: Bootcamp disk0s4 after Yosemite update (fdisk and testdisk info)
Hello everyone and Loner T,
I've been following the threads where similar issues were reported. I downloaded Testdisk and GPT disk. And I've been trying to follow the directions as best I could on my own to provide you with the information needed for support. I have a 40 GB Windows 7 Bootcamp partition on a 200 GB Macbook Pro Early 2008 HDD. Before the Yosemite upgrade, I have successfully added another 10 GB to the windows partition by shrinking the Mac OS partition. After the upgrade, the bootcamp was not visible as a bootable partition to be selected after restart and displayed as disk0s4 in Disk Utility. In addition, the 10 GB are now displayed as unallocated space. I have since downgraded to Mavericks 10.9.5 since Yosemite keeps on lagging on my maschine. I hope you can help me too recover the data stuck under Windows. Thank you for your kind assistance.
1. I have run the following commands in terminal with the specified output:
- diskutil list
- diskutil cs list
- sudo gpt -vv -r show /dev/disk0
- sudo fdisk /dev/disk0
Last login: Mon Dec 15 22:00:47 on console
Robert-4:~ RGl$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *200.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Star Cluster 149.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 40.0 GB disk0s4
Robert-4:~ RGl$ diskutil cs list
No CoreStorage logical volume groups found
Robert-4:~ RGl$ sudo gpt -vv -r show /dev/disk0
Password:
gpt show: /dev/disk0: mediasize=200049647616; sectorsize=512; blocks=390721968
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 390721967
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 291386712 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
291796352 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
293065888 19532640
312598528 78123008 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
390721536 399
390721935 32 Sec GPT table
390721967 1 Sec GPT header
Robert-4:~ RGl$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 24321/255/63 [390721968 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 1023 254 63 [ 1 - 312598527] <Unknown ID>
*2: 07 1023 254 63 - 1023 254 63 [ 312598528 - 78123008] 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
2. I have followed the instructions in Bootcamp win8.1 autorepair fail after yosemite upgrade post to perform a deep search in Testdisk.
- After analyzing the EFI GPT partition map, Testdisk returns:
Disk /dev/disk0 - 200 GB / 186 GiB - 390721968 sectors (RO)
Current partition structure:
Partition Start End Size in sectors
1 P EFI System 40 409639 409600 [EFI System Partition]
2 P Mac HFS 409640 291796351 291386712 [Star Cluster]
3 P Mac Boot 291796352 293065887 1269536 [Recovery HD]
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
4 P MS Data 312598528 390721535 78123008 [BOOTCAMP]
- QuickSearch returns:
Disk /dev/disk0 - 200 GB / 186 GiB - 390721968 sectors (RO)
The harddisk (200 GB / 186 GiB) seems too small! (< 250 GB / 232 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...
The following partitions can't be recovered:
Partition Start End Size in sectors
> MS Data 390721535 488376311 97654777
Mac HFS 390721924 391991459 1269536
- Continue on MS Data returns:
Disk /dev/disk0 - 200 GB / 186 GiB - 390721968 sectors (RO)
Partition Start End Size in sectors
>P EFI System 40 409639 409600 [EFI]
D Mac HFS 409640 291796351 291386712
D MS Data 195411976 293066752 97654777
D Mac HFS 291796352 293065887 1269536
D MS Data 293066752 390721528 97654777
D MS Data 293066759 390721535 97654777
D Mac HFS 389452392 390721927 1269536
MacBook Pro, OS X Mavericks (10.9.5)
Posted on Dec 15, 2014 4:22 PM
