Help - Search - Members - Calendar
Full Version: Chameleon header read size 0, wake from hibernation FIXED
InsanelyMac Forum > OSx86 Project > Multi Booting and Virtualisation
radekge
Hello,
many people had trouble with waking from hibernation using chameleon. It said "header read size 0" and that the image signature is incorrect. I had the same trouble although my computer created the sleepimage correctly. Well, it turns out there was a bug in Chameleon that prevented reading files over 4gb, all file sizes were treated as 32bit, so if anyone had 4gb or more memory hibernation wasn't working for him. Well, I fixed it :-) here the patched boot file from Chameleon RC3. Just copy it over /boot (so: sudo cp ~/Downloads/boot /).

Have Fun! and tell me how it's working.
perangbintang
QUOTE (radekge @ Sep 11 2009, 04:26 PM) *
Hello,
many people had trouble with waking from hibernation using chameleon. It said "header read size 0" and that the image signature is incorrect. I had the same trouble although my computer created the sleepimage correctly. Well, it turns out there was a bug in Chameleon that prevented reading files over 4gb, all file sizes were treated as 32bit, so if anyone had 4gb or more memory hibernation wasn't working for him. Well, I fixed it :-) here the patched boot file from Chameleon RC3. Just copy it over /boot (so: sudo cp ~/Downloads/boot /).

Have Fun! and tell me how it's working.


thanks, is this supposed to replace boot file from Chameleon 2.0 RC3?
i tried this (since i had 4gb of ram) but my machine still won't wake up after sleep.
i'm on hibernate mode 3.
kizwan
Hi radekge,

Thank you for the fix. I'm currently using Windows Vista boot loader to dual-boot Windows Vista & retail Mac OS X 10.5.6. I found out that the "boot" file located at the root partition (/) can read/load extensions from EFI partition. I guess it is one of the Chameleon 2 feature. Care to comment?

@perangbintang, the "boot" file is for computers that have problem waking from hibernation. It is not for enabling sleep capability. To enable hibernate, set hibernatemode to 1 or 5. The later if using "Secure Virtual Memory".

kizwan
kizwan
Not working with my gig. Just "hang" when it try to load system.kext. Do you know why?
CharredPC
Same as kizwan; using this modified file, it simply kills Chameleon, stopping dead at the lizard logo instead of booting. Hope there's a working fix for this soon... I can yank out one of my RAM sticks and have working Hibernation using the original release file (just tested it) but no go with 4GB.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.