Jump to content
20 posts in this topic

Recommended Posts

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
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2145879
Share on other sites

That's how I just modified /i386/boot2/option.c
to use different configurations at boot.
  
(config = /Extra /lion.plist example). I use this mode to boot with DMG. Below change in /i386/boot2/option.c

in 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);

  • Like 3
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2146475
Share on other sites

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

  • Like 2
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2146896
Share on other sites

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
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2146944
Share on other sites

  • 2 weeks later...

...

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

  • Like 1
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2150820
Share on other sites

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
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2151177
Share on other sites

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

  • Like 1
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2151290
Share on other sites

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

  • Like 2
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2151292
Share on other sites

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

  • Like 1
Link to comment
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2151667
Share on other sites

  • 2 years later...

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
https://www.insanelymac.com/forum/topic/306509-config/#findComment-2539795
Share on other sites

×
×
  • Create New...