Jump to content

how to use the apple.boot.plist to set 1 cpu at startup


Soündless
 Share

33 posts in this topic

Recommended Posts

How can i edit the apple.boot.plist to set my cpus to 1 at startup. My system runs fine when i start it up with 1 cpu, but i have to manually set it everytime i turn on! please help!

Link to comment
Share on other sites

How can i edit the apple.boot.plist to set my cpus to 1 at startup. My system runs fine when i start it up with 1 cpu, but i have to manually set it everytime i turn on! please help!

 

 

<key>Kernel Flags</key>

<string>cpus=1</string>

 

I think that's the correct kernel flag, either way, that's where you put it, whatever it is that your system requires.

 

have you tried the idlehalt flag? some people got that to work, and they were able to use both cores

Link to comment
Share on other sites

You can edit the file by dragging it to the Desktop and editing it with TextEdit, then dragging it back, answering the 2 resulting dialogs - Authenticate and yes to replace, then followed by using Disk Utility to repair permissions on the OSX partition.

 

Or you can do it via Terminal with this command:

sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

Link to comment
Share on other sites

what?

Remember at the top of this thread where you added cpus=1 to the Kernel Flags parameter in boot.plist?

 

Well, you put idlehalt=0 in the same line where you put cpus=1. In fact, any boot parameter that you use can go into the Kernel Flags parameter.

 

Didn't work, said the folder "System Configuration" could not be modified

Which method did you use? Dragging the file back to the folder or the nano command from Terminal?

 

As I said above, when you drag the file back to the folder, you are going to get 2 dialogs: one is going to say you can't do that. Just click the Authenticate button and enter your password. The other dialog is going to ask if you want to replace the existing file. Just click yes.

Link to comment
Share on other sites

when i do that, it has one of those red underliney things, i just want to be carefull here. does this mean it doesnt understand? I just got audio working and i dont wanna screw it up

Link to comment
Share on other sites

when i do that, it has one of those red underliney things, i just want to be carefull here. does this mean it doesnt understand? I just got audio working and i dont wanna screw it up

A "red underliney thing" in TextEdit? That is TextEdit checking your spelling. It doesn't know how to spell Idlehalt and is flagging it as a possible misspelled word. Has nothing to do with the right parameter.

Link to comment
Share on other sites

Remember at the top of this thread where you added cpus=1 to the Kernel Flags parameter in boot.plist?

 

Well, you put idlehalt=0 in the same line where you put cpus=1. In fact, any boot parameter that you use can go into the Kernel Flags parameter.

Which method did you use? Dragging the file back to the folder or the nano command from Terminal?

 

As I said above, when you drag the file back to the folder, you are going to get 2 dialogs: one is going to say you can't do that. Just click the Authenticate button and enter your password. The other dialog is going to ask if you want to replace the existing file. Just click yes.

 

Wow, I guess I'm so used to the PC I assumed the "authenticate" button was cancel, worked great, thanks!

 

Now I just need to figure out how to shorten the countdown on the Darwin bootloader...

 

edit: it didin't work, I'm still running in dual core mode...

Link to comment
Share on other sites

Ok, that didnt work, i set my boot.plist back to cpus=1 so my mouse works. what do you think is wrong? i have a Pentium D 930 3ghz if that is any help

 

the way that i did it was, i clicked get info on the boot.plist and allowed myself to read and write. i did the same thing to the folder it is in

Link to comment
Share on other sites

Ok, that didnt work, i set my boot.plist back to cpus=1 so my mouse works.

You didn't have to remove cpus=1. You just add the other parameters beside one another.

 

<string>-v -f -x cpus=1 idlehalt=0 fn=3 fsb=166 -nohpet, -legacy</string>

Link to comment
Share on other sites

can i set cpus=2?

If you have dual cores, setting cpus=2 is unnecessary because the OS will try to use both cores. But if the OS has problems when it uses both cores, then you need to tell it to use only one of them via cpus=1.

 

You can use cpus=2, but as I said, it really is superfluous.

 

Every time I try to rename my ....Boot.plist that I have saved on my desktop it adds a .txt to it and I can't save it to the correct place and overwrite. How do I stop it from adding the txt to the filename?

Click on the boot.plist icon on the Desktop. Hit your Enter key. Remove the .txt suffix. OSX will ask if you really want to do that. Select the plist suffix in the dialog.

Link to comment
Share on other sites

 Share

×
×
  • Create New...