Jump to content

How can I Edit com.apple.boot.plist?


  • Please log in to reply
38 replies to this topic

#1
brendankoch

brendankoch

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
  • Location:Canada
Can someone please tell me how to edit my com.apple.boot.plist file so that I can change the resolution to 1280x1024? I get permission errors even when using sudo.

#2
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
If you boot in Single User mode you are root so you can type
nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

edit whatever you want the type Control-X to save and exit.

If you booted in GUI run Terminal and type
sudo su
type your password
type the command same command line as in single user mode.

#3
roxtaz

roxtaz

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Iasi, Romania

If you boot in Single User mode you are root so you can type
nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

edit whatever you want the type Control-X to save and exit.

If you booted in GUI run Terminal and type
sudo su
type your password
type the command same command line as in single user mode.

Much more simpler way to do this is to browse with Finder to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and just drag damn' file to your desktop. After that edit your file (the desktop one) and save it. To finish the job you drag the desktop version in the same folder where the old one was ... /Library/Preferences/SystemConfiguration/ and it should appear some dialog window....press the Authenticate button and type your password when it's asked for. Good job ... all done! :)

By the way ... did you changed your root password?
To do so you open Terminal and type sudo passwd root.
Then you type your password and after that type your chosen root password (twice)
Now it should repeat first part and it should work. :D

#4
wesley

wesley

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 178 posts
Why would you want to drag it to the desktop to edit? Just edit the original one. Use a text editor like Smultron (yes, there's an Intel compiled version). When you try to save it, you'll get authentication popup and you just enter the password to save it correctly. Even simpler.

#5
OverCool

OverCool

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Hi all...

Im edit the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and insert the lines:
<key>Graphics Mode</key>
<string>1280102432</string>

I restart my osx86 (10.4.3) and my screen resolution dontt change. (original is 1024x768).

I open the file again and the lines are there!!

What I can do to change may resolution to 1280x1024.
My monitor is LG 710SH 17" and my vga is one FX 5200 with 256mb 128 bits.

Tanks and I hope some one can help me.. please..

Andre

#6
DrJgermeister

DrJgermeister

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,028 posts
  • Location:Somewhere in France
  • Interests:Sex, drugs and rock &amp; roll

Hi all...

Im edit the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and insert the lines:
<key>Graphics Mode</key>
<string>1280102432</string>

I restart my osx86 (10.4.3) and my screen resolution dontt change. (original is 1024x768).

I open the file again and the lines are there!!

What I can do to change may resolution to 1280x1024.
My monitor is LG 710SH 17" and my vga is one FX 5200 with 256mb 128 bits.

Tanks and I hope some one can help me.. please..

Andre

Do you ever tryed to type "Graphics Mode"="1280x1024x32" at the Darwin bootloader?
If this also don't work then maybe it's not possible with your Nvidia card in VESA mode.

#7
OverCool

OverCool

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
How I can do it in Darwin bootloader? (tanks for the fast response :( )

#8
DrJgermeister

DrJgermeister

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,028 posts
  • Location:Somewhere in France
  • Interests:Sex, drugs and rock &amp; roll

How I can do it in Darwin bootloader? (tanks for the fast response :( )

Press F8 at boot (quickly) and you should have something like this:
Posted Image

#9
thunder.scripts

thunder.scripts

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 233 posts
I tried and it didn't work (I tried both ways)
I've got a geforce 6600. Is there anything i can do?

#10
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets

Much more simpler way to do this is to browse with Finder to /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and just drag damn' file to your desktop. After that edit your file (the desktop one) and save it. To finish the job you drag the desktop version in the same folder where the old one was ... /Library/Preferences/SystemConfiguration/ and it should appear some dialog window....press the Authenticate button and type your password when it's asked for. Good job ... all done! :D


That's not simplier, that's just GUI way.

#11
OverCool

OverCool

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Dear DrJgermeister,

Your tip work, I insert im my bootloader and my new resolution are working. But how I can do this automatic?

Tanks

#12
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Edit the com.apple.Boot.plist and add that value to the kernel flags key.

#13
OverCool

OverCool

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
macgirl,

How I can do it, please?

Tanks

Andre

#14
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
Open Treminal from the Utilities Folder, then run this:
sudo pico /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
the system ask for your password, then add it after the
<key>Kernel Flags</key>
<string>"Graphics Mode"="1280102432"</string>

I don't know why it is not working with
<key>Graphics Mode</key>
<string>1280102432</string>

Just a hint, diconnect the TV connector before boot if it is connected of course.

#15
TB205GTI

TB205GTI

    InsanelyMac Protégé

  • Members
  • Pip
  • 25 posts
I have some sort of the same problem.. I use -s to get single user mode, and I use emacs to edit the Boot file, but I get "read only". Ok I'll just chmod it to a+w, but then it get the following message: Read-Only file system..

what to do?

#16
Poni Kamu

Poni Kamu

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
How can I make an other partition default. And can I make this bootloader run automatically (without F8) and wait a few minutes to choose if i want to run an other OS???

#17
oZen

oZen

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
You can try this:
<key>Kernel Flags</key>
<string>rd=diskXsY</string>

to boot on another partition, but it didn't work for me (probably because of NTFS, perhaps with FAT32 it'll work who knows...)

And with this you'll have the timer:

<key>Timeout</key>
<string>8</string>

8 seconds here...

(As you can see in the file, <key>Timeout</key> and <key>Kernel Flags</key> could already be wrote, don't make twice...)

#18
ATKJEDI

ATKJEDI

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
you have to
fsck -fy
and
mount -uw /

Before you can edit in single user

#19
keeshond

keeshond

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
  • Gender:Male

Hi all...

Im edit the file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and insert the lines:
<key>Graphics Mode</key>
<string>1280102432</string>

I restart my osx86 (10.4.3) and my screen resolution dontt change. (original is 1024x768).

I open the file again and the lines are there!!

What I can do to change may resolution to 1280x1024.
My monitor is LG 710SH 17" and my vga is one FX 5200 with 256mb 128 bits.

Tanks and I hope some one can help me.. please..

Andre


Maybe if you add a refresh rate it works? Example: 1280x1024x32@75

Greetz keeshond

#20
sev7en

sev7en

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 552 posts
  • Gender:Male
  • Location:Italy
  • Interests:AIEN
Hi there,
I'd like to move to 1280x1024 as well but I tried all these tips with no success. There are other way to set that display resolution? I've a Toshiba M70-166, LCD native res is 1280x1024.



Thanks in advance...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy