hagentosh Posted March 13, 2007 Share Posted March 13, 2007 I am very happy that i successfully installed 10.4.8 on a Pentium4 Computer. After the first boot, the System was very very slow so on the next reboot i typed "F8" and then "CPUS=1". So the System runs very smooth. But is there a way to set this parameter fix? I guess this was asked a 1000 times here but i found no related thread. Please, anyone tell me which file do i have to modify that my machine is set to 1 CPU forever whithout having to manually type this on every boot? Thanks in advance for any hint :-) Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/ Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 Check neonkoala's website: http://neonkoala.co.uk/content/view/33/34/ It has pretty detailed instructions on how to setup your darwin bootloader. Basically all you need to do is add: <key>Kernel Flags</key> <string>cpus=1</string> to your /Library/Preferences/SystemConfiguration/com.apple.Boot.plist file Cheers, hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322429 Share on other sites More sharing options...
hagentosh Posted March 13, 2007 Author Share Posted March 13, 2007 Thank you, but i am afraid i was a bit fast and stupid. I edited this with Textedit and replaced the file. Then i restarted, but nothing has changed. I think i better should have done it with the terminal Actually there seems to be a problem with the rights?! What rights are right for com.apple.boot.plist? Any help for me silly noob appreciated... I promise to read more carefully bevore acting next time!! Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322441 Share on other sites More sharing options...
chuuey Posted March 13, 2007 Share Posted March 13, 2007 um, just log in as root, sudo -s, use nano to edit the file and ctrl+o to save ctrl+x to quit, and it should work... Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322445 Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 (edited) fix the permissions like this: sudo chown root /Library/Preferences/SystemConfiguration/com.apple.Boot.plist sudo chmod 644 /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and reboot hecker EDIT: replaced the 522 with 644. Sorry for the mistake. Edited March 13, 2007 by hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322448 Share on other sites More sharing options...
hagentosh Posted March 13, 2007 Author Share Posted March 13, 2007 hmmm.... i have done all this, but it doesnt seem to work. here ist the content of my com.apple.Boot.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>CPUS=1</string> <string></string> <key>Boot Graphics</key> <string>Yes</string> </dict> </plist> I think this should be telling the system that i have already 1 CPU, right?! The Permissions now are (when i am root): Ownership & permissions: You can: read & write Owner: system Access: read & Write Group: admin Access: read only others: read only Where is my mistake?? Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322460 Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 Did you edit the file from within the terminal? I am not sure which format textedit uses when saving the file so it's better not to use it to edit system files. Open a terminal window and type: sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist edit the file and save. check the file permissions by typing: ls -la /Library/Preferences/SystemConfiguration/com.apple.Boot.plist the permissions/ownership part should read something like: -rw-r--r-- root hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322474 Share on other sites More sharing options...
hagentosh Posted March 13, 2007 Author Share Posted March 13, 2007 Terminal shows: -rw-r--r-- 1 root admin 364 Mar 13 09:47 /library/SystemConfiguration/com.apple.Boot.plist i feel a bit confused... Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322481 Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 Yeah, that looks about right. Did you edit the file from the terminal now? hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322486 Share on other sites More sharing options...
WaldMeister Posted March 13, 2007 Share Posted March 13, 2007 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>CPUS=1</string> <string></string> <key>Boot Graphics</key> <string>Yes</string> </dict> </plist> Should be: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <string>mach_kernel</string> <key>Kernel Flags</key> <string>CPUS=1</string> <key>Boot Graphics</key> <string>Yes</string> </dict> </plist> Don't forget to run diskutillity afterwards. Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322490 Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 (edited) <key>Kernel Flags</key><string>CPUS=1</string> <string></string> right, the last "<string></string>" needs to be removed. One question, why should he run diskutils? hecker Edited March 13, 2007 by hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322493 Share on other sites More sharing options...
WaldMeister Posted March 13, 2007 Share Posted March 13, 2007 To repair the permissions, just to make sure OS X boots on restart Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322495 Share on other sites More sharing options...
hagentosh Posted March 13, 2007 Author Share Posted March 13, 2007 Oh, yes. Only my first try was from textedit. Then i made me "root" and went to the terminal, then done like you told me. Now i will try to remove the line "<string></string>" ... Will tell you if it works now... (hope so!) THANK YOU!! Now everything is OK! I think i made some {censored} with the permissions... very happy now!!! Thank you! Everything is fine now, i think i made some *=!"/(/%(% with the permissions... THANKS!!!!! Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322497 Share on other sites More sharing options...
hecker Posted March 13, 2007 Share Posted March 13, 2007 (edited) Just as a side comment: The "repair permissions" function of diskutil does not really "repair" the permissions or the files. It simply reverts their permission values to a default. This may cause some problems if you have modified your system and installed applications that need certain parameters. I don't recommend using it unless the system is severely damaged. hecker Edited March 13, 2007 by hecker Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-322526 Share on other sites More sharing options...
perern Posted January 8, 2010 Share Posted January 8, 2010 My com.apple.boot.plist look like this, it wont start without typing it and yes it works with CPUS=2: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <string>custom</string> <key>Kernel Flags</key> <string>CPUS=2</string> <key>Boot Graphics</key> <string>Yes</string> <key>Quiet Boot</key> <string>No</string> <key>Timeout</key> <string>5</string> </dict> </plist> Any help appreciated. Link to comment https://www.insanelymac.com/forum/topic/45120-dont-want-to-type-cpus1-on-every-boot-manually/#findComment-1379895 Share on other sites More sharing options...
Recommended Posts