InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Best way to dual boot Leo & Snow Leo with Chameleon RC3? (http://infinitemac.com/showthread.php?t=4009)

thorazine74 09-17-2009 12:15 PM

In case anyone's interested I managed to get a dual boot working with this layout:

/boot
/Extra/com.apple.Boot.plist
/Extra/smbios.plist
/Extra/DSDT.aml
/Extra/Extensions/*.kext ---> These ones loaded only for Leopard
/Extra/10.6/Extensions/*.kext ---> These ones loaded only for Snow Leopard

Thats the partition with Leopard installed, no /Extra in SnowLeo partition.
Currently there is no way I know of to have a different com.apple.Boot.plist for Leopart and Snow Leopard with Chameleon (in Extra).
Now I have to find out why VoodooPS2 stopped working in Leopard, but thats another story...

sk1nhd33t 09-17-2009 07:42 PM

maybe this could help too.

this is how my backup OS layout looks like on RC3. though it works, my main OS (disk0) is still on RC1+EFI10.1 because of the multiple sound assertion im getting on RC3.

installed on a hidden EFI partiton w/ no Extra folder on both OS/partition.

http://i30.tinypic.com/315gx9y.png

disk0 is my main OS, disk1 is the pictured above.

Code:

/dev/disk0
  #:                      TYPE NAME                    SIZE      IDENTIFIER
  0:      GUID_partition_scheme                        *640.1 GB  disk0
  1:                        EFI                        209.7 MB  disk0s1
  2:                  Apple_HFS SnowLeopard            619.7 GB  disk0s2
  3:                  Apple_HFS Backup|OS              20.0 GB    disk0s3
/dev/disk1
  #:                      TYPE NAME                    SIZE      IDENTIFIER
  0:      GUID_partition_scheme                        *1.0 TB    disk1
  1:                        EFI                        209.7 MB  disk1s1
  2:                  Apple_HFS PowerHack              984.7 GB  disk1s2
  3:                  Apple_HFS Leo|Backup              15.0 GB    disk1s3


thorazine74 09-18-2009 09:06 AM

Thanks, I think I understand how it works now.
The published 10.5/10.6 folders work as advertised if you are booting from EFI System Partition (or probably in a separate boot partition, if you have Chameleon installed in the OS partition, the 10.5 or 10.6 folder doesnt work.

mitchde 09-18-2009 12:08 PM

Can someone explain that rdisk= with boot-uuid= for an dual boot LEO / SNOW

for example:
disk0s1 is Leo , active (standard boot disk), uuid= AAAAA
disk0s2 is Snow Leo, not active (F8>Snow), uuid= BBBBB

What i cant understand is why both are needed, or is rdisk= more urgent for that dual boot problem ?
If from LEO partition is bootet (LEO is active) , does Chameleon loads all of that stuff(/EXTRA) BEFORE i set by F8 booting Snow Leo from other disk ?!

Thanks
I made that dual boot by having noting special (snow leo/leo) in the /EXTRA/Extensions , also no .mkext. All special kext (Leo vs SL) i put the their own System/Extensions

mormegil 09-18-2009 01:10 PM

I didn't have to use rdisk flag when I was using netkas's 10.1. Just needed boot-uuid that's all.

After RC3, it didn't work. Kexts were only being loaded from active partition. I guess it's due to MBR/GPT difference (I'm using MBR).

mitchde 09-19-2009 06:37 AM

"Kexts were only being loaded from active partition."
Thats excat what i am thinking.
Can here the rdisk= help ?

Also i get confused by an other .plist entry i seen(never used):
<key>Default Partition</key>
<string>hd(0,2)</string>
Is that the partition which CH will boot from, even if its NOT active ?
What is the depency of Default Partition= and rdisk= ?
I believe, if Cham RC2/3 has not an bug in bootpart, the luck maybe in the correct usage of that two :
rdisk= and Default Partition=

How to use it for that example:
disk0s1 is Leo , active (active boot disk), uuid= AAAAA
disk0s2 is Snow Leo, not active (F8>Snow), uuid= BBBBB
Thanks!

EDIT: I posted this question also on the Chameleon RC3 homepage postings (looking for CH heros ;) )

mormegil 09-19-2009 09:00 AM

Yeah. rd=diskXsY flag is for those with mbr scheme I think. No such thing as active partition in GPT, am I right?

"Default Partition" is just that: the default partition Chameleon will be set to boot. If it's not set, default will be the active partition. If youre on GPT scheme, the partition Chameleon is installed to will be default? So yes, in your case if you want Snow to boot by default you will need it.

So, boot-uuid flag is for GPT, rd=diskXsY is for MBR I think. Thats only for RC3 anyway. I still use both though.. no harm done.

mitchde 09-19-2009 02:11 PM

Thanks.
But for what is that 10.5 and 10.6 subfolders in /EXTRA ?
I (will) not use that, becaue Chameleon should use that /EXTRA from active partition (Chameleon boot device menue not used) OR use , after selecting other boot device in Chameleon boot menue , that /EXTRA i selected in the boot menue .

So 10.5 / 10.6 subfolders may an SIGN, that Chameleon cant/does not reload /EXTRA stuff when selecting an different device for booting in the Chameleon main menue.
So maybe wrong /EXTRA content is used - that content from the active partition.

mormegil 09-19-2009 05:14 PM

Quote:

Originally Posted by thorazine74 (Post 35186)
Thanks, I think I understand how it works now.
The published 10.5/10.6 folders work as advertised if you are booting from EFI System Partition (or probably in a separate boot partition, if you have Chameleon installed in the OS partition, the 10.5 or 10.6 folder doesnt work.

Think it's this. For those booting off EFI partition or usb drive. Makes for more of a vanilla setup without Extra folder in root. Not really essential to use though.

mitchde 09-20-2009 11:00 PM

Netkas has released his PC EFI 10.3 (Chameleon RC3 + some features Minus some bugs)
http://netkas.org/?p=224#comments
I will use that (i used 10.1 with success).