Mark Bateman1

Q: Cannot reboot Bootcamp after partition mod 10.9.4

https://discussions.apple.com/thread/4144252

 

I saw that people are linking back to this thread her is my summary of information.  Running 10.9.4 with windows 7

 

Hi I get a similar problem after canning the partition map (and then removing the extra disk I created)

 

I now have 4 partitions. Windows disk is good I can open it using finder and all data is there but it won't boot up using bootcamp.

 

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Macintosh HD            277.7 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data BOOTCAMP                130.0 GB   disk0s4    <===== I can see the data from mac osx is still there and ok.

 

When I try and re-boot to bootcamp it gives me the "No bootable device --- insert boot disk and press any key" message

 

using

sudo gpt -r -vv show disk0

Password:

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

gpt show: disk0: Suspicious MBR at sector 0     <=====  This looks weird

gpt show: disk0: Pri GPT at sector 1

gpt show: 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  542286536      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

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

  543965712  178902512       

  722868224  253904896      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  976773120         15       

  976773135         32         Sec GPT table

  976773167          1         Sec GPT header

 

I tried using gdisk and creating a hybrid MBR and marked them as bootable.

 

I get this message when running GDISK

 

Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

  MBR: hybrid

  BSD: not present

  APM: not present

  GPT: present

 

Found valid GPT with hybrid MBR; using GPT.

 

using p i get

 

Number  Start (sector)    End (sector)  Size       Code  Name

   1              40          409639   200.0 MiB   EF00  EFI system partition

   2          409640       542696175   258.6 GiB   AF00  Customer

   3       542696176       543965711   619.9 MiB   AB00  Recovery HD

   4       722868224       976773119   121.1 GiB   0700  BOOTCAMP

 

Help ??  what Do i need to do to get it to boot into windows.

Posted on Aug 13, 2014 9:46 PM

Close

Q: Cannot reboot Bootcamp after partition mod 10.9.4

  • All replies
  • Helpful answers

  • by Mark Bateman1,

    Mark Bateman1 Mark Bateman1 Aug 14, 2014 4:27 AM in response to Mark Bateman1
    Level 2 (183 points)
    Servers Enterprise
    Aug 14, 2014 4:27 AM in response to Mark Bateman1

    sudo fdisk /dev/disk0

    Password:

    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 -    0   0  40 [         1 -         39] <Unknown ID>

    *2: EF    0   0  41 -   25 127  14 [        40 -     409600] <Unknown ID>

    *3: AF   25 127  15 - 1023 254  63 [    409640 -  542286536] HFS+       

    *4: AB 1023 254  63 - 1023 254  63 [ 542696176 -    1269536] Darwin Boot

  • by Loner T,

    Loner T Loner T Aug 14, 2014 4:49 AM in response to Mark Bateman1
    Level 7 (24,825 points)
    Safari
    Aug 14, 2014 4:49 AM in response to Mark Bateman1

    I will defer to Christopher on the recommendations, but on a working system, it is setup as follows. (Please ignore the Bootcamp volume name because of my experimentation). As Christopher has suggested, you will need Windows recovery after correcting the Hybrid MBR.

     

    diskutil list

    /dev/disk0

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *1.0 TB     disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:                  Apple_HFS Macintosh HD            743.7 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

       4:       Microsoft Basic Data rMBPBCMP                256.0 GB   disk0s4

     

    sudo fdisk /dev/disk0

    Password:

    Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 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: AF 1023 254  63 - 1023 254  63 [    409640 - 1452530904] HFS+       

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

    *4: 07 1023 254  63 - 1023 254  63 [1454211072 -  499998720] HPFS/QNX/AUX

  • by Christopher Murphy,Solvedanswer

    Christopher Murphy Christopher Murphy Aug 14, 2014 8:54 AM in response to Mark Bateman1
    Level 3 (555 points)
    Aug 14, 2014 8:54 AM in response to Mark Bateman1

    OK, no problem. So what you need to do is go back and recreate the hybrid MBR, and only add partitions 2, 3, 4 to the hybrid MBR. Like this;

     

    Type from one to three GPT partition numbers, separated by spaces, to be

    added to the hybrid MBR, in sequence: 2 3 4

     

    and you need to answer yes to this question:

    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): Y

     

    And you need to accept (just press return) for any question about MBR hex code, it will accept the default. And say no to making partitions 2 and 3 bootable, say yes to making 4 bootable.

  • by Mark Bateman1,

    Mark Bateman1 Mark Bateman1 Aug 14, 2014 1:46 PM in response to Christopher Murphy
    Level 2 (183 points)
    Servers Enterprise
    Aug 14, 2014 1:46 PM in response to Christopher Murphy

    I did exactly as you said.

     

    It booted but wouldn't start correctly so i then did a safe mode startup and ran chkdsk /f in a dos prompt.  It asked me to schedule NTFS check at next start i said yes and then restarted.  It did a chkdsk and started back perfectly after that.  Thanks for the help the original post is invaluable.