Jump to content
21 posts in this topic

Recommended Posts

Ok,

 

So i have a tripple boot system with a Grub menu that lets me choose osx/winxp/linux.... but when i choose osx i get another bootloader, which seems to be a darwinesq bootloader.. which also has the above three options. with winxp as default.

 

I stupidly changed the settings in my com.apple.boot.plist and now it doesn't have a timeout, and just goes straight into the default option (windows).... so my question is,

 

How do i edit the entries of the Apple/OSX bootloader? Where is this info/setting located?

 

Thanks

 

-Dre

Link to comment
https://www.insanelymac.com/forum/topic/14185-editing-apple-bootloader/
Share on other sites

Add this to the com.apple.Boot.plist file

 

<key>Timeout</key>

<string>8</string> (you can use any amount of seconds)

 

To make OSX the default os boot Windows open up PartitionMagick and set the OSX partition as active.

Reboot and enjoy.

 

Thanks,

but setting OSX as the active partition will still only get me to the OSX bootloader. Im looking for the settings within osx that let me manipulate the bootloader configuration. Theres three options in my osx bootloader, and Winxp is the first one, and the default. I want to make the osx option the default...

 

 

-Dre

how would i set it with no time out and a graphical boot instead of a text boot. i used to have it in 10.4.3 but not in 10.4.5

 

ARRRGH! thread highjackers! i've googled this extensively and can find absolutely no information on editing the Darwin/OSX bootloader. Im guessing thers some sort of equivalent to the grub.conf file for grub, but i cant find this file at all! anyclue where this is? and please dont say com.apple.boot.plist cause thats not it!

 

-Dre

ARRRGH! thread highjackers! i've googled this extensively and can find absolutely no information on editing the Darwin/OSX bootloader. Im guessing thers some sort of equivalent to the grub.conf file for grub, but i cant find this file at all! anyclue where this is? and please dont say com.apple.boot.plist cause thats not it!

 

-Dre

 

Hey dude it works, just use the Finder, point at ur MacOS drive and type "com.apple.boot.plist" u get the file. Drag it out to the desktop and edit or else u won't be able to save it. After editing drag it back to the same containing folder and overwrite it. Just remove the "-v" and it won't show all the booting messages. :weight_lift:

Hey dude it works, just use the Finder, point at ur MacOS drive and type "com.apple.boot.plist" u get the file. Drag it out to the desktop and edit or else u won't be able to save it. After editing drag it back to the same containing folder and overwrite it. Just remove the "-v" and it won't show all the booting messages. :)

 

did you even read any of my posts in this thread?????

im not trying to get rid of booting messages. i want to edit the bootloader settings (the OSX/Darwin Bootloader, not grub, not windows bootloader). when i boot into osx i get a menu like this:

 

1) Windows XP (NTFS)

2) OSX

3) Debian Linux

 

and if i remove the -v option, it goes straight into the first entry, the default (windows)!!! im not asking how to get rid of verbose method, and im not a retard, i can edit a plist file from the terminal without copying it to my desktop, i just need to know where the god damm configuration file is, so i can change the default in this bootmenu.

 

sorry for being pissed, but maybe next time read through the whole thread before anwsering, theres only 5 posts!!!

 

-Dre

did you even read any of my posts in this thread?????

im not trying to get rid of booting messages. i want to edit the bootloader settings (the OSX/Darwin Bootloader, not grub, not windows bootloader). when i boot into osx i get a menu like this:

 

1) Windows XP (NTFS)

2) OSX

3) Debian Linux

 

and if i remove the -v option, it goes straight into the first entry, the default (windows)!!! im not asking how to get rid of verbose method, and im not a retard, i can edit a plist file from the terminal without copying it to my desktop, i just need to know where the god damm configuration file is, so i can change the default in this bootmenu.

 

sorry for being pissed, but maybe next time read through the whole thread before anwsering, theres only 5 posts!!!

 

-Dre

 

:) Sorry man, perhaps I'm the retard :P. I can't even solve my audio problem too. I know wat u are trying to do and I've tried to also if u can get it let us know then :)

Ive asked the same damn question ohhhh about 10 different ways with noone EVER answering the post. SOMEONE has to know how to do this. This is stupid..

 

Are you running grub or lilo as well? cause i'm starting to think the osx bootloader doesn't actually have any configuration files, and is somehow autogenerated when grub is installed... or perhaps when osx is first chainloaded out of grub. I read a little bit about it earlier today, but all i could find was referances to code, and building the loader yourself from scratch.

 

