Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
want_a_mac

[How to] Edit Boot.plist

24 posts in this topic

Recommended Posts

Ok i copy pasted this from an old post that's already out there coz i see people asking the same question over and over....

---------------------------------------------------------------------------------------------------------------------

Messing with the boot options

Tired of typing '-x "Graphics Mode"="1280x1024x32@85" platform=ACPI or platform=X86PC' every time you boot? This is for you!

 

NOTE: It is best to test out your commands before editing the Boot file. By testing, we mean typing your command during boot (Darwin). If it works, then proceed. Why? Because your changes to the boot file is used EVERY time you boot into Mac OS. Typing out the commands during the boot only affects the OS during that current boot. Rebooting clears it.

 

 

Browse to

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

and open it up in your text editor- You can add some switches in here to make your life a little bit sweeter...

HINT: If you are having difficulty saving changes to com.apple.Boot.plist; Open Terminal and type "sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist" (WITHOUT the quotes.. just copy and paste the text) and press enter. Use the arrow keys to move the cursor. Ctrl+O to save and Ctrl+X to close.

 

 

To automatically use a certain graphics mode

<key>Graphics Mode</key>

<string>1280x1024x32@85</string>

Note: If your video card is using VESA 2.0 drivers, leave out the '@85' part as it only works on VESA 3.0 will cause the system to reset before getting anywhere.

 

If you need to specify a platform

<key>Kernel Flags</key>

<string>platform=X86PC</string> or <string>platform=ACPI</string>

 

 

If you don't want to see the Darwin text on boot - HINT: You can get the prompt back by holding "ctrl" at boot.

<key>Quiet Boot</key>

<string>Yes</string>

 

 

If you want to show the Logo with spinning Boot Graphics

<key>Boot Graphics</key>

<string>Yes</string>

 

 

To put in switches (-v, -x, -s, etc)

<key>Kernel Flags</key>

<string></string>

 

 

Speed up Darwin's timeout count-down

<key>Timeout</key>

<string>8</string>

 

 

Replace 8 (default seconds) to a new value.

 

To set Darwin to boot from a particular partition:

<key>Kernel Flags</key>

<string>rd=diskXsY</string> Where X is your hard drive number and Y is the partition number (BSD naming scheme)

if you are unsure about the rd value open Aplications>Utilities>Disk Utiliy, click on the partition with OSX installed and click on info, the right "rd" value is the value from "Disk Identifier"

 

EDIT: I've tested this a few times, doesn't seem to want to work for me. Anyone got any ideas? T

 

This page has some info: http://www.opendarwin.org/pipermail/hacker...ust/004540.html

work fine for me, I use <string>rd=disk1s3</string> to boot from the 3rd primary partition of my second disk.

this doesn't work for me, i ended up having to reinstall, try this but make sure you can get back in to change it back if it doesn't work

 

NOTE: The kernel flags option has made some computers unbootable. </br> Type "-F mach_kernel -v" at the boot prompt if your computer fails to boot after messing around with this.

 

NOTE 2: **ONLY IF YOU HAVE PARTITIONMAGIC** In the event you are not provided with a boot prompt, just boot to Windows normally. In command prompt, use diskpart to set the second partition active. This will boot the computer directly to OS X 86. Once booted, delete the changes made to the com.apple.Boot.plist file, save, and reboot. Use PartitionMagic( There may be another way?) to boot the computer, then reset the Windows partition back to active. Reboot again and you're back to your OS Selection menu.

Share this post


Link to post
Share on other sites

If you want to show the Logo with spinning Boot Graphics

<key>Boot Graphics</key>

<string>Yes</string>

 

this do not work for me.

is there any other way to do it?

Share this post


Link to post
Share on other sites
To automatically use a certain graphics mode

<key>Graphics Mode</key>

<string>1280x1024x32@85</string>

Note: If your video card is using VESA 2.0 drivers, leave out the '@85' part as it only works on VESA 3.0 will cause the system to reset before getting anywhere.

 

