Jump to content

Chameleon v2.1 (Main Trunk)


ErmaC
 Share

595 posts in this topic

Recommended Posts

Indeed... can't understand why the plist wasn't being loaded before, like now:

 ...
 Reading GPT partition 3, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
 Read HFS+ file: [hd(0,1)/Extra/org.chameleon.Boot.plist] 639 bytes.		   <--- call 1 before boot prompt
 Attempting to read GPT
 ...
 Scanning device 80...Press any key to enter startup options.(5) (4) (3) (2) (1) (0) Read HFS+ file: [hd(0,2)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist] 232 bytes.
 Read HFS+ file: [hd(0,1)/Extra/org.chameleon.Boot.plist] 639 bytes.		   <--- call 2 after boot prompt
 Setting boot-uuid to: 5BE1C9F3-5D59-3F24-BE0F-A33B3EAE1D9E
 Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 475 bytes.
 Loading Darwin 10.7
 ...

... weird :P Thanks.

 

So, the boot plist IS loaded from the selection and the only file loaded from the selection. Got ya.

???... See the example above...

On call 1, the bios boot partition (were the booter is installed) is set as root volume, thus /Extra (root->Extra) or just Extra (currentFolder->Extra)

will point to the bios boot partition.

On call 2, the selected boot partition (were the system is installed) is set as root volume, thus /Extra or just Extra

will point to the selected boot partition. At this point, the only way to "force" loading a file from the bios boot partition,

is by specifying e.g. bt(0,0)/Extra/something at the boot prompt or in the Boot.plist on the selected boot partition.

 

Just as a curiosity, besides the cases were the booter is installed to a separate partition (e.g. EFI partition),

bios boot partition and selected boot partition are exactly the same location :unsure:

Link to comment
Share on other sites

I've found that Chameleon 1208 will not load Legacy (PList only) kexts from /E/E Unless i boot with UseKernelCache=No -f.

 

Is there a fix for this?

 

(N.B. I dont need to do this when i boot my snow leo partion, only my lion install)

 

Yes and no UseKernelCache=Yes only loads the kernel cache and nothing from Extra/Extensions either boot without using kernel cache or put all of your kexts into the /S/L/E folder.

 

I would use kextwizard for that.

Link to comment
Share on other sites

The last version doesn't work good, with 1039 I don't see next messages:

 

Jul 25 13:58:16 localhost kernel[0]: Kext com.apple.driver.AppleHDAController - library kext com.apple.iokit.IOGraphicsFamily not found.
Jul 25 13:58:16 localhost kernel[0]: Can't load kext com.apple.driver.AppleHDAController - failed to resolve library dependencies.
Jul 25 13:58:16 localhost kernel[0]: Kext com.apple.driver.AppleHDAController failed to load (0xdc00800e).
Jul 25 13:58:16 localhost kernel[0]: Failed to load kext com.apple.driver.AppleHDAController (error 0xdc00800e).
Jul 25 13:58:16 localhost kernel[0]: Couldn't alloc class "AppleHDAController"
Jul 25 13:58:16 localhost kernel[0]: FakeSMC: opensource SMC device emulator by ne
Jul 25 13:58:16 localhost kernel[0]: Kext com.apple.ATIRadeonX3000 - library kext com.apple.iokit.IOGraphicsFamily not found.PXHCD	0xffffff80f2a46000:UIMInitialize xHC addressing capability 64 bit register
Jul 25 13:58:16 localhost kernel[0]: Can't load kext com.apple.ATIRadeonX3000 - failed to resolve library dependencies.
Jul 25 13:58:16 localhost kernel[0]: Kext com.apple.ATIRadeonX3000 failed to load (0xdc00800e).
Jul 25 13:58:16 localhost kernel[0]: Failed to load kext com.apple.ATIRadeonX3000 (error 0xdc00800e).
Jul 25 13:58:16 localhost kernel[0]: Couldn't alloc class "ATIRadeonX3000
Jul 25 13:58:16 localhost kernel[0]: Kext com.apple.driver.AudioAUUC - library kext com.apple.iokit.IOGraphicsFamily not found.
Jul 25 13:58:16 localhost kernel[0]: Can't load kext com.apple.driver.AudioAUUC - failed to resolve library dependencies.
Jul 25 13:58:16 localhost kernel[0]: 0		0 AppleUSBCDC: start - initDevice failed

Link to comment
Share on other sites

Guys, what are your suggestions regarding which boot0 booter to use for EFI and RAID partitions?

Should you always use the traditional boot0 (prefer active partitions first) and set the partition active, or can you use the boot0hfs/boot0md booters? (bootable HFS partitions first). I haven't worked out in my mind all the different setups/scenarios that one may have that would make one booter a better candidate than the other in this situation.

 

