#214 boot bug

open
nobody
None
5
2011-11-20
2011-11-20
xiaou
No

my hardware is the latest mac mini, with mac os x 10.7,and i have used bootcamp to add a windows7 os.
the bug is, first, when i insert my android-intelligent-phone to the usb outlet of the mac mini,and then, boot my mini which has setup the
rEFIt 0.14 (6.5M Mac disk image), the situation is that i can't boot when i choose the windows7 os in the boot menu of rEFIt.

Discussion

  • This is probably due to the limitation that rEFIt has no way of determining which disc to legacy boot from. Whilst it will be selecting your windows 7 partition and marking it active (bootable). When refit passes control to the EFI legacy loader the loader will look for the first disc and partition that's bootable; which may well be your phone.

    I have done quite a bit of work writing EFI binaries and this is my understanding, which I am willing to stand corrected if a rEFIt team member corrects me :)

     
  • Joe van Tunen
    Joe van Tunen
    2011-12-05

    The rEFIt source code does have new code to set the legacy boot drive ("BootCampHD" NVRAM variable) to the drive containing the selected partition when the selected partition is a legacy OS but the current download doesn't have that change. To get the change, you need to recompile the source code.

    Or you can try the version I compiled at http://members.shaw.ca/joevt/refit.efi.zip

    I'm not sure if this will solve the problem. If you can boot your Windows 7 partition using the Startup Manager (http://support.apple.com/kb/HT1310), bypassing rEFIt, when the phone is plugged into the USB port, then the problem is solvable. If the Startup Manager can boot Windows 7 when the phone is not plugged in, but can't boot Windows 7 when the phone is plugged in, then it might mean the problem is in Apple's EFI itself, and it might not be solvable by rEFIt.