rabbasad

Q: Boot Camp Partition Won't Launch After HD Resize in OS X 10.9.5

Hi,

 

I resized my OS X partition and now my Boot Camp instance won't launch.  I'm hoping @Loner T can help me with this.

 

Last login: Tue May  5 10:58:36 on console

MacUsers-MacBook-Air-65:~ rdawson$ diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *121.3 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:                  Apple_HFS Macintosh HD            42.2 GB    disk0s2

   3:       Microsoft Basic Data                         60.0 GB    disk0s3

/dev/disk1

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:     FDisk_partition_scheme                        *62.1 GB    disk1

   1:             Windows_FAT_32 ADATA UFD               62.1 GB    disk1s1

 

---

 

MacUsers-MacBook-Air-65:~ rdawson$ diskutil cs list

No CoreStorage logical volume groups found

 

---

 

MacUsers-MacBook-Air-65:~ rdawson$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

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 236978175

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

   82825888   36965728       

  119791616  117184512      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  236976128       2015       

  236978143         32         Sec GPT table

  236978175          1         Sec GPT header

 

---

 

MacUsers-MacBook-Air-65:~ rdawson$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

Signature: 0xAA55

         Starting       Ending

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

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

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

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

 

---

 

THANKS IN ADVANCE FOR YOUR HELP WITH THIS

MacBook Air (11-inch Late 2010)

Posted on May 5, 2015 8:22 AM

Close

Q: Boot Camp Partition Won't Launch After HD Resize in OS X 10.9.5

  • All replies
  • Helpful answers

Page 1 of 3 last Next
  • by Loner T,Solvedanswer

    Loner T Loner T May 5, 2015 8:57 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 8:57 AM in response to rabbasad

         409640   82416248      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC

       82825888   36965728       

      119791616  117184512      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

     

    1. This Gap between GPT2 and GPT3 is where a 'lost' NTFS partition should exist. Can you use Boot Camp missing after upgrade as a reference, and download Testdisk and GPT Fdisk and start a partition search using Testdisk?

     

    Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

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

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

     

    2. This is not the typical MBR. Also you are missing Recovery HD, but it does not impact the Windows/OSX. Command+R will start Internet Recovery instead of Local Recovery.

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:14 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 9:14 AM in response to Loner T

    Hi, I have all those tools at my disposal; please advise regarding next steps and thanks!

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:16 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 9:16 AM in response to Loner T

    I'm reviewing the reference link you provided now. Thanks...

  • by Loner T,

    Loner T Loner T May 5, 2015 9:22 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 9:22 AM in response to rabbasad

    This should help getting started with Testdisk - http://imgur.com/a/PjmnK.

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:27 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 9:27 AM in response to Loner T

    Based on what you have seen, is it reasonable that I may be able to correct this.  I also have Stellar Phoenix Mac Data Recovery, but the files that it recovers don't open.  I'll begin the Test disk procedure now...  THANKS

  • by Loner T,

    Loner T Loner T May 5, 2015 9:30 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 9:30 AM in response to rabbasad

    I have tried Stellar Phoenix and have not had much luck with it. The Testdisk can take a while, but it is very successful in many cases.

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:41 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 9:41 AM in response to Loner T

    Ok, I'm getting it up and running now... Stellar can see all the files, but they won't open...

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:49 AM in response to rabbasad
    Level 1 (0 points)
    May 5, 2015 9:49 AM in response to rabbasad

    Ok, scan is done:

     

    TestDisk 7.0, Data Recovery Utility, April 2015

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/rdisk0 - 121 GB / 113 GiB - 236978176 sectors (RO)

     

    The harddisk (121 GB / 113 GiB) seems too small! (< 181 GB / 168 GiB)

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

     

    The following partition can't be recovered:

         Partition               Start        End    Size in sectors

    >  MS Data                236976127  354160638  117184512

     

     

    PLEASE ADVISE...

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:50 AM in response to rabbasad
    Level 1 (0 points)
    May 5, 2015 9:50 AM in response to rabbasad

    Second Screen:

     

    TestDisk 7.0, Data Recovery Utility, April 2015

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

     

    Disk /dev/rdisk0 - 121 GB / 113 GiB - 236978176 sectors (RO)

         Partition               Start        End    Size in sectors

    >P EFI System                    40     409639     409600 [EFI]

    P Mac HFS                   409640   82825887   82416248

    D MS Data                 88301568  236976120  148674553

    D MS Data                119791616  236976127  117184512

     

     

     

     

     

     

     

     

    Structure: Ok.  Use Up/Down Arrow keys to select partition.

    Use Left/Right Arrow keys to CHANGE partition characteristics:

                    P=Primary  D=Deleted

    Keys A: add partition, L: load backup, T: change type, P: list files,

         Enter: to continue

    FAT32, blocksize=512, 209 MB / 200 MiB

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 9:55 AM in response to rabbasad
    Level 1 (0 points)
    May 5, 2015 9:55 AM in response to rabbasad

    TestDisk 7.0, Data Recovery Utility, April 2015

    Christophe GRENIER <grenier@cgsecurity.org>

    http://www.cgsecurity.org

         MS Data                 88301568  236976120  148674553

    Directory /

                                                       Previous

    >dr-xr-xr-x     0     0         0 17-Mar-2015 14:39 Program Files

    dr-xr-xr-x     0     0         0 29-Apr-2015 16:15 Program Files (x86)

    dr-xr-xr-x     0     0         0 23-Apr-2015 18:52 ProgramData

    dr-xr-xr-x     0     0         0 27-May-2014 20:19 Recovery

    dr-xr-xr-x     0     0         0 28-Sep-2014 17:00 SCAN Direct

    dr-xr-xr-x     0     0         0  1-May-2015 01:21 System Volume Information

    dr-xr-xr-x     0     0         0 27-May-2014 20:19 Users

    dr-xr-xr-x     0     0         0 17-Apr-2015 12:19 Windows

    dr-xr-xr-x     0     0         0 24-Apr-2015 09:06 Work

    -r--r--r--     0     0      8192 28-May-2014 04:09 BOOTSECT.BAK

    -r--r--r--     0     0      2064 27-May-2014 20:28 RHDSetup.log

  • by Loner T,

    Loner T Loner T May 5, 2015 10:01 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 10:01 AM in response to rabbasad

    Using the values from your screens, here is table. In your case, there is not GPT3 (Recovery HD), so I will use GPT2 as base.

     

    GPT 2 StartGPT 2 SizeGPT 2 EndNTFS StartSector OffsetNTFS SizeNTFS EndSector Offset (MB)
    4096408241624882825888883015685475680148674553236976120 2,674

     

    There is a gap of ~2.6GB. Is this the difference during your resizing?

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 10:17 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 10:17 AM in response to Loner T

    Yes.... Should I proceed to the next step? Please advise and thanks....

  • by Loner T,

    Loner T Loner T May 5, 2015 10:34 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 10:34 AM in response to rabbasad

    Are you comfortable using the referenced thread and substitute values in steps 7 and 8 with 88301568 and 148674553 of the first set of Gdisk steps? If you are, please go ahead.

     

    The second set of Gdisk steps also need to be modified to use 2 3 rather than 2 3 4 and the corresponding changes.

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 10:37 AM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 10:37 AM in response to Loner T

    I think I can handle that... I'll proceed now and report progress! Thanks!

Page 1 of 3 last Next