Are there some scenarios where the boot0hfs/boot0md would be preferred to the boot0 on EFI or RAID, or is that just not a recommended setup?

 

I would just like to hear a developer's opinion on this, particularly since they designed the booter for a specific purpose.

 

best of wishes,

MAJ

 

Edit: spelling.

Damn, I hate Lion's auto speller!

Link to comment
Share on other sites

  • 2 weeks later...

I just noticed this a few days ago and I am not sure this is the place to report it. I thought the disk I boot OS X from - using Chameleon - would always be disk0. However, on my system, it is sometimes disk0 and sometimes disk1 or disk2. See clip from terminal session below.

 

Read HFS+ file: [hd(0,2)/System/Library/Extensions/System.kext/PlugIns/System6.0.kext/kernel.6.0] 151352 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/System.kext/PlugIns/Unsupported.kext/Unsupported] 8864 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/TMSafetyNet.kext/Contents/MacOS/TMSafetyNet] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/TMSafetyNet.kext/Contents/MacOS/TMSafetyNet] 11616 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/udf.kext/Contents/MacOS/udf] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/udf.kext/Contents/MacOS/udf] 292416 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/VoodooHDA.kext/Contents/MacOS/VoodooHDA] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/VoodooHDA.kext/Contents/MacOS/VoodooHDA] 205424 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/webdav_fs.kext/Contents/MacOS/webdav_fs] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Extensions/webdav_fs.kext/Contents/MacOS/webdav_fs] 44336 bytes.
Starting Darwin x86_64
UHCI controller [8086:3a37] at 00:1a.0 base 520(a401)
UHCI controller [8086:3a38] at 00:1a.1 base 524(a481)
UHCI controller [8086:3a39] at 00:1a.2 base 540(a801)
EHCI controller [8086:3a3c] at 00:1a.7 DMA @f9bfec00
Setting Legacy USB Off on controller [8086:3a3c] at 00:1a.7
Legacy USB Off Done
EHCI controller [1033:00e0] at 06:00.2 DMA @f9eff400
Setting Legacy USB Off on controller [1033:00e0] at 06:00.2
Legacy USB Off Done
EHCI controller [1033:00e0] at 04:00.2 DMA @f9dffc00
Setting Legacy USB Off on controller [1033:00e0] at 04:00.2
Legacy USB Off Done
UHCI controller [8086:3a34] at 00:1d.0 base 544(a881)
UHCI controller [8086:3a35] at 00:1d.1 base 560(ac01)
UHCI controller [8086:3a36] at 00:1d.2 base 580(b001)
EHCI controller [8086:3a3a] at 00:1d.7 DMA @f9bff800
Setting Legacy USB Off on controller [8086:3a3a] at 00:1d.7
Legacy USB Off Done

bash-3.2# diskutil list
/dev/disk0
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:     FDisk_partition_scheme                        *500.1 GB   disk0
  1:               Windows_NTFS SYSTEM                  49.3 MB    disk0s1
  2:               Windows_NTFS HP                      488.6 GB   disk0s2
  3:                       0x17                         11.5 GB    disk0s3
/dev/disk1
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:      GUID_partition_scheme                        *2.0 TB     disk1
  1:                        EFI                         209.7 MB   disk1s1
  2:                  Apple_HFS OSX-Lion                399.9 GB   disk1s2
  3:                  Apple_HFS OSXdata                 399.9 GB   disk1s3
  4:                  Apple_HFS OSXmedia                399.9 GB   disk1s4
  5:                  Apple_HFS OSXtest                 399.9 GB   disk1s5
  6:                  Apple_HFS SnowLeopard             383.0 GB   disk1s6
  7:                  Apple_HFS OSXinstaller            15.9 GB    disk1s7
/dev/disk2
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:     FDisk_partition_scheme                        *1.0 TB     disk2
  1:               Windows_NTFS Data                    1.0 TB     disk2s5
/dev/disk3
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:     Apple_partition_scheme                        *10.8 GB    disk3
  1:        Apple_partition_map                         32.3 KB    disk3s1
  2:                 Apple_HFSX lesliehazelton          10.8 GB    disk3s2
bash-3.2# 

 

This does not appear to cause a problem except when I try to run my Boot Camp Win7 under Parallels.

 

I am currently using Chameleon2 rc5 rev 1306 installed by a recent version of Chameleon Wizard.

 

If this is a known and/or normal condition then I'm sorry for the useless post. My system config is listed in my sig. Note that OS X is booted from the external eSATA box which has two 2Tb drives configured as a hardware raid 1 drive.

Link to comment
Share on other sites

