deek5 Posted June 7, 2015 Share Posted June 7, 2015 Why config option documented in the chameleon user manual does not work ?"Additional Useful command-line options:config = <file> Use an alternate Boot.plist ." Link to comment Share on other sites More sharing options...
buttcrap Posted June 14, 2015 Share Posted June 14, 2015 this worked last time i tried - you must type in the filepath to the config.plist you're selecting Link to comment Share on other sites More sharing options...
deek5 Posted June 17, 2015 Author Share Posted June 17, 2015 this worked last time i tried - you must type in the filepath to the config.plist you're selecting Sorry for not having seen your answer, that's why it's not working. This documented option cannot work because it leads to nothing, that is what we find below (it is in i386\boot2\option.c towards lines 1260 or more or less, it is included in the function int processBootOptions () ) : if (!getValueForBootKey(cp, "config", &val, &cnt)) { val = 0; cnt = 0; } // Load com.apple.Boot.plist from the selected volume // and use its contents to override default bootConfig. loadSystemConfig(&bootInfo->bootConfig); loadChameleonConfig(&bootInfo->chameleonConfig, NULL); Link to comment Share on other sites More sharing options...
deek5 Posted June 19, 2015 Author Share Posted June 19, 2015 That's how I just modified /i386/boot2/option.cto use different configurations at boot. (config = /Extra /lion.plist example). I use this mode to boot with DMG. Below change in /i386/boot2/option.cin the function int processBootOptions () ) :if (getValueForBootKey (PC, "config", & val, & cnt)) {// Just to check the loading of boot.plist printf ("loading boot.plist chosen \ n"); printf (val); printf ("\ n"); pause (); loadConfigFile (val, & bootInfo-> chameleonConfig); loadSystemConfig (& bootInfo-> bootConfig); }// Load com.apple.Boot.plist from the selected volume// And use ict pleased to override default bootConfig. else {loadSystemConfig (& bootInfo-> bootConfig);loadChameleonConfig (& bootInfo-> chameleonConfig, NULL); }The original that may not allow the choice of configuration.if (! getValueForBootKey (PC, "config", & val, & cnt)) {val = 0;cnt = 0;}// Load com.apple.Boot.plist from the selected volume// And use ict pleased to override default bootConfig.loadSystemConfig (& bootInfo-> bootConfig);loadChameleonConfig (& bootInfo-> chameleonConfig, NULL); 3 Link to comment Share on other sites More sharing options...
ErmaC Posted June 21, 2015 Share Posted June 21, 2015 That's how I just modified /i386/boot2/option.cto use different configurations at boot... Hi I will take a look at this when I return from my holidays (first week of July) Never noticed that this option wasn't work (I not write it) or probably was designed to work in other way? Cordially ErmaC 2 Link to comment Share on other sites More sharing options...
deek5 Posted June 21, 2015 Author Share Posted June 21, 2015 Hello dear Ermac, bravo for all your productions, with other coders of course, to have made accessible Mac Os X on PC.For the option config = <File>, I modified it because it did not work as it was described in the manual . Maybe that there is as you write it " another way of using it " Thank you for everything. Link to comment Share on other sites More sharing options...
ErmaC Posted July 4, 2015 Share Posted July 4, 2015 ... I update the Enoch revision to 2731 you can find it in the download section --> http://www.insanelymac.com/forum/files/file/71-enoch/ And here the same revision with the edits you provided... --> Enoch_r2731_config-MOD.zip NOT TESTED. Let me know. ErmaC 1 Link to comment Share on other sites More sharing options...
deek5 Posted July 6, 2015 Author Share Posted July 6, 2015 Hello, thank you for having developed a boot for the option, but saddening it does not work. When I type in the boot prompt for example " config = / Extra / lion.plist " nothing takes place the starting up continues on the original plist ( org.chameleon.Boot.plist). Link to comment Share on other sites More sharing options...
deek5 Posted July 6, 2015 Author Share Posted July 6, 2015 " config=/Extra /lion.plist " written without space of course. Link to comment Share on other sites More sharing options...
ErmaC Posted July 6, 2015 Share Posted July 6, 2015 " config=/Extra /lion.plist " written without space of course. Pls attach here the option.c file you have edited... Rename it as option.txt instead of option.c Ermac 1 Link to comment Share on other sites More sharing options...
deek5 Posted July 6, 2015 Author Share Posted July 6, 2015 the mod begin at line 1323 options.txt 2 Link to comment Share on other sites More sharing options...
ErmaC Posted July 6, 2015 Share Posted July 6, 2015 the mod begin at line 1323Thx later I will take a look at this. ErmaC 1 Link to comment Share on other sites More sharing options...
ErmaC Posted July 6, 2015 Share Posted July 6, 2015 the mod begin at line 1323 Here we go... let me know.. ErmaC 1 Link to comment Share on other sites More sharing options...
ErmaC Posted July 6, 2015 Share Posted July 6, 2015 Here we go... let me know.. ErmaC Ops my error... I upload a bad revision with your code... here the correct one... Enoch_r2731_config-MOD_V3.zip Sorry ErmaC 3 Link to comment Share on other sites More sharing options...
deek5 Posted July 6, 2015 Author Share Posted July 6, 2015 All right, it works as desired, then I'm the lion. started from Elcapitan with "config = / Extra / lion.plist" with its kernelcache and more mach_kernel a DMG on an HFS partition.Thank you very much to run this command-line option."Additional Useful command-line options:config = <file> Use an alternate Boot.plist. " Thank you for your patience 1 Link to comment Share on other sites More sharing options...
ErmaC Posted July 6, 2015 Share Posted July 6, 2015 All right, it works as desired, then I'm the lion. started from Elcapitan with "config = / Extra / lion.plist" with its kernelcache and more mach_kernel a DMG on an HFS partition. Thank you very much to run this command-line option. "Additional Useful command-line options: config = Use an alternate Boot.plist. " Thank you for your patience Give it a try for a while... Then I will merge into source code... Cordially ErmaC 2 Link to comment Share on other sites More sharing options...
deek5 Posted July 6, 2015 Author Share Posted July 6, 2015 I tried the 2 versions no problem; with lion, yosemite, mavericks, elcapitan.With grub4dos and iso containing all caches and kernel, no problem.thank you. 1 Link to comment Share on other sites More sharing options...
deek5 Posted July 7, 2015 Author Share Posted July 7, 2015 Hello, the cdboot achieve with your boot does not always work.Boots and sometimes it restarts as soon. With a vhd and grub4dos no problem, it boots up every time. Link to comment Share on other sites More sharing options...
deek5 Posted July 8, 2015 Author Share Posted July 8, 2015 Hello, I apologize for the creation of the cdboot with your boot (on 2731 V3) I had forgotten" stat -f%z /Volumes/NONAME/usr/standalone/i386/boot | perl -ane "print pack('V',@F[0]);" | dd of=/chameleon/branches/ErmaC/Enoch/i386/cdboot/cdboot bs=1 count=4 seek=2044 conv=notrunc &> /dev/null"Now everything works.thank you 1 Link to comment Share on other sites More sharing options...
nvflash Posted November 26, 2017 Share Posted November 26, 2017 Does anyone know the proper format to add NVIDIAWebDrv=Yes to the kext.plist? I tried: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AppleRTCPatch</key> <string>Yes</string> </dict> <dict> <key>NVIDIAWebDrv</key> <string>Yes</string> </dict> </plist> That didn't work, anyone know? Link to comment Share on other sites More sharing options...
Recommended Posts