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

0xc000000e Error on Windows after Partition Resize

Hi Guys,


So I have been facing this issue for the past couple of days, and have scoured these forums here and elsewhere trying to find a solution but no luck. I think I'm pretty close but need some help.


I had a bootcamp setup, with pretty much a 50/50 split on my disk space for windows 10 and OSX El Capitan.

I decided to shrink my OSX partition, so i could create Shared partition, in exFat to hold files that I would want to access between OSs. I thought this would be a cleaner solution than using a 3rd Party OSX app to read/write NTFS volumes.


Resize went well, created the new partition, and later went to boot into Windows and got startup error 0xc000000e.


Heres what I know:


  1. Windows shows up in 'Startup Disk' in Utilities.
  2. Windows appears in the boot menu when holding the alt key on boot.
  3. The NTFS Volume seems to be intact, and i can access files.


Im new to OSX and have been a heavy user of windows for many years, although going deep into OSX or Linux is alien to me.


I created a bootable windows usb and went into startup repair, navigating to the NTFS volume ran bootrec commands.

When running rebuild BCD it searched for OSs and found my windows installation, but when attempting to add it to the MBR i get the error 'The requested system device cannot be found.'


I removed the partition and extended the OSX partition to go back to where it was before the issue arose hoping that putting the partition table back the way it was might fix the problem. Unfortunately it didn't.


Below is the current outputs from diskutil and fdisk and gpt -vv commands.


I have tried many other things i could find on this forum but to no avail.


Thanks so much to anyone who can help me with this,

I dont want to have to do a full reinstall, and cant imagine that would be necessary given all files are accessible, as i have a lot of software needed for where i work, CAD software etc. and it would be awkward to get all of those configured properly again.


The PC is a 2015 Macbook Pro 15"


Thanks, Cathal.


Cathals-MacBook-Pro:~ codwyer$ diskutil list

/dev/disk0 (internal, physical):

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *251.0 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage Macintosh HD 149.4 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 79.3 GB disk0s4

5: Windows Recovery 471.9 MB disk0s5

6: Microsoft Basic Data SWAP 21.0 GB disk0s6

/dev/disk1 (internal, virtual):

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD +149.0 GB disk1

Logical Volume on disk0s2

863CB3BB-A6AB-4DAE-ADA3-05E638AC7DFA

Unencrypted

/dev/disk2 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *8.0 GB disk2

1: DOS_FAT_32 ESD-USB 8.0 GB disk2s1

Cathals-MacBook-Pro:~ codwyer$ diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group CC294E48-2B02-4AEA-B5B8-01B51E22AC6F

=========================================================

Name: Macintosh HD

Status: Online

Size: 149361356800 B (149.4 GB)

Free Space: 8921088 B (8.9 MB)

|

+-< Physical Volume 5B650C2C-8DD7-4EE0-8E7B-5AD35807F33A

| ----------------------------------------------------

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 149361356800 B (149.4 GB)

|

+-> Logical Volume Family 35277226-FDE5-4762-B821-BCFBC8970258

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

Encryption Type: None

|

+-> Logical Volume 863CB3BB-A6AB-4DAE-ADA3-05E638AC7DFA

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

Disk: disk1

Status: Online

Size (Total): 149000114176 B (149.0 GB)

Revertible: Yes (no decryption required)

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS

Cathals-MacBook-Pro:~ codwyer$ fdisk /dev/disk0

fdisk: /dev/disk0: Permission denied

Cathals-MacBook-Pro:~ codwyer$ sudo fdisk /dev/disk0

Password:

