hkpanda

Q: Recovering Bootcamp partition after resize

As suggested here, here's the outputs:

 

> diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *240.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Mac Home                119.6 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data Windows 7               119.6 GB   disk0s4

 

> sudo fdisk /dev/disk0

Disk: /dev/disk0          geometry: 29185/255/63 [468862128 sectors]

Signature: 0xAA55

         Starting       Ending

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

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

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

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

 

> sudo gpt -r -vv show disk0

gpt show: disk0: mediasize=240057409536; sectorsize=512; blocks=468862128

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 468862127

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

  234001088    1269544      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

  235270632       1560        

  235272192  233588736      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  468860928       1167        

  468862095         32         Sec GPT table

  468862127          1         Sec GPT header

 

And I cannot boot to Windows as the option doesn't come up in the bootloader.

MacBook Pro (15-inch Early 2011), OS X Mavericks (10.9.1)

Posted on Mar 6, 2014 12:36 PM

Close

Q: Recovering Bootcamp partition after resize

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Mar 6, 2014 12:56 PM in response to hkpanda
    Level 7 (24,869 points)
    Safari
    Mar 6, 2014 12:56 PM in response to hkpanda

    Did this W7 installation boot successfully at least once?

     

    Were any partitions resized after Bootcamp installation?

  • by hkpanda,

    hkpanda hkpanda Mar 6, 2014 1:10 PM in response to Loner T
    Level 1 (0 points)
    Mar 6, 2014 1:10 PM in response to Loner T

    Yes. What happened is that I was trying to upgrade my current SSD to a bigger one. So using Disk Utility, I restored the Mac partitions into new one.

     

    Then I used a Partiion manmager to copy WIndows partition to the new SSD. That was successful and Mac shows the Windows partition fine.

     

    Just that the bootmanager doesn't show it.

     

    I've also tried Startup Repair using Windows Installation disk which did say that there are issues with startup and that it repaired it. However, Windows still doesn't come up as an option.

  • by Loner T,

    Loner T Loner T Mar 7, 2014 4:36 AM in response to hkpanda
    Level 7 (24,869 points)
    Safari
    Mar 7, 2014 4:36 AM in response to hkpanda

    There is a procedure to create a new MBR. Your situation is similar to the referenced one as well. Can you try to create a new MBR with proper partition information as explained here - https://discussions.apple.com/thread/5641066

  • by BobRz,

    BobRz BobRz Mar 7, 2014 4:40 AM in response to hkpanda
    Level 5 (6,115 points)
    Mar 7, 2014 4:40 AM in response to hkpanda

    If you have access to the old drive, you can also try this:

     

    Use Winclone to copy the partition.

     

    Partition your new drive with Bootcamp. That will write the MBR correctly.

     

    Restore the partition to the new drive with Winclone.

  • by hkpanda,

    hkpanda hkpanda Mar 7, 2014 4:43 AM in response to Loner T
    Level 1 (0 points)
    Mar 7, 2014 4:43 AM in response to Loner T

    Thanks. Will give it a try!

  • by hkpanda,

    hkpanda hkpanda Mar 7, 2014 4:44 AM in response to BobRz
    Level 1 (0 points)
    Mar 7, 2014 4:44 AM in response to BobRz

    I tried that last night but instead I went with full install of fresh Windows (hoping to later overwrite it with partition from old HDD). Somehow, I have only WIndows showing up in Boot Manager.

     

    I'll try as you suggested. Thanks!

  • by hkpanda,

    hkpanda hkpanda Mar 7, 2014 6:59 PM in response to Loner T
    Level 1 (0 points)
    Mar 7, 2014 6:59 PM in response to Loner T

    Din't help... Don't see the option after adding partitions 2, 3, 4

  • by BobRz,

    BobRz BobRz Mar 8, 2014 2:50 AM in response to hkpanda
    Level 5 (6,115 points)
    Mar 8, 2014 2:50 AM in response to hkpanda

    With bootcamp, you can only have the Mac and bootcamp partitions. If you add more partitions, bootcamp won't work.

  • by Loner T,

    Loner T Loner T Mar 9, 2014 5:20 AM in response to hkpanda
    Level 7 (24,869 points)
    Safari
    Mar 9, 2014 5:20 AM in response to hkpanda

    hkpanda wrote:

     

    I tried that last night but instead I went with full install of fresh Windows (hoping to later overwrite it with partition from old HDD).

    Moving Windows installations has licensing implications, and is not supported. BobRz's Winclone solution should work, some have run into issues though.

     

     

    hkpanda wrote:

     

    Somehow, I have only WIndows showing up in Boot Manager.

    Can you post the output of commands in the first message of this thread so the current state can be analysed?