Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › OSx86 Core & 10.X › Chameleon Mod: Additional Partition Type, fails to work
3,516 reads · 2010-05-14 – 2010-05-18
Note 10.X Core Chameleon / Boot-132

Chameleon Mod: Additional Partition Type, fails to work

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,…

Primary Author
@nuiluidwde Published 2010-05-14
Collection
OSx86 Core & 10.X
Archival Footprint
3,516 historical reads · 1 curated field notes (from 4 dispatches) · 2010-05-14 – 2010-05-18
Credited Voices (2)
@nuiluidwde (3)@huale768

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.
chameleon.osx 86.hu/file_download/40/Chameleon-2.0-RC4-r684-src.tar.gz

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!

Author Updates & Technical Revisions

Follow-up dispatches by @nuiluidwde

Author Update #1 @nuiluidwde 2010-05-14

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?

Author Update #2 @nuiluidwde 2010-05-14

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.

Synthesized Community Field Notes

1 technical responses curated from 4 original dispatches

Field Note #1 @huale768 2010-05-18

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 (christianlou boutinshoes88.com/)
Replica Watches (luxuryr eplicas.net/)
Replica Handbags (replic a8bags.com/)

Sources & Contributor Provenance (2 credited usernames · Thread #6141)
UsernameDossier ContributionDispatchesActive Window
@nuiluidwdePrimary Author32010-05-14
@huale768Contributor12010-05-18