Townshend84

Q: Bootcamp no longer works after adding partition via Windows 7

I needed a D: drive in Windows and shrunk the system (C:) partition and added another partition intended to be a secondary drive in Windows.  After rebooting Windows throws a BSOD and I can't even select OS X as a bootable option.  Is anyone able to point me in the right direction on how to fix?  Thank you!

MacBook Air (13-inch Mid 2013), OS X Yosemite (10.10.2)

Posted on Mar 31, 2015 6:11 PM

Close

Q: Bootcamp no longer works after adding partition via Windows 7

  • All replies
  • Helpful answers

  • by Loner T,

    Loner T Loner T Mar 31, 2015 7:25 PM in response to Townshend84
    Level 7 (24,115 points)
    Safari
    Mar 31, 2015 7:25 PM in response to Townshend84

    This is not allowed on a Mac with Bootcamp on a single internal disk.

     

    From Boot Camp 5.1: Frequently asked questions - Apple Support

    Can I resize the Windows partition after installing Windows?
    No. Back up your important files, then use Boot Camp Assistant to delete the old partition and create a new one.

     

    Can you post the output of the following Terminal commands?

     

    diskutil list

    diskutil cs list

    sudo gpt -vv -r show /dev/disk0

    sudo fdisk /dev/disk0

     

    The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

  • by Townshend84,

    Townshend84 Townshend84 Mar 31, 2015 7:53 PM in response to Loner T
    Level 1 (0 points)
    Mar 31, 2015 7:53 PM in response to Loner T

    I learned the FAQ the hard way

     

    diskutil list

    /dev/disk0

    #:          TYPE NAME                    SIZE          IDENTIFIER

    0:          FDisk_parition_scheme     *251.0 GB     disk0

    1:          Windows_LDM                  77.0GB        disk0s1

    2:          Windows_LDM                  94.5GB        disk0s2

    3:          Windows_LDM                  79.5GB        disk0s3

    /dev/disk1

    #:          TYPE NAME                    SIZE          IDENTIFIER

    0:          Apple_partition_scheme     *1.3 GB        disk1

    1:          Apple_partition_map          *30.7 KB       disk1s1

    2:          Apple__HFS OS X Base System     *1.3 GB        disk1s2


    From there it does /dev/disk2, /dev/disk3, until /dev/disk12 usually like:


    #:          TYPE NAME                    SIZE          IDENTIFIER

    0:          untitled                              *524.3 KB        disk2

     

    diskutil cs list

    No CoreStorage logical volume groups found

     

    gpt -vv -r show /dev/disk0

    gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752

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

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

    gpt show: /dev/disk0: Bad CRC in GPT table at sector 2

    start          size          index          contents

    0               1                                MBR

    1               150392831   1             MBR part 66

    150392832 184604672   2             MBR part 66

    334997504 155235200   3             MBR part 66

    490232704 2048

     

    fdisk /dev/disk0

    DIsk: /dev/disk0               geometry: 30515/255/63  [490234752 sectors]

    Signature:  0xAA55

                        Starting                    Ending

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

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

    1:     42    0       0        2        -    1023  254     63      [          1    -   150392831]   LinuxSwap DR

    2:     42   1023 254     63       -    1023  254     63      [150392832 -   184604672]  LinuxSwap DR

    3:     42   1023 254     63       -    1023  254     63      [334997504 -   155235200]  LinuxSwap DR

    *4:     07    0       0        0        -    0       0        0      [          0    -                    0]  HPFS/QNX/AUX

  • by Loner T,

    Loner T Loner T Apr 1, 2015 5:36 AM in response to Townshend84
    Level 7 (24,115 points)
    Safari
    Apr 1, 2015 5:36 AM in response to Townshend84

    The output does not look very promising for recovery.

     

    Please download GPT Fdisk http://sourceforge.net/projects/gptfdisk/  and Testdisk http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step?