Jump to content
15 posts in this topic

Recommended Posts

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 :-)

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

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 :o

 

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!!

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 by hecker

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??

 

 

:o

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

<?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.

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!!!!!

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 by hecker
  • 2 years later...

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.

×
×
  • Create New...