I have a VESA 3.0 compatible video card (ATi Radeon X800 XL AGP) when I tried entering the graphics mode as 1280x1024x32@75 (my monitor's refresh rate), the system would only hang after OSx86 started up with the scrolling text. It said something along the lines of "Starting login application..."

 

Not including "@75" solved my problem. Maybe the "@" applies only to certain video cards?

Share this post


Link to post
Share on other sites

The (most likely) reason Kernel Flags doesn't work is because your physical hard drives keep swapping numbers. For example, in order to get my get my NTFS partitions attached to my SATA controller (nForce4 motherboard) to mount, I have to type the following:

sudo -s
mkdir /Volumes/"MX 300GB_1"
mount_ntfs /dev/disk0s1 /Volumes/"MX 300GB_1"

...but I have to keep changing disk0s1 to disk1s1, disk2s1, disk3s1, etc. until I get it mounted

Share this post


Link to post
Share on other sites
I have a VESA 3.0 compatible video card (ATi Radeon X800 XL AGP) when I tried entering the graphics mode as 1280x1024x32@75 (my monitor's refresh rate), the system would only hang after OSx86 started up with the scrolling text. It said something along the lines of "Starting login application..."

 

Not including "@75" solved my problem. Maybe the "@" applies only to certain video cards?

 

Same here. Entering the refresh rate didn't work, so I tried it without and it works fine. Curious to know why, though. My video card is a built-in S3 ProSavage8, and it's VESA 3.0

Share this post


Link to post
Share on other sites

For those who can't get bootgraphics to work, ensure that you don't have "-v" in <key>Kernel Flags</key>. The -v will override any bootgraphics options you have.

Share this post


Link to post
Share on other sites

Hey peeps,

 

I have a question, why cant u change the rez manually when u have QE/CI enabled,

i dont want to run callisto cuz i loose DVI.

 

funny i can change it ok when QE/CI are not enabled anyone have any ideas

 

Radeon 9600ap rosewill AGP

Display:

 

Type: VGA-Compatible Controller

Bus: PCI

VRAM (Total): 256 MB

Vendor: ATI (0x1002)

Device ID: 0x4150

Revision ID: 0x0000

Displays:

Display:

Resolution: 1024 x 768

Depth: 32-bit Color

Core Image: Supported

Main Display: Yes

Mirror: Off

Online: Yes

Quartz 2D Extreme: Supported

Quartz Extreme: Supported

 

tried all kinds of commands what am i missing?

 

Thanks to anyone that can help :poster_oops:

Share this post


Link to post
Share on other sites

Please! i'm trying hard to change the resolution in terminal but no way! seems like that when booting the system doesn't care about the boot.plist.

Share this post


Link to post
Share on other sites
If you want to show the Logo with spinning Boot Graphics

<key>Boot Graphics</key>

<string>Yes</string>

 

this do not work for me.

is there any other way to do it?

 

Go to the first kernel flags listing and delete the "-v".

Share this post


Link to post
Share on other sites

Could someone plzzzzzzzz help me with the headphone output?

 

I have ToH RC 2 install on my Compaq C571NR laptop. The installation work fine except for a few things.

The wireless doesn't work, (it's a boardcom 4311) and Initially there was no sound. I install the AppleAzaliaAudio.pkg, the sound works now. But I don't have headphone output. I tried to edit the AppleHDA.kext, I did a Linux codec dump. When I opened the Info.plist in AppleHDA, I really have no idea where to insert the NodeID as there are so many nodeids. I really what I am looking for. Pleas help.

 

MacPaq

Share this post


Link to post
Share on other sites

You must set the Graphics Mode to 1280x1024@75 without 32 --> NOT! 1280x1024x32@75

 

This work on all Resolutions tha are supported by your card.

Share this post


Link to post
Share on other sites

hi there....

 

i just edited my boot.plist

 

i did kernel flags -f

and the option darwin isn't shown on startup..

 

to get away the kernel flags as my laptop doesnt boot anymore,

i have to write something shown in post #1 ..

 

but i cant get to the prompt because of the option darwin not shown .. (silent boot = YES)

 

....

 

PLEASE HELP...!!!

CNTRL pressing on my HP Laptop nx7400 didn't work...

Share this post


Link to post
Share on other sites

NOTE: The kernel flags option has made some computers unbootable. </br> Type "-F mach_kernel -v" at the boot prompt if your computer fails to boot after messing around with this.

 

that command did not work for me after changing some thing in my boot plist. i still get my darwin boot prompt up, and have tried -x -v and -s -v but all i get is a bunch of garbage text, and then the system halts - no hdd activity, no need to 'hard boot' [or hold power for a lengthy period of time] as a quick touch will power down the system immediately.

 

unsure now how i am supposed to regain access to my boot.plist in order to revert changes made.

 

any help?

 

thanks.

 

please see attached .avi file - pause around 11 seconds to see the garbage that's being spit back at me.

 

thanks.

 

http://www.sendspace.com/file/96cxff

Share this post


Link to post
Share on other sites

well, for anyone else who can't get the -f prefix to work, or just a simple mach_kernel without it locking up on you, find yourself an install of Mac Drive 7 for Windows (free trial here: http://www.mediafour.com/products/macdrive...ial/default.asp)

 

after you have that all set up, find your OSX install disk or partition and use the directory tree to get yourself to Library -> Preferences -> SystemConfiguration and open up your com.apple.boot.plist with WORDPAD [notepad won't line wrap]

 

fix up whatever you botched and try booting up your osx side again.

 

i'm about to go try to boot right now. =)

Share this post


Link to post
Share on other sites
How do I edit my boot list to

 

boot using "mach_kernel.voodoo"

 

 <key>Kernel</key>
<string>mach_kernel</string>

mach_kernel should be replaced by mach_kernel.voodoo.

You also can specify a custom path, like Extra/mach_kernel.voodoo

Share this post


Link to post
Share on other sites

Hi Want_a_Mac,

 

I can't change my resolution to 1280x800 and i'm going to be mad.

I've followed your tutorial and at the boot when i write -x"GraphicsMode"="1280x800"platform=x86PC the resolution still remain 1024x768, i've try also with x32 (1280x800x32), if i try with 800x600 i must reboot and if i try with @60 i get a continous reboot.

 

It seems that my screen support only 1024x768,even lower resolution doesn't work.

I've an asus laptop with ati x2300 and CE/QI supported.

Please somebody help me

 

Thanks in advance

Share this post


Link to post
Share on other sites

urm..i want to hide the partition in cham rc4..

 

just add this in boot.plist?

 

<key>Hide Partition</key>

<string>hd(0,1) hd(2,5)</string>

 

and this ?

 

<key>PciRoot</key>

<string>1</string>

 

thx..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×