Contribute
Register

com.apple.boot.plist, proper way to edit?

Status
Not open for further replies.
Joined
Aug 21, 2010
Messages
55
Motherboard
Apple MacBook Pro 15" Retina Mid 2014
CPU
1x 2,5-GHz quad-core Intel Core i7-processor (Turbo Boost 3,7 GHz) 256KB L2 cache, 6MB L3 cache
Graphics
1x Intel Iris Pro & 1x NVIDIA GeForce GT 750M met 2 GB GDDR5
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
This is my current boot.plist

<?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>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<key>Graphics Mode</key>
<string>1920x1200x32</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>1</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
</dict>
</plist>


Let's say I want to add -v as a kernel flag. How should I place that?

For example:
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<string>-v</string>

Or
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<key>Kernel Flags</key>
<string>-v</string>



How does this work?
 
olaf001 said:
This is my current boot.plist

<?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>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<key>Graphics Mode</key>
<string>1920x1200x32</string>
<key>Legacy Logo</key>
<string>Yes</string>
<key>Timeout</key>
<string>1</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>EthernetBuiltIn</key>
<string>Yes</string>
</dict>
</plist>


Let's say I want to add -v as a kernel flag. How should I place that?

For example:
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<string>-v</string>

Or
<key>Kernel Flags</key>
<string>arch=x86_64</string>
<key>Kernel Flags</key>
<string>-v</string>



How does this work?
All Kernel Flags need to be on the same line.

So the correct format is:

<string>arch=x86_64 -v</string>

Also you can delete arch=x86_64, as without that entry, it will boot the 64-bit kernel.
 
Status
Not open for further replies.
Back
Top