mcarriere

Q: Boot issues after installing Windows 10 via Bootcamp

This morning I installed Windows 10 via Bootcamp in El Capitan.

 

During the windows installation, the only thing I needed to do was format the "BOOTCAMP" drive, and I was able to complete the Windows 10 installation. After awhile I went back to boot into OSX. When I selected the drive, I received the circle with a diagonal line through it, and then the system booted back into Windows.

 

After that, I rebooted into Internet Recovery (CMD + R), and ran disk utility to repair both the OSX volume, and the entire disk. After doing this, and rebooting, I am getting a folder with a question mark. Both partitions are still visible in disk utility, so I'm quite confident that no data has been lost, but there doesn't seem to be an easy way to fix this, as no amount of "Repair Disk" clicking seems to be working.

 

I'm comfortable using the terminal, and have used gdisk on other installations before to repair broken windows partitions after a shoddy bootcamp install. Can I get some direction as to what I need to do next? Not being able to get in to either of my partitions does make this a bit harder -- will I have to download gdisk from another computer and mount the usb drive via the terminal?

 

Any help or advice going forward would be appreciated.

MacBook Pro (Retina, 15-inch, Late 2013), OS X El Capitan (10.11)

Posted on Oct 14, 2015 10:02 AM

Close

Q: Boot issues after installing Windows 10 via Bootcamp

  • All replies
  • Helpful answers

Previous Page 2
  • by mcarriere,

    mcarriere mcarriere Oct 14, 2015 6:00 PM in response to Loner T
    Level 1 (0 points)
    Oct 14, 2015 6:00 PM in response to Loner T
    ZWONK:Shared michael$ diskutil list
    /dev/disk0 (internal, physical):
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            598.4 GB   disk0s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk0s3
       4:       Microsoft Basic Data BOOTCAMP                401.3 GB   disk0s4
    ZWONK:Shared michael$ 
    
    
    ZWONK:Shared michael$ sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
    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 48 c2 45  |........?....H.E|
    00000020  00 00 00 00 80 00 80 00  ff 97 b8 2e 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  87 b2 23 aa df 23 aa 5e  |..........#..#.^|
    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  |............
    

    Do you think the failure during all this had anything to do with the fact that I was originally using FileVault on my drive?

  • by Loner T,

    Loner T Loner T Oct 14, 2015 6:01 PM in response to mcarriere
    Level 7 (24,795 points)
    Safari
    Oct 14, 2015 6:01 PM in response to mcarriere

    Can you post the current GPT?

  • by mcarriere,

    mcarriere mcarriere Oct 14, 2015 6:04 PM in response to Loner T
    Level 1 (0 points)
    Oct 14, 2015 6:04 PM in response to Loner T

    Yeah, sorry about that:

    ZWONK:Shared michael$ sudo gpt -vv -r show /dev/disk0
    gpt show: /dev/disk0: mediasize=1000555581440; sectorsize=512; blocks=1954210120
    gpt show: /dev/disk0: PMBR at sector 0
    gpt show: /dev/disk0: Pri GPT at sector 1
    gpt show: /dev/disk0: Sec GPT at sector 1954210119
           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  1168680384      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
      1169090024     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      1170359560         760         
      1170360320   783849472      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      1954209792         295         
      1954210087          32         Sec GPT table
      1954210119           1         Sec GPT header
    ZWONK:Shared michael$ 
    
  • by Loner T,

    Loner T Loner T Oct 14, 2015 6:10 PM in response to mcarriere
    Level 7 (24,795 points)
    Safari
    Oct 14, 2015 6:10 PM in response to mcarriere

    This GPT is identical from a partition sectors perspective as the GPT posted in the fifth post on first page. The significant difference is the CS, which was a result of FileVault2. Can you rebuild the MBR to match this GPT using Gdisk and 2 3 4 and test if Windows will come up? You may see BCD errors, which Bootrec.exe  should be able to repair.

  • by mcarriere,

    mcarriere mcarriere Oct 14, 2015 8:09 PM in response to Loner T
    Level 1 (0 points)
    Oct 14, 2015 8:09 PM in response to Loner T

    I'm going to temporarily put this issue on hold. I ended up upgrading my external USB drive to El Capitan, which in turn didn't enable me to use gdisk anymore. Couldn't figure out how to do this without gdisk, and couldn't find out how get it running on El Capitan easily, so I instead went forward with the DVD burning, and tried to do a wipe/install. Running the installation off of DVD caused the error where it stops at the end of the installation and says that it can't alter the boot configuration and fails.

     

    I've lost an entire day of work over this, I'm going to put this issue to rest for the time being.

     

    Thanks for the help. I may try a couple more things, and I'll post an update if I discover anything.

  • by Loner T,Solvedanswer

    Loner T Loner T Oct 15, 2015 4:06 AM in response to mcarriere
    Level 7 (24,795 points)
    Safari
    Oct 15, 2015 4:06 AM in response to mcarriere

    mcarriere wrote:

     

    I'm going to temporarily put this issue on hold. I ended up upgrading my external USB drive to El Capitan, which in turn didn't enable me to use gdisk anymore. Couldn't figure out how to do this without gdisk, and couldn't find out how get it running on El Capitan easily,

    ELC has System Integrity Protection enabled by default. To disable it temporarily for diagnostics purposes, (this is the correct version of the nvram command you referenced earlier).

         a. Boot into Local Recovery. Power down your Mac, power it back up, and hold the Command+R.

         b. Run Utilities -> Terminal

         c. Type csrutil disable

         d. Exit Terminal

         e. Reboot normally.

     

    so I instead went forward with the DVD burning, and tried to do a wipe/install. Running the installation off of DVD caused the error where it stops at the end of the installation and says that it can't alter the boot configuration and fails.

     

    I've lost an entire day of work over this, I'm going to put this issue to rest for the time being.

     

    Thanks for the help. I may try a couple more things, and I'll post an update if I discover anything.

    Inability to write the BCD can be due to several different issues. Run DU and Repair Disk when you are in Local Recovery for the previous set of steps. You can also boot in Mac Safe Mode and boot back normally which can fix underlying Disk Issues.

  • by mcarriere,

    mcarriere mcarriere Oct 15, 2015 11:51 AM in response to Loner T
    Level 1 (0 points)
    Oct 15, 2015 11:51 AM in response to Loner T

    Thank you very much. After all of this, yesterday I:

    * Removed FileVault encryption

    * Removed my Windows Partition, then repartitioned with Boot Camp Assistant.

    * Tried to install windows, formatted the drive as NTFS, then failed installation.

    * Booted my computer into safe mode and then restarted

    * Booted my computer into network recovery, and then ran a "Repair Disk" on the main disk (not my Macintosh HD partition.)

    * Reinstalled via the EFI installation.

     

    And everything there on out was a success. I was able to get back to both operating systems without any issues. I'm going to try to put FileVault 2 encryption back on now. (The coast seems clear...)

Previous Page 2