whya Posted November 19, 2008 Share Posted November 19, 2008 When the Darwin boot loader gets the boot options from com.apple.Boot.plist, which one would it use in case of multiple OSX installations on the same hard drive? I found this in the boot loader's source code: BVRef selectBootVolume( BVRef chain ) { BVRef bvr, bvr1 = 0, bvr2 = 0; for ( bvr = chain; bvr; bvr = bvr->next ) { if ( bvr->flags & kBVFlagNativeBoot ) bvr1 = bvr; if ( bvr->flags & kBVFlagPrimary ) bvr2 = bvr; } bvr = bvr2 ? bvr2 : bvr1 ? bvr1 : chain; return bvr; } So (if this is the right place in the code), it's clear that it will prefer a "primary" partition over a "native" partition. But there is no break in the for condition, and it starts scanning from "chain" until the end of the partition list. So does that mean it would take the last suitable partition found in that list? Link to comment https://www.insanelymac.com/forum/topic/137245-mutiple-osx-partitions-which-comapplebootplist-used-by-darwin/ Share on other sites More sharing options...
Recommended Posts