Error 0x000000f issue on Bootcamp launch of Windows 10
I have been using upgraded Windows 10 for some months without issue. However, after running the Automatic Repair feature it gave a message that it could not repair the disk and when rebooting into Windows (alt key held), it now just opens to a blue screen with the following error message;
The Boot Configuration Data for your PC is missing or contains errors.
File: \EFI\Microsoft\Boot\BCD
Error code: 0x000000f
I had this issue before and in the end I did a fresh install with Windows 8.0 but I really don't want to have to do another time. I see other related threads and wanted to really find a solution for this.
Referring to this thread and related posts, I have the following details which may help diagnosis;
My setup;
iMac 27 Inch Late 2013, OS X 10.10.5
Windows 10 via Bootcamp
I have a Fusion Drive installed so I have used /disk1 where I can see the relevant Bootcamp reference.
Various Terminal results copied below for reference.
I assume that the Windows Automatic repair ran then altered the BCD (guess it's due to the HDD/SSD of the Fusion Drive) which caused it.
The Bootcamp partition is visible via the Finder and Disk Utility which also now shows a greyed out disk1s5 which is new.
I have downloaded testdisk and running a QuickSearch now though it seems to be taking a long time so will post when completed.
Also, I checked the suggestions for fixing this using gdisk which I have installed. However I was unsure on the correct values to use when referring to;
GPT 3 StartGPT 3 SizeGPT 3 EndNTFS StartSector OffsetNTFS SizeNTFS EndSector Offset (MB)1781440081269536179413544179415040149657561081236976121
1
in this thread. and great instructions by @Loner T. I'm happy to give it a go if this will indeed help and have the correct sums for those instructions.
Following a suggestion in that thread I did try using bootrec.exe commands via Repair > Command Prompt from a Windows 10 Install USB. However it would not allow the Y (yes) selection at the end after /rebuildBCD. Perhaps related to the Fusion Drive, not sure. But didn't work after a reboot and several attempts (also after selecting the C: drive)
If I can provide any further details please ask. I would very much like to resolve this without a clean install and know how to deal with it if it happens again even doing something as straight forward as an Auto Repair.
Thanks.
diskutil list
imac---simon:~ simon$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 121.0 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage 1.2 TB disk1s2
3: Apple_Boot Recovery HD 650.1 MB disk1s3
4: Microsoft Basic Data BOOTCAMP 1.0 TB disk1s4
5: DE94BBA4-06D1-4D40-A16A-BFD50179D6AC 471.9 MB disk1s5
6: Apple_CoreStorage 801.4 GB disk1s6
7: Apple_Boot Boot OS X 134.2 MB disk1s7
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *2.1 TB disk2
Logical Volume on disk0s2, disk1s2, ...
3F5AA69D-F073-493B-9E46-9DEDE5DDFE6F
Unencrypted Fusion Drive
diskutil cs list
imac---simon:~ simon$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group F8498AF3-BF01-4269-8BA8-9EF046D4F1DA
=========================================================
Name: Macintosh HD
Status: Online
Size: 2119816192000 B (2.1 TB)
Free Space: 520192 B (520.2 KB)
|
+-< Physical Volume 8BAA24FA-1DC6-4ED5-9CC2-3EDEB796BD94
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume 01158A65-CB18-41FE-AE6D-1B9DB6A456C9
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 1197390798848 B (1.2 TB)
|
+-< Physical Volume D0B5C5C6-08DC-466D-9892-8ACE7694EF26
| ----------------------------------------------------
| Index: 2
| Disk: disk1s6
| Status: Online
| Size: 801436540928 B (801.4 GB)
|
+-> Logical Volume Family 2A323674-FF4A-4E25-91F9-1EDD4BC1D595
----------------------------------------------------------
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume 3F5AA69D-F073-493B-9E46-9DEDE5DDFE6F
---------------------------------------------------
Disk: disk2
Status: Online
Size (Total): 2104999936000 B (2.1 TB)
Conversion Progress: -none-
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
imac---simon:~ simon$
sudo gpt -vv -r show /dev/disk1
imac---simon:~ simon$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group F8498AF3-BF01-4269-8BA8-9EF046D4F1DA
=========================================================
Name: Macintosh HD
Status: Online
Size: 2119816192000 B (2.1 TB)
Free Space: 520192 B (520.2 KB)
|
+-< Physical Volume 8BAA24FA-1DC6-4ED5-9CC2-3EDEB796BD94
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume 01158A65-CB18-41FE-AE6D-1B9DB6A456C9
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 1197390798848 B (1.2 TB)
|
+-< Physical Volume D0B5C5C6-08DC-466D-9892-8ACE7694EF26
| ----------------------------------------------------
| Index: 2
| Disk: disk1s6
| Status: Online
| Size: 801436540928 B (801.4 GB)
|
+-> Logical Volume Family 2A323674-FF4A-4E25-91F9-1EDD4BC1D595
----------------------------------------------------------
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume 3F5AA69D-F073-493B-9E46-9DEDE5DDFE6F
---------------------------------------------------
Disk: disk2
Status: Online
Size (Total): 2104999936000 B (2.1 TB)
Conversion Progress: -none-
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
imac---simon:~ simon$ sudo gpt -vv -r show /dev/disk1
Password:
gpt show: /dev/disk1: mediasize=3000592982016; sectorsize=512; blocks=5860533168
gpt show: /dev/disk1: PMBR at sector 0
gpt show: /dev/disk1: Pri GPT at sector 1
gpt show: /dev/disk1: Sec GPT at sector 5860533167
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 2338653904 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
2339063544 1269760 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
2340333304 264
2340333568 1953708032 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
4294041600 921600 5 GPT part - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
4294963200 2040
4294965240 1565305744 6 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
5860270984 262144 7 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
5860533128 7
5860533135 32 Sec GPT table
5860533167 1 Sec GPT header
imac---simon:~ simon$
sudo fdisk /dev/disk1
imac---simon:~ simon$ sudo fdisk /dev/disk1
Disk: /dev/disk1 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 - 4294967294] <Unknown ID>
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
imac---simon:~ simon$
testdisk also flagged a couple of issues when first commencing the QuickSearch;
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
EFI System 40 409639 409600 [EFI]
Mac HFS 3467968 12646647 9178680
Mac HFS 110048788 119227467 9178680
iMac, OS X Yosemite (10.10.5), iMac 27 Inch (Late 2013)