While looking into another issue, I came across a simple Chameleon patch
that allows Windows 7 hibernation and sleep to work with Chameleon (see Reply #16 by hb76). Using hb76's instructions, I have successfully in place edited the following byte (in red
) of the MBR (which is actually just the installed copy of Chameleon's boot0):
0x060: c6 04 00 b3 01 80 ff 01 75 0a 80 3c 80
75 0f 30
0x060: c6 04 00 b3 01 80 ff 01 75 0a 80 3c 68
75 0f 30
(This should only be attempted by advanced users that have a way to recover from a corrupted MBR, which can render a system inoperable. Try this at your own risk!).
I used HxD
in Windows (it worked just fine despite hb76's warning). In OS X, iBored
should also work. More advanced users could even just use dd to write the byte change. Needless to say, I think this patch should ultimately be added to Chameleon (NBI version, if not mainline as discussed in the patch thread
--has not happened as of RC4). With this small change, one can multi-boot with Chameleon, Windows will hibernate and sleep properly, and OS X will still boot normally (except possibly in the unusual case where the first HFS+ partition on the disk is not the Mac boot partition). In theory, OS X should hibernate too (like others on 10.6.2, I have problems making that happen reliably).