Using latest version 1348. With this version and any version above 800, system runs hotter, fans run continuous and and battery life is 1hr 45min fully charged. With chameleon 800, system cooler minimal fan usage and battery life is 2hrs 45min. Anyone know why this would be the case.

 

System is (Notebook) Samsung r530 Intel Core i3 i3-350M / 2.26 GHz,NVIDIA GeForce 310M

Link to comment
Share on other sites

There is another way to do this.

Make a file named rc.local and place it in /etc, fix permissions to root:wheel

Place in rc.local this.

kextload /Volumes/EFI/Extensions/*

 

I don't use EFI partition, just make sure the /Volumes/??? actually points to the EFI folder.

Far easier to just use /Extra/Extensions and not worry about the EFI thing.

In this case the command is just kextload /Extra/Extensions/*

 

I tried this on my Asus G51Jx Core i7 first generation. I have the issue where it looks like either I executed the -f command line or touch'd extensions before every boot. This is on any PC with Lion and the latest Chameleon using Chameleon Wizard to update Chameleon revisions.

 

I added the script "usekernelcache=yes" to my org.chameleon.Boot.plist. When I did this it stopped at the PCI Configuration Begins and never boots onto the desktop.

 

The PCI Configuration Begins with no verbose messages did this before editing rc.local and OCBP. So now on the laptop Asus G51jx it never boots onto the desktop, it just gets stuck after PCI COnfiguration Begins. Removing the script userkernelcache from OCBP brings it back to the way it was before even with the rc.local script it still runs as though I touch'd extensions on every boot.

 

I have to try this technique to my Gigabyte boards and my other Laptops to see if this is an isolated case.

 

 

 

EDITED A FEW MINUTES LATER:

 

Works perfectly on a GA-G41-ES2L Desktop Motherboard.

 

I removed the extensions.mkext from /extra but if I use Kext wizard I have to remind myself to remove it again.

 

Now I have to figure out why I cannot get this script to work on the Laptop that stops at [PCI Configuration Begins] and never boots onto the desktop. Just to clarify this, with or without the script, it stops at [PCI Configuration Begins] and boots onto the desktop fine but with the script it stops right after that message and never boots in.

Link to comment
Share on other sites

There is another way to do this.

Make a file named rc.local and place it in /etc, fix permissions to root:wheel

Place in rc.local this.

kextload /Volumes/EFI/Extensions/*

 

I don't use EFI partition, just make sure the /Volumes/??? actually points to the EFI folder.

Far easier to just use /Extra/Extensions and not worry about the EFI thing.

In this case the command is just kextload /Extra/Extensions/*

 

This works great except for Laptops you have to move the PS2nub and controller over the /S/L/E.

 

It does not load them thus no keyboard. I don't know why?

Link to comment
Share on other sites

Hy guys,

 

I am using the latest chameleon (Chameleon 2.1svn (svn-r1485)).

 

Chameleon can't generate an UUID. Here is the message in bdmesg:

"No UUID present in SMBIOS System Information Table"

"[ERROR] UUID='0123456789ABCDEF' syntax error"

 

What can I do to get the right UUID for my System?

 

Thanks for helping and best regards

MasterLEN

Link to comment
Share on other sites

Hello, probably somebody noticed that resuming Lion from sleepimage after hibernation doesn't work anymore - incorrect signature. May anybody check this out and fix?

 

You are right. There is an issue opened for this problem. Look here: http://forge.voodooprojects.org/p/chameleon/issues/133/

 

I will post my boot with changes provided from Vladimir Zidar to provisory fix for this issue.

This boot is on svn version 1501.

Hibernation is working for me.

Hope it will help you too.

boot.zip

Link to comment
Share on other sites

  • 3 months later...

I have a question about the use of kernelcache.

If I use the kernelcache can I use the Extra/Extensions folder and/or the mkext?

In a hack of mine I put all kexts in S/L/E and the kernelcache works good, no problems!

But for my minihack is not the same, in fact the FakeSMC wasn't load in S/L/E , I solved the problem creating the mkext only with FakeSMS and putting it in Extra.

 

Could anyone sort me out?

 

Thanks :)

Link to comment
Share on other sites

  • 2 months later...

Hi guys!

I have two questions:

 

• If I use a EFI string in my org.chameleon.boot.plist, for example to inject a device ID, the GraphicsEnabler doesn't work, Why? Should be possible to fix it?

 

• I've extracted the GraphicsEnabler injection of my ATi 6870 with Lizard, but if I convert it with gfxutil and put the EFI string in org.chameleon.boot.plist I can't boot! What is the reason? It has always worked for my NVidia cards.

chameleon-devprop.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...