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 77 of 102 last Next
  • by peterjanbrone,

    peterjanbrone peterjanbrone Mar 2, 2014 2:33 AM in response to peterjanbrone
    Level 1 (0 points)
    Mar 2, 2014 2:33 AM in response to peterjanbrone

    My keyboard works for selecting to boot up from the windows xp disk, xp loads all necessary drivers etc and asks me to choose to either install, recover etc.

     

    I just went out buying the most generic wired keyboard I could find on a sunday, it does not work during xp installation. Are there any workarounds for this?

  • by Loner T,

    Loner T Loner T Mar 2, 2014 6:36 AM in response to peterjanbrone
    Level 7 (24,879 points)
    Safari
    Mar 2, 2014 6:36 AM in response to peterjanbrone

    Do you have an option to go back to a pre-Mavericks upgrade iMac state? In your case, Mavericks buys you no additional features/functionality, since the iMac primarly is a WXP machine only.

     

    What happens when you try the VMware route? Some screen shots may be helpful.

     

    What year is this iMac? The reason for asking is that Mavericks creates many new devices (eg Thunderbolt bridges, etc.) which may not have equivalent drivers for XP and XP becomes very nasty when devices show up that it cannot deal with. I have seen BSODs for many USB devices, which technically should work in XP.

     

    You have a recovery option. For a keyboard, if you can find a Apple Wired USB keyboard, it may be ideal. BT devices usually do not work.

  • by ipecek,

    ipecek ipecek Mar 2, 2014 8:33 AM in response to Scotch_Brawth
    Level 1 (0 points)
    Mar 2, 2014 8:33 AM in response to Scotch_Brawth

    Hi guys,

     

    I need your help, fast!

     

    I manually shrinked the OSX partition to extend the Bootcamp one, and I can't see the Bootcamp option when booting.

     

    I followed the instructions to get gpt and fdisk data so please help me to get this working again.

     

    Capture.JPG

  • by BobTheFisherman,

    BobTheFisherman BobTheFisherman Mar 2, 2014 9:18 AM in response to ipecek
    Level 6 (15,741 points)
    Mar 2, 2014 9:18 AM in response to ipecek

    The only way to change the size of a Boot Camp partition is to use CampTune. Doing it "manually" will mess up your hard drive to the point where you will have to erase it, format the drive, reinstall OSX, then reinstall Windows using Boot Camp Assistant.

  • by ipecek,

    ipecek ipecek Mar 2, 2014 9:19 AM in response to BobTheFisherman
    Level 1 (0 points)
    Mar 2, 2014 9:19 AM in response to BobTheFisherman

    Yeah, easy to say now when the damage is done

    I hope it's possible to repair it somehow because of the data on it I wish not to lose...

  • by BobTheFisherman,

    BobTheFisherman BobTheFisherman Mar 2, 2014 9:21 AM in response to ipecek
    Level 6 (15,741 points)
    Mar 2, 2014 9:21 AM in response to ipecek

    There is no way to repair it. You can try taking the drive out and using an external usb inclosure connect it to another computer. Then try to get your data off the drive while connected to the other computer.

     

    You can recover your data from your backup, if you have one.

  • by ipecek,

    ipecek ipecek Mar 2, 2014 9:22 AM in response to BobTheFisherman
    Level 1 (0 points)
    Mar 2, 2014 9:22 AM in response to BobTheFisherman

    MBP Retina, so can't take the drive out unfortunately

  • by Loner T,

    Loner T Loner T Mar 2, 2014 9:25 AM in response to ipecek
    Level 7 (24,879 points)
    Safari
    Mar 2, 2014 9:25 AM in response to ipecek

    In your fdisk output, partition 4 has type hex "0C", needs to be hex "07", and needs to be flagged. Please use man fdisk in terminal (or there are examples in this thread beginning page 54) of "sudo fdisk -e /dev/disk0". Can you try that?

  • by ipecek,

    ipecek ipecek Mar 2, 2014 9:27 AM in response to Loner T
    Level 1 (0 points)
    Mar 2, 2014 9:27 AM in response to Loner T

    I am getting this:

     

    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

    Enter 'help' for information

    fdisk: 1>

  • by Loner T,

    Loner T Loner T Mar 2, 2014 10:00 AM in response to ipecek
    Level 7 (24,879 points)
    Safari
    Mar 2, 2014 10:00 AM in response to ipecek

    Did you try extending your Bootcamp disk after the OSX side was resized?

     

    The error message is expected (please use setpid and flag sub-commands to correct your partition 4 entry). Remember to use write as appropriate. Once you have it corrected, restarting the MAC with Option key, should show you the Bootcamp drive. (It may not boot properly, so a Windows Recovery may also be required).

     

     

    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory

    Enter 'help' for information

    fdisk: 1> ?

              help                    Command help list

              manual                    Show entire man page for fdisk

              reinit                    Re-initialize loaded MBR (to defaults)

              auto                    Auto-partition the disk with a partition style

              setpid                    Set the identifier of a given table entry

              disk                    Edit current drive stats

              edit                    Edit given table entry

              erase                    Erase current MBR

              flag                    Flag given table entry as bootable

              update                    Update machine code in loaded MBR

              select                    Select extended partition table entry MBR

              print                    Print loaded MBR partition table

              write                    Write loaded MBR to disk

              exit                    Exit edit of current MBR, without saving changes

              quit                    Quit edit of current MBR, saving current changes

              abort                    Abort program without saving current changes

    fdisk: 1> print

    Disk: /dev/disk0          geometry: 121643/255/63 [1954210120 sectors]

    Offset: 0          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 - 1452530904] HFS+       

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

    *4: 07 1023 254  63 - 1023 254  63 [1454211072 -  499998720] HPFS/QNX/AUX

  • by ipecek,

    ipecek ipecek Mar 2, 2014 10:07 AM in response to Loner T
    Level 1 (0 points)
    Mar 2, 2014 10:07 AM in response to Loner T

    Could you guide me through it please?
    Capture2.JPG

  • by Loner T,

    Loner T Loner T Mar 2, 2014 10:15 AM in response to ipecek
    Level 7 (24,879 points)
    Safari
    Mar 2, 2014 10:15 AM in response to ipecek

    Please see this - https://discussions.apple.com/message/22253524#22253524

     

    This has the exact steps.

  • by ipecek,

    ipecek ipecek Mar 2, 2014 10:25 AM in response to Loner T
    Level 1 (0 points)
    Mar 2, 2014 10:25 AM in response to Loner T

    So I got this and now I should see the bootcamp at the next reboot?
    I am doing it over Teamviewer on my friend's macbook so it'll take some time until he comes home and restarts his mac. See you in an hour or so and thank you so much!

     

    Capture3.JPG

  • by Loner T,

    Loner T Loner T Mar 2, 2014 10:46 AM in response to ipecek
    Level 7 (24,879 points)
    Safari
    Mar 2, 2014 10:46 AM in response to ipecek

    Please do the write command now. The Mac can be rebooted at a later time. You do not want to lose these changes, unless you are comfortable repeating these steps again.

     

    PS: It should give you a message about needing a reboot.

     

    Message was edited by: Loner T

  • by ipecek,

    ipecek ipecek Mar 2, 2014 11:17 AM in response to Loner T
    Level 1 (0 points)
    Mar 2, 2014 11:17 AM in response to Loner T

    I did that, just waiting for my friend to come back home and give me a password for the new teamviewer session so I could continue working on it.

     

    So, after and if the bootcamp partition is working again, what should I do next to resize the partition? I assume I have a bit of unallocated space now, because I shrinked the active (OSX) partition in Disk Utility.

first Previous Page 77 of 102 last Next