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!
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!