Scotch_Brawth

Q: Repairing Boot Camp after creating new partition

I'm running OS X 10.8 and Windows 7 x64 Pro.

 

After properly setting up Boot Camp to dual-boot Windows on my Mac mini, I decided to test whether or not it was true that creating another partition (a data partition for OS X) would interfere with Boot Camp.  Wikipedia claims it does interfere but without citing a source, whilst the Boot Camp documentation itself only specifies that the disk must be a single partition _prior_ to setup - there's no mention of whether the disk must be _kept_ that way afterwards.

 

I opened Disk Utility, reduced the size of my OS X parition from 420GB to 80GB, and created a new partition in the unallocated space.  Here's how it looks now:

/___sbsstatic___/migration-images/190/19047693-1.png

When I attempted to proceed with the process, I did receive a warning that doing this (and I quote), "may" cause problems with Boot Camp.  Seeing as it was inconclusive, I thought I'd give it a shot - nothing ventured…

 

Of course, it borked Boot Camp, otherwise I wouldn't be posting here.  Whilst OS X boots just fine, the Boot Camp partition now no longer shows up in the Startup Manager, though it does in the Startup Disk prefPane.  If I do attempt to boot into Boot Camp, I receive the following message on a black screen:

No bootable device --- insert boot disk and press any key

The advice given to someone who had this same problem was, "fix your damaged Boot Camp volume."  But I'm at a loss as to how to do that.

 

So, anyone know how to proceed now so that I can keep my partitions as is, whilst fully restoring normal Boot Camp functionality?

Mac mini (Mid 2011), Mac OS X (10.7.4)

Posted on Jul 26, 2012 11:28 PM

Close

Q: Repairing Boot Camp after creating new partition

  • All replies
  • Helpful answers

