PDA

View Full Version : Chameleon Mod: Additional Partition Type, fails to work


nuiluidwde
05-14-2010, 07:18 PM
Hi, I need to add another partition type to Chameleon. My laptop has a recovery partition, type 0x1c, which is used to boot windows, type 0x07, which cannot boot without it. Because of this, I'd like to hide my windows partition - easy, using com.apple.boot.plist, and then change the recovery partition's icon from a generic drive to the ntfs icon. I don't plan on changing the partition type, as that makes sure the partition is not seen by normal operating systems, I'm just trying to change the source code of chameleon.
http://chameleon.osx86.hu/file_download/40/Chameleon-2.0-RC4-r684-src.tar.gz (Chameleon Source Code)

At the moment, in ./i386/boot2/gui.c, I have added an extra case to the drawDeviceIcon switch, which identifies the 0x1c type and tells Chameleon it's an NTFS drive.

Now, when I try to boot this, Chameleon fails and defaults to the text prompt, do I need to change anything in libsaio? There are a lot of file, so it is confusing me at the moment, but I can't tell why it won't work, does anyone know how to enable debug mode on chameleon as well, so that I can see where it's gone wrong? Thanks!

nuiluidwde
05-14-2010, 07:37 PM
I just tried booting an unmodified version, and it turns out that my compiler's output will not boot in GUI mode, is there a reason for this?

nuiluidwde
05-14-2010, 11:09 PM
Don't worry, I just checked out the latest revision and tried with that and it worked great, now I just need to change some things and make it customisable from a theme plist.

huale768
05-18-2010, 01:41 AM
just tried booting an unmodified version, and it turns out that my compiler's output will not boot in GUI mode, is there a reason for this?



__________________
Christian Louboutin (http://www.christianlouboutinshoes88.com/)
Replica Watches (http://www.luxuryreplicas.net/)
Replica Handbags (http://www.replica8bags.com/)