Trying to run x2 OSX and 1x win7 on my Haswell rMBP using rEFIt

Manuel
2014-07-30
2014-08-11
  • Manuel
    Manuel
    2014-07-30

    Hi There,

    Trying to run 2x OSX and 1x win7 on my Haswell rMBP.

    Some background:
    I use one OSX installation for my daily work. The Win7 partition I use for pc only lighting visualisation software which is heavy for the GPU so something like parales is not ideal. I also have some accounting software which is pc only. The other instance of OSX i use for live performances. So i need this Instance to be as clean as possible. It does not go online and it has only the bare minimum of software installed.

    The work ive managed to do so far:
    I’ve installed OSX and win7 on my Haswell rMBP. Checked if i could boot to WIN7 and OSX 10.9. It all worked ok so I went into system recovery by holding “command R” during a restart. In there i’ve made an new partition and installed (via timemachine) the second instance of OSX. I then restarted to my first instance of OSX and installed rEFIt. I then restarted and saw two instals of OSX and one of win7. Everything seemed ok but now when i try to boot the win7 partition i get the message:

    “No bootable device — insert boot disk and press any key”

    If i then hook up my dvd player and insert the usb stick with the windows support files and hit a key nothing happens. Restarting and trying to reinstall win7 also does not work as the drivers for the apple keyboard and mouse are not recognised when installing without bootcamp so I can't guide win7 setup through the installation process.

    It seems as if I need to go to the bios (is there such a thing on my mac!?) and point the win7 installation to the right boot device as I sometimes needed to do on in my pc days?

    Really hope someone can give me some help!

    Cheers,

    Manuel

     
    Last edit: Manuel 2014-07-30
  • Joe van Tunen
    Joe van Tunen
    2014-07-30

    Check the gpt partition table:

    diskutil list
    sudo gpt -r show -l /dev/disk0
    

    Compare with the MBR partition table:

    sudo fdisk /dev/disk0
    

    Check the boot code of the MBR:

    sudo dd if=/dev/disk0 count=1 | xxd
    
     
  • Chances are your changes have wiped the Windows 7 partition out of the disk's hybrid MBR. Please read that link, since understanding hybrid MBRs is critical for managing dual-boot setups with OS X and Windows. If I'm right, setting up a new hybrid MBR with gdisk (which you must download separately) or gptsync (which comes with rEFInd but is inactive by default because hybrid MBRs are so dangerous) will fix the problem.