first Previous Page 93 of 102 last Next
  • by NikkuShouri,

    NikkuShouri NikkuShouri Jul 10, 2014 1:49 PM in response to Loner T
    Level 1 (0 points)
    Jul 10, 2014 1:49 PM in response to Loner T

    As requested. Windows 7 not booting after hdd swap

     

    I also updated the information in there about the 10.10 Test partition. I forgot to mention that I had deleted that. I copied that from an older window I had open by accident. I copied the current info in the thread I posted along with the additional commands you requested.

  • by kemaltalen,

    kemaltalen kemaltalen Jul 13, 2014 9:09 PM in response to NikkuShouri
    Level 1 (0 points)
    Jul 13, 2014 9:09 PM in response to NikkuShouri

    Hey guys, I'm new to using disk and I am trying to solve a boot up problem, but I'm stuck. Initially, my bootcamp partition would not show up during "holding down OPTION" boot up. I tried to remedy this by following what everybody else has been doing and downloaded gdisk. Then, I went ahead and wrote my Bootcamp partition to a hybrid MBR with the EFI in front and rebooted. The bootcamp partition showed up, but when I clicked to start Windows, the OS could not be found. Here is what I get when I start gdisk:

    sudo gdisk /dev/disk0

    GPT fdisk (gdisk) version 0.8.10

     

    Warning: Devices opened with shared lock will not have their

    partition table automatically reloaded!

    Partition table scan:

      MBR: hybrid

      BSD: not present

      APM: not present

      GPT: present

     

    Found valid GPT with hybrid MBR; using GPT.

     

    Here is what I get when I type p:

    Command (? for help): p

    Disk /dev/disk0: 488397168 sectors, 232.9 GiB

    Logical sector size: 512 bytes

    Disk identifier (GUID): CCD188D9-10EA-4398-8469-EB33E69D89E5

    Partition table holds up to 128 entries

    First usable sector is 34, last usable sector is 488397134

    Partitions will be aligned on 8-sector boundaries

    Total free space is 126900133 sectors (60.5 GiB)

     

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

       1              40          409639   200.0 MiB   EF00  EFI System Partition

       2          409640       184447631   87.8 GiB    AF00  Samsung SSD

       3       184447632       185717167   619.9 MiB   AB00  Recovery HD

       4       312616960       488396799   83.8 GiB    0700  BOOTCAMP

     

    Here is what I get when I type "sudo got -r -vv show disk0":

    kemaltalen$ sudo gpt -r -vv show disk0

    Password:

    gpt show: disk0: mediasize=250059350016; sectorsize=512; blocks=488397168

    gpt show: disk0: Suspicious MBR at sector 0

    gpt show: disk0: Pri GPT at sector 1

    gpt show: disk0: Sec GPT at sector 488397167

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

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

      185717168  126899792        

      312616960  175779840      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

      488396800        335        

      488397135         32         Sec GPT table

      488397167          1         Sec GPT header

     

    And finally, here is what I get when I type "sudo fdisk /dev/disk0":

    Disk: /dev/disk0 geometry: 30401/255/63 [488397168 sectors]

    Signature: 0xAA55

             Starting       Ending

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

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

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

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

     

     

    Sorry for the huge post, but I hope somebody can help me out here. Thanks.

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Jul 13, 2014 9:22 PM in response to kemaltalen
    Level 3 (555 points)
    Jul 13, 2014 9:22 PM in response to kemaltalen

    Please start a new thread and post the URL here so we can find it. This one is too cluttered. Also, please account for the ~62GB of free space in the GPT, it looks like OS X volume was resized but you didn't mention this.

  • by kemaltalen,

    kemaltalen kemaltalen Jul 13, 2014 9:50 PM in response to Christopher Murphy
    Level 1 (0 points)
    Jul 13, 2014 9:50 PM in response to Christopher Murphy
  • by bhargav17,

    bhargav17 bhargav17 Jul 21, 2014 1:50 AM in response to Christopher Murphy
    Level 1 (1 points)
    Jul 21, 2014 1:50 AM in response to Christopher Murphy

    Hello Christopher,

     

    First of all I would like to appreciate the awesome work you are doing supporting the community members for more then a year now ... kudos to you sir ...

     

    I hope you can help me with my issue too. I have not yet created an extra partition but i want to. So, currently i have 2 (major) partitions, macintosh hd and bootcamp ... i wish to create 2 more partitions from macintosh hd and would still like to retain my bootcamp for booting into windows 8.1. Can u plz tell me, how can i achieve that ??

     

    I thought precaution is better then cure so asking you before partitioning. Any help is appreciated. Thanks

  • by Csound1,

    Csound1 Csound1 Jul 21, 2014 3:49 AM in response to bhargav17
    Level 9 (51,151 points)
    Desktops
    Jul 21, 2014 3:49 AM in response to bhargav17

    Don't.

     

    Use an external drive for additional storage.

  • by Loner T,

    Loner T Loner T Jul 21, 2014 4:08 AM in response to bhargav17
    Level 7 (24,596 points)
    Safari
    Jul 21, 2014 4:08 AM in response to bhargav17

    The limitations of the MBR implementation for Windows (via the CSM-BIOS layer) cause two separate partitioning schemes to be used, which are unaware of each other. This is very fragile at best. The MBR layer supports only four partitions and with two hidden partitions (Recovery and EFI) Windows and OSX make it four, which is the limit. You should not resize or add new partitions to a disk which has BOTH OSX and Windows (using this partitioning scheme).

     

    If you go back a few pages you will see a Hybrid MBR discussion, which can be done, but you should understand it's limitations and fragility.

     

    If you are interested in partitioning discussion(s) please see http://www.rodsbooks.com.

     

    If you still want to do this, do not use Bootcamp, but use Virtualization products, which do not rely on underlying disk partitioning.

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Jul 21, 2014 9:44 AM in response to bhargav17
    Level 3 (555 points)
    Jul 21, 2014 9:44 AM in response to bhargav17

    There's a hidden partition you're  not seeing in Disk Utility, called EFI System partition. So you actually have three partitions. You can only add one additional partition and be in a supported configuration. Other configurations aren't supported, and come with risks.

  • by MacTavish_10,

    MacTavish_10 MacTavish_10 Jul 25, 2014 8:23 AM in response to Christopher Murphy
    Level 1 (10 points)
    Jul 25, 2014 8:23 AM in response to Christopher Murphy

    Hi Christopher.

     

    You seem to know what you are talking about and I really need some help to a problem pretty much the same as this one?

     

    Please help? - Repairing Boot Camp after creating new partition

     

    Thank you

  • by MattTheMedic,

    MattTheMedic MattTheMedic Jul 25, 2014 10:42 AM in response to Scotch_Brawth
    Level 1 (0 points)
    Jul 25, 2014 10:42 AM in response to Scotch_Brawth

    I have the same problem. (Bootcamp doesn't show up after testing Yosemite in a new partition and removing that partition again)

    I made a separate discussion (Repairing Boot Camp after creating new partition)) but figured i'd post it here:

     

    sudo gpt -r -vv show disk0 :

    Screen+Shot+2014-07-25+at+17.53.06.png

    sudo fdisk /dev/disk0 :

     

    Screen+Shot+2014-07-25+at+17.53.30.png

     

    Disk utility:

    Schermafbeelding+2014-07-25+om+14.10.09.png

     

    I hope someone can help.

  • by Loner T,

    Loner T Loner T Jul 25, 2014 10:59 AM in response to MattTheMedic
    Level 7 (24,596 points)
    Safari
    Jul 25, 2014 10:59 AM in response to MattTheMedic

    There is another thread in Repairing Boot Camp after creating new partition here which has the same issue and solution. 

  • by Loner T,

    Loner T Loner T Jul 25, 2014 11:19 AM in response to Loner T
    Level 7 (24,596 points)
    Safari
    Jul 25, 2014 11:19 AM in response to Loner T

    Please be advised for any one attempting Yosemite on the same disk which also contains Bootcamp.

     

    Yosemite, Bootcamp and Mavericks MUST not be installed on a Mac which has either a single disk, or on a disk that has more than one visible partition (via Disk Utility).

  • by Orinks,

    Orinks Orinks Jul 25, 2014 11:16 AM in response to Loner T
    Level 1 (0 points)
    Jul 25, 2014 11:16 AM in response to Loner T

    Unfortunately, I tried this with a dev version of Yosemite, and messed it up. Now, when I go to erase this partition, even in recovery, it simply will not remove itself. I have the beta on the main HD and have Mavericks as a Time Machine backup if it comes to that.

     

    Can anyone help with this? Perhaps if I can get this partition removed it'll be four partitions again, including EMI.

    Thank you.         

  • by Loner T,

    Loner T Loner T Jul 25, 2014 11:23 AM in response to Orinks
    Level 7 (24,596 points)
    Safari
    Jul 25, 2014 11:23 AM in response to Orinks

    I waited for you to start a new thread. Please post the output of the commands in a new thread and post a reference to that thread here.

     

    diskutil list

    sudo fdisk /dev/<DiskNameOfYourBootcamp>

    sudo gpt -vv -r show /dev/<DiskNameOfYourBootcamp>

  • by johnmax345,

    johnmax345 johnmax345 Jul 29, 2014 7:28 PM in response to Scotch_Brawth
    Level 1 (0 points)
    Jul 29, 2014 7:28 PM in response to Scotch_Brawth

    Hi, I have partitioned my HD into 2 partitions, but now I can't boot Bootcamp ( I've already deleted the extras partitions), if someone can help me out, i created a separated thread for my problem

     

    Bootcamp not bootable after partitioning disk

first Previous Page 93 of 102 last Next