Disk: /dev/disk0 geometry: 30515/255/63 [490234752 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: AC 1023 254 63 - 1023 254 63 [ 409640 - 291721400] <Unknown ID>

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

*4: 07 1023 254 63 - 1023 254 63 [ 293400576 - 154951680] HPFS/QNX/AUX

Cathals-MacBook-Pro:~ codwyer$ sudo gpt -vv -r show /dev/disk0

gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

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 490234751

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 291721400 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

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

293400576 154951680 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

448352256 921600 5 GPT part - DE94BBA4-06D1-4D40-A16A-BFD50179D6AC

449273856 40957952 6 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

490231808 2911

490234719 32 Sec GPT table

490234751 1 Sec GPT header

Cathals-MacBook-Pro:~ codwyer$

MacBook Pro (Retina, 15-inch, Mid 2015), OS X El Capitan (10.11.1), null

Posted on Dec 30, 2015 11:56 AM

Reply
26 replies

Dec 30, 2015 1:07 PM in response to Loner T

Thanks for your response, heres the output you looked for :


00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|

00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 f0 7c 11 |........?.....|.|

00000020 00 00 00 00 80 00 80 00 ff 5f 3c 09 00 00 00 00 |........._<.....|

00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|

00000040 f6 00 00 00 01 00 00 00 00 42 75 2e 81 75 2e b0 |.........Bu..u..|

00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|

00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|

00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|

00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|

00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|

000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|

000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|

000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|

000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|

000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|

000000f0 68 07 bb 16 68 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|

00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|

00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 01 90 90 66 60 1e |.............f`.|

00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|

00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|

00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|

00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|

00000160 0e 16 00 75 bc 07 1f 66 61 c3 a1 f6 01 e8 09 00 |...u...fa.......|

00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|

00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|

00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|

000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|

000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|

000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|

000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|

000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|

00000200


Cathal.

Dec 30, 2015 1:22 PM in response to CathalKilkenny

The 2015 MBPs usually install W10 using EFI. Since you do not have a separate Windows EFI/ESP, it usually ends up in the OS X EFI Partition. Please see Can't resize Macintosh HD partition on how to mount the OS X EFI and check if a Microsoft directory exists, and if it does, does it contain the BCD?


If it does, bootrec.exe /rebuildBCD should use the OS X EFI as the System partition.

Dec 30, 2015 4:26 PM in response to Loner T

So I mounted the EFI partition and had a look around, The Microsoft directory exists and so does the BCD file under :

/Volumes/EFI/EFI/Microsoft/Boot/BCD


I booted back into the Windows USB, but looking at diskpart, it doesn't see any volumes apart from the BOOTCAMP partition and itself on the USB stick.


Surely it would need to see or mount the EFI partition if it was to edit those files ?


I may be completely wrong though, thanks again for your help thus far.

Dec 30, 2015 5:28 PM in response to CathalKilkenny

You will need to use diskpart - https://technet.microsoft.com/en-us/library/cc766465%28v=ws.10%29.aspx?f=255&MSP PError=-2147217396 - and assign a drive letter to EFI Partition. Once a drive letter is assigned, you should be able to use bootrec.exe /rebuildBCD . Please see https://support.microsoft.com/en-us/kb/927392 . Remember to use the driver letter you just assigned, rather than C:.

Dec 30, 2015 6:08 PM in response to Loner T

I remember being at this point a day or two ago, but gave up as I could not see the EFI volume, so could not select it to assign it a drive letter. I assumed it was something Apple specific, so gave up on that idea and looked elsewhere.


Using diskpart I select Disk 0, and list volumes.

I get just 2, a 73 GB volume (BOOTCAMP), and a ~8GB one for the USB Stick.

If I list partitions I see a partition 200mb (EFI), a 139GB one (OSX), 619MB one(Apple recovery I assume), and Bootcamp.


I tried to assign the partition a drive letter, but it tells me I can only assign a letter to a volume. I didn't think it would work but no harm in trying 🙂


Any ideas ?


Thanks again.


EDIT:


Looking at the 'HELP ASSIGN' command in disk part it says that you should always be able to assign a drive letter to an ESP partition. That's odd.

Dec 31, 2015 8:03 AM in response to Loner T

Ok, so I tried to assign a letter to EFI for a while before trying the other method,


I renamed the BCD on my USB stick to BCD.bak and ran the following command from the USB stick:


bcdboot c:\Windows /l en-gb /s d: /f ALL      //assigning C:\windows os to the BCD on D: which is the usb stick


It told me that the operation completed successfully.


I booted back into osx, remounted the EFI, copied the new BCD to it and put BCD.bak back the way it was.


Booting into windows, i now get a different error code : 0xc0000225

The file \Windows\system32\winload.efi is missing or contains errors


I really thought it would boot up.

The winload.efi file appears to be present.


Any further ideas ?


Thanks again.

Dec 31, 2015 9:36 AM in response to Loner T

I set the directory to C: and ran

sfc.exe /scannow /offbootdir=C:\ offwindir=C:\Windows


Did not find any integrity violations, so it seems ok, probably an issue with the BCD I created and passed across then?


Maybe if I could assign a letter to the EFI it would work, but I just cant seem to be able to do it.


Thanks for replying through this, you have a lot of patience 🙂

Jan 6, 2016 10:42 AM in response to Loner T

Hi Loner T,


Sorry about my late response,


So I have been playing around with EasyBCD with no luck. I decided to go a bit more in depth with bcdedit.

The current config for the BCD on the machine is :

Windows Boot Manager

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

identifier {bootmgr}

device unknown

path \EFI\Microsoft\Boot\bootmgfw.efi

description Windows Boot Manager

locale en-gb

inherit {globalsettings}

default {default}

resumeobject {27b79d36-afd4-11e5-8928-b9e0101f7078}

displayorder {default}

toolsdisplayorder {memdiag}

timeout 30



Windows Boot Loader

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

identifier {default}

device unknown

path \windows\system32\winload.efi

description Windows 10

locale en-gb

inherit {bootloadersettings}

isolatedcontext Yes

allowedinmemorysettings 0x15000075

osdevice unknown

systemroot \windows

resumeobject {27b79d36-afd4-11e5-8928-b9e0101f7078}

nx OptIn

bootmenupolicy Standard


I notice there are 3 values with 'unknown'


Boot Manager device, Boot Loader device, and Boot Loader osdevice.


I have tried changing these values to :


Windows Boot Manager

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

device boot


Windows Boot Loader

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

device partition=C:

osdevice partition=C:


(Removed other values to shorten post)

boot, partition=C:, and partition=C:


I have also tried using all 'boot', and all 'partition=C:'


The error is always the same. I know that I am editing the correct BCD as if I disable Metro bootloader in EasyBCD, the error is displayed in the Legacy Bootloader.


I assume that this is where my issue is, as far as i can tell the bootloader is looking for winload.efi in the EFI partition, not in the BOOTCAMP partition.


This is just what I can gather. Do you by any chance have a BCD file from a booting PC of similar congifuration that i could use to compare with my machine or know where i could find one ?


Or do you have any further ideas? ... I'm starting to loose hope 😟


Thanks again,

Cathal.

Jan 6, 2016 11:12 AM in response to Loner T

Thank you for that. I look forward to seeing it. I re-enabled the Metro bootloader afterwards, it was just a test to ensure that editing my BCD actually was having an effect, and I wasn't editing some other file.


I still find it curious that I cannot mount the EFI partition in diskpart. It only shows the BOOTCAMP volume, even though it reports the disk itself as being full.

I double checked to make sure the EFI partition is in FAT32 and not some other format. Why isn't the volume showing in diskpart?


Maybe there is a partition table issue?


Surely if we can manage to mount the EFI partition the fix to this should be simple?


EDIT :


The 'original' BCD I showed above Is the one I created using rebuild BCD when booted from the USB stick and copied across as detailed above, I stupidly don't have a copy of the actual original.


I got the idea to replace the values from 'unknown' to 'boot' and 'partition=C:' from both information I found online and from referencing the BCD on my main workstation pc, however that PC does not use EFI boot.

0xc000000e Error on Windows after Partition Resize

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