Im pretty much giving up at this point.

 

Thanks for acutally understanding what i was asking for!

 

-Dre

I've have never gotten to manualy add a new OS type to darwin bootloader. Maybe for the lack of trying, the only way I was able to added new OS types was to reinstall OS X :). It maybe writing entries to a file named chain0 in a hidden folder. Then again, it maybe writing the information in a binary form.

I've have never gotten to manualy add a new OS type to darwin bootloader. Maybe for the lack of trying, the only way I was able to added new OS types was to reinstall OS X :). It maybe writing entries to a file named chain0 in a hidden folder. Then again, it maybe writing the information in a binary form.

 

Yeah, i think thats exactly what its doing. i did find the chain0 file its something silly like /usr/standalone/i386/chain0

and it, and all the other boot/chain files in there are all binary... soooo...yeah... i guess it just writes that file when i install osx. oh well :P

The default entry in Darwin's bootloader is the partition that is marked active (bootable) in your partition table. Mark your osx partition active and that's the one that will auto boot. If you use grub, you can add the "makeactive" command to your MacOSX entry, and it will become the active. My grub.conf has:

...

title OS X 10.4.4 x86

rootnoverify (hd0,2)

makeactive

chainloader +1

...

The default entry in Darwin's bootloader is the partition that is marked active (bootable) in your partition table. Mark your osx partition active and that's the one that will auto boot. If you use grub, you can add the "makeactive" command to your MacOSX entry, and it will become the active. My grub.conf has:

...

title OS X 10.4.4 x86

rootnoverify (hd0,2)

makeactive

chainloader +1

...

 

If I remember correctly this (not exactly) is what I had to do. But because you want to do it with OS X and Darwin you need to use fdisk. Try that and see what happens. Or wait a couple of hours because I'm reinstalling right now, so I can tell you how it turns out.

 

*edit*

 

So I finally got my stuff reinstalled, and I had to do it in a really round-about way (have 10.4.3 installed on two partitions, then upgrade to 10.4.4), which in the end, allowed me to boot to the correct partition without having to mess with the bootloader. SO. I don't remember how I changed it before (I used to have it auto boot to a 10.4.3 part, and some how got it to switch to a 10.4.4).

 

But, have you tried to bless the OS X drive? If you're using the darwin boot loader, I imagine blessing might do the trick?

  • 3 weeks later...
  • 2 weeks later...

How do you hide partitions from appearing in the Darwin bootloader, which is the bootloader I'm using to boot both OSes?

 

I have three primary partitions on the drive I'm dual-booting XP and OS X from:

 

-Windows XP (NTFS) ~5.5 GB (disk0s1)

-OS X (HFS+) ~5 GB (disk0s2, active)

-Part 03: Personal Files (HFS+) ~233 GB (disk0s3)

 

The third one is shared between the two OSes via Mac Drive, but is not a bootable partition. Nevertheless, it appears in the Darwin bootloader. Is there any way I can prevent it from showing-up?

  • 1 year later...

xVariable,

 

Here is the command you will need to switch your default OS within the Darwin bootloader (you are correct that it has absolutely nothing to do with the "com.apple.Boot.plist" file):

 

sudo bless -folder /System/Library/CoreServices -bootinfo /usr/standalone/ppc/bootx.bootinfo -label "{enter whatever the disk label is for the HFS+ Mac partition here -- find this in diskutil}"

 

NOTE: Be sure to enter this all on one line. Also, this assumes you are blessing a Mac HFS+ partition which exists on your bootable drive (otherwise you will need to substitute the first "/" with "/Volumes/diskname/".

 

Cheers! :)

-Rob

xVariable,

 

Here is the command you will need to switch your default OS within the Darwin bootloader (you are correct that it has absolutely nothing to do with the "com.apple.Boot.plist" file):

 

sudo bless -folder /System/Library/CoreServices -bootinfo /usr/standalone/ppc/bootx.bootinfo -label "{enter whatever the disk label is for the HFS+ Mac partition here -- find this in diskutil}"

 

NOTE: Be sure to enter this all on one line. Also, this assumes you are blessing a Mac HFS+ partition which exists on your bootable drive (otherwise you will need to substitute the first "/" with "/Volumes/diskname/".

 

Cheers! -_-

-Rob

 

Never heard of bootx working on x86, I suspect this is s solution for PPC.. any confirmations?

 

Otherwise, afaik, there is no way to configure the darwin bootloader, it just works :)

×
×
  • Create New...