Jump to content

Entering boot sequence

Chameleon Version 2.0.0 RC5

  • Please log in to reply
13 replies to this topic

#1
mac.hp.pc

mac.hp.pc

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
Hi do anyone know how to automatically load the boot configuration? It's very annoying to enter the same code over and over again.
Example: GraphicsEnabler=Y cpus=1 busratios=19
Something I have to retype the hole thing because of miss spell. :o :wallbash: :|

#2
HUSABER

HUSABER

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 938 posts
  • Gender:Male
  • Location:Cyprus
  • Interests:HusabergFC-600 FourStroke,KTM500 TwoStroke,TM300 TwoStroke
    Free Time-My Hackintosh&Ap...
Hardware please.....? :wallbash:

#3
Koenkk

Koenkk

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
Hi,

You should add these 2 rules to your org.chameleon.boot.plist located in the /Extra/ folder. (the extra folder is mostly located in the root of your os x hdd).

<key>Kernel Flags</key>
<string>

GraphicsEnabler=Y cpus=1 busratios=19</string>



#4
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
Please pay attention to what you are doing, especially when trying to help someone else.

GraphicsEnabler is not a kernel flag and busratio does not have an S at the end.

<key>Kernel</key>
<string>kernel_name_here</string>
<key>Kernel Flags</key>
<string>CPUS=1 busratio=19</string>
<key>GraphicsEnabler</key>
<string>y</string>

#5
mac.hp.pc

mac.hp.pc

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
Do i copy the
<key>Kernel</key>
<string>kernel_name_here</string>
<key>Kernel Flags</key>
<string>CPUS=1 busratio=19</string>
<key>GraphicsEnabler</key>
<string>y</string>

Or do i have to change "kernel_name_here" because i don't know which kernel i am currently using.

#6
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
If you're not using a patched kernel it's mach_kernel.

Some people rename their patched kernel to mach_kernel but that's a bad idea because when installing the next 10.7.x update their patched kernel will get overwritten by the new Apple kernel.

#7
mac.hp.pc

mac.hp.pc

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
Where do i insert
<key>Kernel</key>
<string>march_kernel</string>
<key>Kernel Flags</key>
<string>CPUS=1 busratio=19</string>
<key>GraphicsEnabler</key>
<string>y</string>

in the org.chameleon.boot.plist?


In my org.chameleon.boot.plist it look like


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Boot Graphics</key>
<string>Yes</string>
<key>Default Partition</key>
<string>hd(0,4)</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Instant Menu</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Timeout</key>
<string>2</string>
<key>UseKernelCache</key>
<string>No</string>
<key>npci</key>
<string>0x2000</string>
</dict>
</plist>

#8
nyolc8

nyolc8

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 802 posts
  • Gender:Male
  • Location:Budapest, Hungary
Just modify your org.chameleon.boot.plist to this:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Boot Graphics</key>

<string>Yes</string>

<key>Default Partition</key>

<string>hd(0,4)</string>

<key>EthernetBuiltIn</key>

<string>Yes</string>

<key>GenerateCStates</key>

<string>Yes</string>

<key>GeneratePStates</key>

<string>Yes</string>

<key>GraphicsEnabler</key>

<string>Yes</string>

<key>Instant Menu</key>

<string>Yes</string>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string>CPUS=1 busratio=19</string>

<key>Legacy Logo</key>

<string>Yes</string>

<key>Quiet Boot</key>

<string>No</string>

<key>Timeout</key>

<string>2</string>

<key>UseKernelCache</key>

<string>No</string>

<key>npci</key>

<string>0x2000</string>

</dict>

</plist>



#9
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil

<key>Boot Graphics</key>

<string>Yes</string>


Redundant, yes is the default

<key>Quiet Boot</key>

<string>No</string>


Redundant, no is the default


<key>Instant Menu</key>

<string>Yes</string>


<key>Timeout</key>

<string>2</string>


Those two are conflicting - make up your mind whether you want a timeout or "instant menu".


<key>npci</key>

<string>0x2000</string>


npci=0x2000 belongs in the kernel flags string, it will not work like this.

#10
mac.hp.pc

mac.hp.pc

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
hi i just reinstall my mac lion because there a problem and here is the new .plist


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Boot Graphics</key>
<string>Yes</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Timeout</key>
<string>5</string>
<key>npci</key>
<string>0x2000</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>UseKernelCache</key>
<string>No</string>
</dict>
</plist>

#11
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
It still has the same mistakes that I pointed out earlier.

#12
Fedd

Fedd

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
I recommend chameleon wizard to easily change the chameleon plist.

#13
mac.hp.pc

mac.hp.pc

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
It a good software and it work. thank

#14
alaskantraveler

alaskantraveler

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 118 posts
  • Gender:Male
  • Location:Central Arizona Desert
  • Interests:Single Carburetor GoldWings
    BlackPowder Revolvers
    PC based OSX

    AMD...
I am gonna chime in here: (late I know)

Please pay attention to what you are doing, especially when trying to help someone else.

GraphicsEnabler is not a kernel flag and busratio does not have an S at the end.

<key>Kernel</key>
<string>kernel_name_here</string>
<key>Kernel Flags</key>
<string>CPUS=1 busratio=19</string>
<key>GraphicsEnabler</key>
<string>y</string>


GraphicsEnabler=Yes is a kernel flag, some systems won't do the <key>GraphicsEnabler</key>
<string>y</string>
thing.
Putting it into the <key>Kernel Flags</key>
<string>aruguments here</string>
Passes it to the kernel.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy