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

Previous Page 2 of 3 last Next
  • by rabbasad,

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

    I'm not deleting part 4 (step number 4) so which part 1-3 should I delete? It's pretty obvious, but I want to be absolutely sure.

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640        82825887   39.3 GiB    AF00  _DS_DEV_DISK_X_

       3       119791616       236976127   55.9 GiB    0700  BOOTCAMP

  • by rabbasad,

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

    I'm not deleting part 4 (step number 4) so which part 1-3 should I delete? It's pretty obvious, but I want to be absolutely sure.

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640        82825887   39.3 GiB    AF00  _DS_DEV_DISK_X_

       3       119791616       236976127   55.9 GiB    0700  BOOTCAMP

  • by Loner T,

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

    You will need to delete part 3 (Bootcamp), and recreate it. As an aside, GPT2 has a strange name.

  • by rabbasad,

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

    Hi, wanted to make sure... I'll do it right now... Thanks

  • by rabbasad,

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

    I'm getting unused partition spaces found... and recovery transformation command...

     

    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

    just hit the Enter key at the below prompt and your MBR partition table will

    be untouched.

     

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

    added to the hybrid MBR, in sequence: 2 4

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

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF): n

    Set the bootable flag? (Y/N): n

     

    GPT partition #4 does not exist or is too big; skipping.

     

    Unused partition space(s) found. Use one to protect more partitions? (Y/N): y

     

    PLEASE ADVISE...

    Note: Default is 0xEE, but this may confuse Mac OS X.

    Enter an MBR hex code (default EE): 0

    Enter an MBR hex code (default EE): o

     

    Recovery/transformation command (? for help):

  • by rabbasad,

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

    MacUsers-MacBook-Air-65:~ rdawson$ Sudo gdisk /dev/disk0

    GPT fdisk (gdisk) version 1.0.0

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Partition table scan:

      MBR: protective

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with protective MBR; using GPT.

     

    Command (? for help): p

    Disk /dev/disk0: 236978176 sectors, 113.0 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 756C6ED7-B457-4155-9658-5FB5808CDC7B

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 236978142

    Partitions will be aligned on 8-sector boundaries

    Total free space is 5477708 sectors (2.6 GiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640        82825887   39.3 GiB    AF00  _DS_DEV_DISK_X_

       3        88301568       236976120   70.9 GiB    0700  Microsoft basic data

     

    Command (? for help): r

     

    Recovery/transformation command (? for help): h

     

    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

    just hit the Enter key at the below prompt and your MBR partition table will

    be untouched.

     

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

    added to the hybrid MBR, in sequence: 2 3

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

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF): n

    Set the bootable flag? (Y/N): n

     

    Creating entry for GPT partition #3 (MBR partition #3)

    Enter an MBR hex code (default 07): y

    Set the bootable flag? (Y/N): y

     

    Unused partition space(s) found. Use one to protect more partitions? (Y/N):

  • by Loner T,

    Loner T Loner T May 5, 2015 11:12 AM in response to rabbasad
    Level 7 (24,307 points)
    Safari
    May 5, 2015 11:12 AM in response to rabbasad
    Enter an MBR hex code (default 07): y

    Should be 07 not 'y'.

  • by rabbasad,

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

    THERE IS A GLITCH SOMEWHERE IN MY STEPS... AND HOW DO I ANSER THE Unused Partition space(s) found. Use one to protect more partitions? (Y/N) question?  ALMOST THERE! THANKS!

     

     

    Command (? for help): p

    Disk /dev/disk0: 236978176 sectors, 113.0 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): 756C6ED7-B457-4155-9658-5FB5808CDC7B

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 236978142

    Partitions will be aligned on 8-sector boundaries

    Total free space is 5477708 sectors (2.6 GiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640        82825887   39.3 GiB    AF00  _DS_DEV_DISK_X_

       3        88301568       236976120   70.9 GiB    0700  Microsoft basic data

     

    Command (? for help): r

     

    Recovery/transformation command (? for help): h

     

    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

    just hit the Enter key at the below prompt and your MBR partition table will

    be untouched.

     

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

    added to the hybrid MBR, in sequence: 2 3

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

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF): 07

    Set the bootable flag? (Y/N): y

     

    Creating entry for GPT partition #3 (MBR partition #3)

    Enter an MBR hex code (default 07): 07

    Set the bootable flag? (Y/N): y

     

    Unused partition space(s) found. Use one to protect more partitions? (Y/N):

  • by rabbasad,

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

    WHAT SHOULD MY ANSWER BE FOR THE PART # 2 MBR Hex Code be? Default is AF AND SHOULD IT BE BOOTABLE?

     

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF):

    Set the bootable flag? (Y/N): n

  • by rabbasad,

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

    Just noticed your sample...

     

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

     

    Creating entry for GPT partition #2 (MBR partition #2)

    Enter an MBR hex code (default AF): Press Enter/Return

    Set the bootable flag? (Y/N): N

     

    Creating entry for GPT partition #3 (MBR partition #3)

    Enter an MBR hex code (default AB): Press Enter/Return

    Set the bootable flag? (Y/N): N

     

    Creating entry for GPT partition #4 (MBR partition #4)

    Enter an MBR hex code (default 07): Press Enter/Return

    Set the bootable flag? (Y/N): Y

  • by Loner T,

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

    Say n to protect additional partitions.

  • by rabbasad,

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

    So.... Ran my test and here are the results...

     

    Test 1 - Does Bootcamp Volume show up in Finder? YES

     

    Test 2 - Can you see files in Bootcamp Volume? NO

     

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

     

    Test 4 - If Test 3 is successful, select Bootcamp and Click Restart. TEST 3 FAILED SO I DID NOT PROCEED TO TEST 4....

     

    Thanks!

  • by rabbasad,

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

    CORRECTION... THEY ARE SHOWING NOW... I CAN NOW PROCEED TO TEST 4!!! RESULTS SHORTLY!!!

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 12:03 PM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 12:03 PM in response to Loner T

    The machine restarts to Windows but is saying I need to run my Windows 7 repair disk... Trying that now... Open to any advice... I didn't try to grab any files via OSX yet...  The Windows 7 start up disk appears to be correcting problems and restarting into my boot camp instance...

     

    IN FACT, I'M IN! VERY HELPFUL INFORMATION LONER T, YOU ARE CERTIFIABLE!!! THANKS A MILLION... YOU SHOULD WRITE A BOOK... IF YOU NEED A GHOST WRITER, I"M YOUR GUY!!!! THANKS, SIR!!! I LEARNED A LOT

  • by rabbasad,

    rabbasad rabbasad May 5, 2015 12:01 PM in response to Loner T
    Level 1 (0 points)
    May 5, 2015 12:01 PM in response to Loner T

    GREAT SOLUTION TO A TERRIBLE PROBLEM... I HAVE LEARNED A LOT AND A LOT OF LESSONS... LONER T IS THE REAL DEAL... HEARTY THANKS! 

Previous Page 2 of 3 last Next