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 58 of 102 last Next
  • by RamosWipeout,

    RamosWipeout RamosWipeout Nov 4, 2013 8:44 PM in response to Christopher Murphy
    Level 1 (0 points)
    Nov 4, 2013 8:44 PM in response to Christopher Murphy

    Thanks for the answer Christopher, but as I said, all of this sounds me like if it was Chineese (and I cannot speak chineese).

     

    So, the problem might be there is no space, and I realized that before turning Windows off for the last time it ran, so in order to solve the problem can any of you give me a step by step solution? this might sound ******** but I need to fix it and not screw it up, I have valuable data there.

     

    First question is how to open fdisk, and then the comands....etc

     

    Thanks for your understanding

  • by Vijay Pinnapu,

    Vijay Pinnapu Vijay Pinnapu Nov 4, 2013 9:11 PM in response to tomd007
    Level 1 (0 points)
    Nov 4, 2013 9:11 PM in response to tomd007

    I have no words to thank you guys. Special thanks to Christopher Murphy.

  • by Loner T,

    Loner T Loner T Nov 5, 2013 9:24 AM in response to RamosWipeout
    Level 7 (24,419 points)
    Safari
    Nov 5, 2013 9:24 AM in response to RamosWipeout

    Ramos,

     

    Please read this carefully. The risk for doing this is all yours. What you need to enter/type is in bold font.

     

    1. Start two MAC Terminal sessions.

    2. On one terminal window, type man fdisk

    3. On the second window, type sudo fdisk -e /dev/rdisk0

    4.

    fdisk: 1> help

              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/rdisk0          geometry: 62260/255/63 [1000215216 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 - 1000215215] <Unknown ID>

    2: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    fdisk: 1> setpid ?

    Invalid argument: setpid <partition number>

    fdisk: 1> setpid 4 ?

             Starting       Ending

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

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

    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused     

    Partition id ('0' to disable)  [0 - FF]: [0] (? for help) 07

    fdisk:*1> flag 4

    fdisk:*1> write

     

    Notice the '*' after the fdisk: and '>1'.

     

    It indicates that you have a modification that is pending. Now if you do a write command, it will commit it to disk and then you should be able to reboot and see your Bootcamp partition.

     

    I will defer to Christopher and let him confirm this sequence before you do anything to your disk.

  • by RamosWipeout,

    RamosWipeout RamosWipeout Nov 5, 2013 4:28 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2013 4:28 PM in response to Loner T

    Thanks Loner T for making a little bit more understandable.

     

    I tried doing that, but after the write command this appears:

     

    Device could not be accessed exclusively

    A reboot will be needed for changes to take effect. OK? [n]

     

    So I dont know what to do at this point. I rebooted and used the ALT, but the partition still is not showing.

    I wrote back the steps after the reboot and this is the feedback.

     

    Captura de pantalla 2013-11-06 09.20.30.png

    Captura de pantalla 2013-11-06 09.16.11.png

    Captura de pantalla 2013-11-06 09.15.15.png

     

    I hope I didnt mess it up....

     

    What's next?

     

    Thanks very much again

  • by Loner T,

    Loner T Loner T Nov 5, 2013 5:04 PM in response to RamosWipeout
    Level 7 (24,419 points)
    Safari
    Nov 5, 2013 5:04 PM in response to RamosWipeout

    Ramos,

     

    Your partition 4: still shows '0C'.

     

    sudo fdisk -e /dev/rdisk0

    setpid 4

    07

    write

    y

    flag 4

    write

    y

    print

    quit

     

    Do this comand again to verify that the '0C' changes to '07'.

     

    sudo fdisk /dev/rdisk0

     

    Restart your MAC and see if Bootcamp partition shows up and can be selected to boot from.


     

    Message was edited by: Loner T

  • by RamosWipeout,

    RamosWipeout RamosWipeout Nov 5, 2013 5:14 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2013 5:14 PM in response to Loner T

    God bless you!!! Already working...!! Can't even imagine how you helped me!!

     

    Thank youu!

  • by Loner T,

    Loner T Loner T Nov 5, 2013 5:22 PM in response to RamosWipeout
    Level 7 (24,419 points)
    Safari
    Nov 5, 2013 5:22 PM in response to RamosWipeout

    Ramos,

     

    All thanks should go to Christopher Murphy for his tireless support to the community. I just repeated what he suggested.

     

    I am very pleased that you are up and running. Apologies for you having to repeat the steps. May I suggest a backup of your MAC including your Bootcamp partition when you get a chance. It will help your data stay safe.

     

    Cheers.

  • by RamosWipeout,

    RamosWipeout RamosWipeout Nov 5, 2013 5:24 PM in response to Loner T
    Level 1 (0 points)
    Nov 5, 2013 5:24 PM in response to Loner T

    Of course a big thanks to Christopher Murphy!!

     

    Of course I need to do a backup... is it possible to do one from Mac which backups all the partitions?

     

    Thanks again

     

    Cheers

  • by Loner T,

    Loner T Loner T Nov 5, 2013 5:38 PM in response to RamosWipeout
    Level 7 (24,419 points)
    Safari
    Nov 5, 2013 5:38 PM in response to RamosWipeout

    You can potentially use Time Capsule and include your Bootcamp partition (by default it is excluded) and take a back up provided if you have enough disk space on an external drive. You can also use Windows to backup your Windows drive(s) to a 'shared' directory between MAC and Windows.

  • by jfordtmc,

    jfordtmc jfordtmc Nov 7, 2013 1:38 PM in response to Christopher Murphy
    Level 1 (4 points)
    Mac OS X
    Nov 7, 2013 1:38 PM in response to Christopher Murphy

    Christopher,

     

    Since there doesn't seem to be a way to PM anyone on these forums, I am leaving a post to ask you to go look at my discussion regarding my bootcamp install, you seem to really know your stuff.  Any help would be appreciated.

     

    Josh

     

    https://discussions.apple.com/message/23701532#23701532

  • by What_iPhone,

    What_iPhone What_iPhone Nov 11, 2013 12:05 AM in response to Christopher Murphy
    Level 1 (0 points)
    Nov 11, 2013 12:05 AM in response to Christopher Murphy

    Hi can anyone tell me if you can create 3 Partitions

     

    1, OSX 10.9 Mac OS extended

    2, Data Mac OS extended

    3, Win 8 NTFS

     

    and be able to see all 3 partitions from both Win8 and OSX

     

    I can only get OSX to see all partitions

    Win8 can see the OSX 10.9 but not the data partiton ecept for with the windows disk manager which shows the Data partition as unallocated ? I did try to format via windows and that broke all partitions needing a full rebulid

     

     

    Thanks Phill

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Nov 11, 2013 12:36 AM in response to What_iPhone
    Level 3 (555 points)
    Nov 11, 2013 12:36 AM in response to What_iPhone

    No it's not a supported configuration. You can have one OS X and one Windows partition per disk.

     

    Also, it's considered rude to crosspost the same question in multiple threads.

  • by What_iPhone,

    What_iPhone What_iPhone Nov 11, 2013 12:44 AM in response to Christopher Murphy
    Level 1 (0 points)
    Nov 11, 2013 12:44 AM in response to Christopher Murphy

    Sorry about that I was getting a bit desperate thanks for your reply

     

    I didn't mean to put it into the other thread thats why I ended up putting it into 2

     

    Sorry again

  • by Jeroenvh1,

    Jeroenvh1 Jeroenvh1 Nov 11, 2013 3:43 PM in response to Loner T
    Level 1 (0 points)
    Nov 11, 2013 3:43 PM in response to Loner T

    Hi, I followed your steps because I had the same problem. After doing your steps in terminal I managed to see my bootcamp again when i restarted. But when i try to login on windows, the error: "operating system missing" came on my screen. What to do now?

  • by islheg,

    islheg islheg Nov 12, 2013 10:23 PM in response to Scotch_Brawth
    Level 1 (0 points)
    Nov 12, 2013 10:23 PM in response to Scotch_Brawth

    I have been following the posts here because I have a similar problem. I have a Mac OS 10.6.8 on one parition and a WinXP on the bootcamp parition. I paritioned the Mac parition into a third FAT parition to be shared with the Windows. When I try to login to windows it gives me the blue screen of death. If I delete the third parition, the windows log on normally but can't see the Mac parition any more. Interestingly, until two weeks ago I had the 3 partiotins working normaly beside each other (I don't remember how I made it) but this was created 4 years ago. I updated to Mavericks two weeks ago when everything was messed up. I thought it was a problem with Mavericks so decided to go back to Snow Leopard to find this problem.

    I read the posts and found a lot of commands but I don't know which of them would fix my bootcamp.

    This is how my MBR and GPT looks before and after the paritioningScreen shot 2013-11-10 at 9.16.00 PM.pngCan this be fixed?

    Regards

first Previous Page 58 of 102 last Next