kenfromCa

Q: Boot Camp Partition Missing after shrinking Mac Partition

Hello Chris I have a OSX 10.9.2 running all upgrades, Powerbook 2.3g i7 16 GB , Had a boot camp partition of 49 GB, running windows 7 all working fine.

Decided to bump the windows 7 to 100 GB. Used disk utility to decrease the mac partition to 401.6

Image of the way it is now.

The Gray part is what is from the apply done the original time.

 

Screen Shot 2014-06-28 at 10.36.52 AM.png

 

After I hit apply. I then restarted and tried to enter boot camp by holding down the altOption key as usual but only the OSX and the Recover partition where there No Windows.

NOTE: did the Windows 7 partition increase from 29 to the 49 GB before this same way and everything worked fine for over a month till i decided to double the partition to 100GB.

In the preferences the Mac Hd only shows up, no network or windows.

Network does show up when holding down altOption Key

 

Saw that you might be the best help I would like to talk to you and get your Genus going

 

After I hit apply. I then restarted and tried to enter boot camp by holding down the altOption key as usual but only the OSX and the Recover partition where there No Windows.

 

NOTE: did the Windows 7 partition increase from 29 to the 49 GB before this same way and everything worked fine for over a month till i decided to double the partition to 100GB. 2. In the preferences the Mac Hd only shows up, no network or windows. 3. Network does show up when holding down altOption Key

 

Saw that you might be the best help I would like to talk to you and get your Genus going

 

I ran the Items below as you have asked in the past.

Last login: Fri Jun 27 15:02:59 on ttys000

Kens-MacBook-Pro:~ Ken$ sudo gpt -r -v show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

gpt show: /dev/disk0: Suspicious MBR at sector 0

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

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

  786058824   95345080        

  881403904   95700992      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

  977104896        131        

  977105027         32         Sec GPT table

  977105059          1         Sec GPT header

Kens-MacBook-Pro:~ Ken$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 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 -  784379648] HFS+       

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

4: 0C 1023 254  63 - 1023 254  63 [ 881403904 -   95700992] Win95 FAT32L

Kens-MacBook-Pro:~ Ken$

 

What to do Next ?

Posted on Jun 28, 2014 11:44 AM

Close

Q: Boot Camp Partition Missing after shrinking Mac Partition

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Jul 2, 2014 7:47 AM in response to kenfromCa
    Level 7 (24,800 points)
    Safari
    Jul 2, 2014 7:47 AM in response to kenfromCa

    Resizing Windows Bootcamp using Disk Utility is not supported. Having said that, you can try using (please backup your data first, including Bootcamp partition)

     

    sudo fdisk -e /dev/disk0

    setpid 4

    07

    flag 4

    write

     

    And see if it will let you boot Windows.

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Jul 2, 2014 10:24 AM in response to Loner T
    Level 3 (555 points)
    Jul 2, 2014 10:24 AM in response to Loner T

    Yeah, good chance that will work since the NTFS volume wasn't resized. Just change the type code and active bit, and it'll work. 

     

    To reclaim the 50GB of free space, first backup Windows and OS X, then use Boot Camp Assistant to delete the Windows volume, and create a new one of the size you actually want, reinstall Windows, restore backup. Because of the free space gap it's possible Boot Camp Assistant won't actually absorb it back into the OS X volume in which case he'll have to start entirely from scratch: repartition the drive with 1 partition, reinstall OS X, use Boot Camp Assistant to create a partition for Windows, restore OS X files from backup, reinstall Windows, restore Windows file from backup.

     

    Resize the Windows partition

  • by kenfromCa,

    kenfromCa kenfromCa Jul 3, 2014 12:47 PM in response to Christopher Murphy
    Level 1 (0 points)
    Jul 3, 2014 12:47 PM in response to Christopher Murphy

    Chris I just did what Loner T said

     

    sudo fdisk -e /dev/disk0

    setpid 4

    07

    flag 4

    write

     

     

    I then restart and now I can see the windows partition after on restart and altOption down.

    But it then gives a error can't find drive or something like that.

  • by Loner T,

    Loner T Loner T Jul 3, 2014 12:50 PM in response to kenfromCa
    Level 7 (24,800 points)
    Safari
    Jul 3, 2014 12:50 PM in response to kenfromCa

    You may need to try a Windows Startup Recovery using the Windows Installation media.