overdue-scratch

Author Topic: Multiple boot.plist to set custom kernel flags per partition  (Read 3045 times)

0 Members and 1 Guest are viewing this topic.

tomdekuijper

  • Entrant
  • Posts: 2
All,

I am struggling for something that maybe is it not so difficult but google couldnt help me, so reaching out to you all.....

I have Chameleon installed on a separate partition (according to mammoth installation method for the HP DV series) and have now installed Snow, Lion, Snow (backup) and Windows 7.....all boots fine with the exception of lion....The reason is that I need to use
custom kernel flags and a different kernel name (and even extension for lion).

My understanding is that boot.plist is loaded from the partition that Chameleon is installed but can I have a separate boot.plist for each partition or maybe even specifiy boot parameters per partition in one single boot.plist?

Many thanks for all you help in advance,

Tom

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Re: Multiple boot.plist to set custom kernel flags per partition
« Reply #1 on: July 10, 2011, 12:23:30 AM »
AFAIK it's possible to do what you want but I'm not exactly sure how it works because I've never had to do it.

I know it works with Leopard and Snow Leopard where you can have /Extra/10.5 and /Extra/10.6 but I don't know if an /Extra/10.7 has been implemented for Lion yet.

Another thing, I'm not sure if the correct name for the folder is "10.6" or if it's "106"...or whatever.

If I needed to use this feature, the first place I would look for more information would be in the Chameleon trunk source code:
http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk

Hopefully this helps a bit, sorry I can't be more specific.   
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

meklort

  • VoodooLabs
  • Posts: 65
Re: Multiple boot.plist to set custom kernel flags per partition
« Reply #2 on: July 10, 2011, 03:12:44 AM »
With the latest revisions of chameleon (say, r1100+), both com.apple.Boot.plist and org.chameleon.Boot.plist are reloaded when you select a new partition to boot. That means that you can have a different /Extra/org.chameleon.Boot.plist for each partition and have the kernel flags / kernel name selected individually.
return c ? c : !c;

tomdekuijper

  • Entrant
  • Posts: 2
Re: Multiple boot.plist to set custom kernel flags per partition
« Reply #3 on: July 10, 2011, 06:21:19 AM »
Great!

Thx a lot!