Mugen8

Q: Bootcamp won't mount or boot.

I'm running Mavericks 10.9.5 on a late 2011 Macbook Pro. My bootcamp partition has been unable to mount or boot and I'm not sure how to repair it.

 

diskutil list

 

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Deathbook               335.2 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data Windeath                161.1 GB   disk0s4

 

When I type diskutil cs list into terminal I get No CoreStorage logical volume groups found.

 

sudo gpt -vv -r show /dev/disk0


gpt show: /dev/disk0: mediasize=500107862016; sectorsize=512; blocks=976773168

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 976773167

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

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

  656311144    5831832        

  662142976  314630144      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  976773120         15        

  976773135         32         Sec GPT table

  976773167          1         Sec GPT header

 

sudo fdisk /dev/disk0

 

Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]

Signature: 0xAA55

         Starting       Ending

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

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

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

*2: 07 1023 254  63 - 1023 254  63 [ 662142976 -  314630144] 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     

Posted on Jan 31, 2015 10:42 AM

Close

Q: Bootcamp won't mount or boot.

  • All replies
  • Helpful answers

Previous Page 2 of 3 last Next
  • by Mugen8,

    Mugen8 Mugen8 Feb 2, 2015 5:58 AM in response to Loner T
    Level 1 (0 points)
    Feb 2, 2015 5:58 AM in response to Loner T

    The actual Windows partition was not resized, when the problem occurred I did use Disk Utility to resize my OSX partition to try and update the MBR; I gave it some unallocated space on the HD, but this did not affect or change the size of the Windows partition.

  • by Loner T,

    Loner T Loner T Feb 2, 2015 7:16 AM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 2, 2015 7:16 AM in response to Mugen8

    Mugen8 wrote:

     

    The actual Windows partition was not resized, when the problem occurred I did use Disk Utility to resize my OSX partition to try and update the MBR; I gave it some unallocated space on the HD, but this did not affect or change the size of the Windows partition.

    It causes the GPT and MBR to be out of sync, as you can see, that the MBR has 2 entries, but GPT has 4.

     

    You have two separate issues.

     

    1. In your NTFS/DU screen, the Apple NTFS driver cannot read the Windows volume (my screen shot show size and files). It is likely that KEXTs (Kernel Extensions) are not valid, even if the third-party software has been uninstalled. I suggest re-installing OS X using either Local Recovery or Internet Recovery. If you choose to do this, please see OS X: About OS X Recovery - Apple Support and specifically, the following part...

    Which version of OS X is installed by OS X Recovery?

    • If you use the Recovery System stored on your startup drive to reinstall OS X, it installs the most recent version of OS X previously installed on this computer.
    • If you use Internet Recovery to reinstall OS X, it installs the version of OS X that originally came with your computer. After installation is finished, use the Mac App Store to install related updates or later versions of OS X that you have previously purchased.

     

    2. I would suggest using GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and synchronizing the MBR with GPT, and then see if Windows shows up in Startup Disk. If it does, then we can go further.

  • by Mugen8,

    Mugen8 Mugen8 Feb 2, 2015 8:35 AM in response to Loner T
    Level 1 (0 points)
    Feb 2, 2015 8:35 AM in response to Loner T

    Okay, I have re-installed mavericks using a local backup. I've also downloaded GPT Fdisk, how do I use this tool to synchronize the MBR and GPT?

  • by Loner T,

    Loner T Loner T Feb 2, 2015 3:33 PM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 2, 2015 3:33 PM in response to Mugen8

    As long as the backup from which you re-installed Mavericks does not contain NTFS-3, you should be fine.

     

    Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR.


    Use defaults for other questions (Press Return/Enter for questions similar to Enter an MBR hex code (default AF):). The only changes that are being made are to boot ability flags.



    1. Sudo gdisk /dev/disk0
    2. P  (Print list of parts)
    3. R   (Recover)
    4. H (chooses Hybrid)
    5. Partitions numbers to be hybridized: 2 3 4
    6. Y (Good for GRUB question)
    7. N (part 2 boot flag)
    8. N (part 3 boot flag)
    9. Y  (part 4 boot flag make NTFS bootable partition)
    10. W  (Write the new MBR)
    11. Y    (Yes! write the new MBR)
    12. Reboot

     

    Test 1 - Does Bootcamp Volume show up in Finder?

    Test 2 - Can you see files in Bootcamp Volume?

    Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?

    Test 4 - If Test 3 is successful, select Bootcamp and Click Restart

     

    If you see a hanging underline cursor at the top left on a black screen, and it does not proceed further, you may need Windows Startup Repair or a tool called EasyBCD.

  • by Mugen8,

    Mugen8 Mugen8 Feb 3, 2015 9:56 AM in response to Loner T
    Level 1 (0 points)
    Feb 3, 2015 9:56 AM in response to Loner T

    The restored backup did not have NTFS-3 installed.

     

    I followed your terminal instructions for rebuilding the MBR, and terminal said talks completed successfully, but saw no changes after rebooting.

     

    The Bootcamp volume is still not showing up in startup disk, finder, or able to mount in disk utility.

  • by Loner T,

    Loner T Loner T Feb 3, 2015 10:20 AM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 3, 2015 10:20 AM in response to Mugen8

    Can you install OSX on an external disk, if possible, using OS X: Installing OS X on an external volume - Apple Support, and boot from it, and check System Preferences -> Startup Disk?

  • by Mugen8,

    Mugen8 Mugen8 Feb 5, 2015 8:51 AM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 8:51 AM in response to Loner T

    Sorry for the delay, have been busy.

     

    I installed OSX on an external drive and looked at Startup Disk - the bootcamp partition does not appear.

     

    Screen Shot 2015-02-05 at 11.45.05 AM.png

    I'm don't have a clue as to what caused this, but for some reason the Bootcamp volume is now mounting. Unfortunately, it seems all/most of my files are gone - I had used roughly 85 gigs of space whereas now it says only 7 are used.

     

    Screen Shot 2015-02-05 at 11.49.12 AM.pngScreen Shot 2015-02-05 at 11.49.21 AM.png

  • by Loner T,

    Loner T Loner T Feb 5, 2015 8:59 AM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 5, 2015 8:59 AM in response to Mugen8

    Disk Utility may be reporting it incorrectly due to Spotlight indexing. If you right-click on the Bootcamp/Windows volume and click on Get Info, what do you get?

  • by Mugen8,

    Mugen8 Mugen8 Feb 5, 2015 9:02 AM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 9:02 AM in response to Loner T

    That a majority of the drive is empty.

     

    Screen Shot 2015-02-05 at 12.01.35 PM.png

  • by Loner T,

    Loner T Loner T Feb 5, 2015 9:23 AM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 5, 2015 9:23 AM in response to Mugen8

    1. This tells me that the original OSX Installation (which used to have NTFS-3) still has some KEXTs which are not part of the OSX installation/drivers that come from Apple.

    2. If Windows can be brought back, a chkdsk may be able to fix MFT corruption, and may show you more files, then what you can see. You may want to download Testdisk (http://www.cgsecurity.org/wiki/TestDisk) and inspect this partition and use 'P - List files' to look.

    4. The only modifications we made were to the Hybrid MBR being synced with GPT, which should not change the content of the partition.

  • by Mugen8,

    Mugen8 Mugen8 Feb 5, 2015 10:06 AM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 10:06 AM in response to Loner T

    Where would I find the interfering KEXTs? Are they PreferencesPanes are so

    Could I use a disk recovery program to recover the partition? (Like DataRescueor DiskDrill)

     

    I downloaded Testdisk and get this when analyzing the main HD.

     

    Disk /dev/rdisk0 - 500 GB / 465 GiB - 976773168 sectors (RO)

    Current partition structure:

         Partition                  Start        End    Size in sectors

     

    1 P EFI System                    40     409639     409600 [EFI System Partitio

    2 P Mac HFS                   409640  655041607  654631968 [Deathbook]

    3 P Mac Boot               655041608  656311143    1269536 [Recovery HD]

    Warning: number of heads/cylinder mismatches 81 (NTFS) != 1 (HD)

    Warning: number of sectors per track mismatches 63 (NTFS) != 1 (HD)

    4 P MS Data                662142976  976773119  314630144 [BOOTCAMP]

  • by Loner T,

    Loner T Loner T Feb 5, 2015 1:25 PM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 5, 2015 1:25 PM in response to Mugen8

    Select the MS Data entry and press Continue.

  • by Mugen8,

    Mugen8 Mugen8 Feb 5, 2015 2:51 PM in response to Loner T
    Level 1 (0 points)
    Feb 5, 2015 2:51 PM in response to Loner T

    Disk /dev/disk0 - 500 GB / 465 GiB - 976773168 sectors (RO)

     

    The harddisk (500 GB / 465 GiB) seems too small! (< 1144 GB / 1066 GiB)

    Check the harddisk size: HD jumpers settings, BIOS detection...

     

    The following partitions can't be recovered:

         Partition               Start        End    Size in sectors

    >  HFS                    976773124  978320331    1547208

       FAT16 >32M            2013521207 2236238326  222717120

  • by Loner T,

    Loner T Loner T Feb 5, 2015 2:58 PM in response to Mugen8
    Level 7 (24,795 points)
    Safari
    Feb 5, 2015 2:58 PM in response to Mugen8

    These entries seem incorrect. The disk is too small for these partition headers. Do you have a Deeper Search option.

  • by Mugen8,

    Mugen8 Mugen8 Feb 6, 2015 2:32 PM in response to Loner T
    Level 1 (0 points)
    Feb 6, 2015 2:32 PM in response to Loner T

    This is what I see when I select deep search of the bootcamp volume

     

    check_FAT: can't read FAT boot sector

    Invalid FAT boot sector

    0 D FAT16 <32M            2586005443 3001446599  415441157

      FAT16 <32M            2586005443 3001446599  415441157

    Invalid NTFS or EXFAT boot

    0 D HPFS - NTFS           1082076733 1476144760  394068028

      HPFS - NTFS           1082076733 1476144760  394068028

    Invalid FAT boot sector

    0 D FAT16 >32M             825557997 3982361319 3156803323

      FAT16 >32M             825557997 3982361319 3156803323

    check_FAT: can't read FAT boot sector

    Invalid FAT boot sector

    0 D FAT16 >32M            3266084522 4699954861 1433870340

      FAT16 >32M             825557997 3982361319 3156803323

Previous Page 2 of 3 last Next