Jump to content

Chameleon 2.4svn Official PKG Installer


ErmaC
 Share

4,261 posts in this topic

Recommended Posts

I've installed this to a USB stick I prepared with 10.6.3 on it, and told the program to install in the EFI partition. (I'm supposing that's right, in order to get the program to find and use the kexts you install and not the defaults.) However, when it boots I don't get the normal Chameleon graphic installer, just a DOS-based text Darwin installer. This would be okay, except that the text is so large in this mode that it's hard to read all the messages on-screen.

 

Is there something special I need to select in the installer to get the graphic-based boot?

 

EDIT: Never mind. It's a parameter in com.Apple.boot.plist. Duh. :)

Link to comment
Share on other sites

I don't understand why you said this. :) You can install other files using Terminal too. boot0 can be installed using fdisk while boot1h can be installed using dd tool.

 

@scrax, I understand now why you said like that. You interpreted the word "copy" for just using "cp" command. Using fdisk & dd to install boot0 & boot1h can be seen as a copy process too. wink_anim.gif

Yes you are right, I interpreted copy as a finder operation (to avoid terminal) , that will of course work only for boot :(

 

I totally agree that cp fdisk and dd are all copy process

Link to comment
Share on other sites

Hi,

 

is it possible to add an archive containing boot/boot0/boot1h/cdboot files for the latest and next releases please ?

So that it could be possible to manually restore chameleon from a linux live distrib (for example), or make a BootCD.

 

In fact there's no way to extract files from installer package while running linux.

 

Thanks a lot !

Link to comment
Share on other sites

Installer based on Chameleon 2 RC5 rev. 563 (Trunk 517)

Unofficial Chameleon 2 RC5 installer

 

PLEASE

Thank you

 

Credits

We'll start off with a few credits...

  • The Voodoo team for binaries, source code, scripts, artwork.
  • el coniglio for his boots install scripts.
  • smith@@ for his boots install scripts.
  • scrax for his work on fix the official installer.
  • Anyone I have forgotten to mention.

_____________

What does this package?

  • (Option Select by default) Install the chameleon bootloader (boot0, boot1h and boot).
  • (Option Unselect by default) Install the chameleon bootloader (boot0hfs, boot1h and boot).
  • (Option Unselect by default) Copy the boot file in a folder inside Extra folder.
  • (Option Unselect by default) Create a directory called util inside the Extra with the executable bdmesg for the Boot dump tool
  • (Option Unselect by default) Creates / overwrites the standard theme with the new from rev 475
  • (Option Unselect by default) Added the Chameleon Preference Panel Version 2
  • (Option Unselect by default) Added option for setup the com.apple.Boot.plist
  • The smbios.plist, DSDT.aml or any SSDT Tables and any kext present inside the Extra and Extra/Extensions will not be touched.

Sept 13 2010 build with packagemaker

Sept 12 2010 build with packagemaker

Sept 11 2010 removed I need space

Sept 9 2010 build with packagemaker

Sept 8 2010 removed I need space

Sept 5 2010 removed I need space

 

_____________

Currently the package is localized in the following languages: not the menu options ... for now.

 

  • Language code: en Flag-of-United-Kingdom.pngEnglish
  • Language code: fr Flag-of-France.pngFrench
  • Language code: de Flag-of-Germany.pngGerman
  • Language code: es Flag-of-Spain.pngSpanish
  • Language code: it Flag-of-Italy.pngItalian thx to iFabio
  • Language code: pt Flag-of-Brazil.pngFlag-of-Portugal.pngBrazilian/Portuguese thx to oldnapalm
  • Language code: bg Flag-of-Bulgaria.pngBulgarian thx to rendnous
  • Language code: heFlag-of-Israel.pngHebrew thx to XLR
  • Language code: ruFlag-of-Russia.pngRussian thx to mozodojo
  • Language code: arFlag-of-Saudi-Arabia.pngArabic thx to Mohamed Khairy
  • Language code: plFlag-of-Poland.pngPolish thx to janek202

We need your help to give support to other languages!

How you can help?

This is the English version of the file needed for the localization:

download it and translate into your language then post it!

Chameleon 2 RC5 English language base file -->

You can also translate the ChameleonPrefPanel in the same way

here the English version of the file needed for the localization:

ChameleonPrefPanel English language base file -->

Useful link for help you to translation and code and format file

 

Huge thanks to everyone who contributed to making all this possible!

_____________

 

How make this package project?

  1. Crate a directory ( I called it Cham-pack )
  2. fireup your terminal and navigate to that directory created before
     
  3. (we download the "latest" trunk of chameleon) so always in the terminal
     
  4. Now... I do a little change in the file buildpkg located
    ../trunk/package/buildpkg
    what change?
     
    With this step... when we compile (make pkg) we also create a dir called "Resources" located in
    ../trunk/sym/Resources
    this folder contain the language updated with the latest revision in the text.

:construction: :construction: :construction:

soon I post all the file...

 

_____________

 

Chameleon bootloader Info

Trunk Changelog

- [i]last trunk 517 info[/i]
[size=1][b] rekursor:[/b]Fixed bad previous nhm mem reg reassignment, trp was 0 and ras was in fact CAS ...[/size]
- [i]last trunk 513 info[/i]
[size=1][b]mozodojo:[/b]Fixed RAS typo in NHM mem detection code (thanks & credits to Kabyl)[/size]
- [i]last trunk 492 info[/i]
[size=1][b]blackosx:[/b] increased theme.plist infobox_width from 650 to 660 to accommodate revised line length in boothelp.txt[/size]
- [i]last trunk 487 info[/i]
[size=1][b]blackosx:[/b] Updated /package/Resources with bulgarian language translation files from rednous.[/size]
- [i]last trunk 475 info[/i]
[size=1][b]blackosx:[/b] Re-worked shadows of the default theme device icons to allow for easy changing
of theme screen background colour. It also brings the added benefit of reduced file sizes.[/size]
- [i]last trunk 473 info[/i]
[size=1][b]blackosx:[/b] added missing thumb.png to default theme for Sonoton's Lizard app.[/size]
- [i]last trunk 468 info[/i]
[size=1][b]blackosx:[/b] Updated /package/Resources with portuguese language translation files from iFabio.[/size]
- [i]last trunk 454 info[/i]
[size=1][b]zef:[/b] Changed loading mechanism of *SDT and SMBIOS.plist files.
Using SMBIOS=<filename> option won't fall back to default location/filename lookup
if the user configured SMBIOS file was not found.
Using DSDT=<filename> still permits to load SSDT files. [/size]
- [i]last trunk 450 info[/i]
[size=1][b]zef:[/b] zef: Applied Azimutz's fake_efi changes for setting up EFI32/64 system tables. [/size]
- [i]last trunk 449 info[/i]
[size=1][b]zef:[/b] zef: Using EFI32 or EFI64 firmware ABI version depending on CPU features. [/size]
- [i]last trunk 445 info[/i]
[size=1][b]zef:[/b] Refactored detecting OS version.[/size]
- l[i]ast trunk 444 info[/i]
[size=1][b]zef:[/b] Fixed calling getBootVolumeDescription() with properly adjusted strMaxLen values.
Removed broken optionKey setting. Now using strncat() for adding proper NULL termination in destination strings.[/size]
- [i]last trunk 438 info[/i]
[size=1][b]zef:[/b] Added string terminator in getVolumeLabelAlias().
Changed printing method in activity indicator drawing to prevent logging.[/size]
- [i]last trunk 432 info[/i]
[size=1][b]zef:[/b] Applied danielkza's changes ([b]r424[/b] Reworked UUID/label matching;
Fixed NTFSGetUUID return value, [b]r425[/b] Fixed omission of fixed strbreak.).[/size]
- [i]last trunk 428 info[/i]
[size=1][b]zef:[/b] Added device ID 0x10DE086C for "GeForce 9300/nForce 730i"[/size]
- [i]last trunk 416 info[/i]
[size=1][b]zef:[/b] Refactored matchVolumeToString(), fixed NTFSGetUUID's return value.
Now "Hide Partition" can accept NTFS volume serials as well.[/size]
- [i]last trunk 408 info [/i]
[size=1][b]Kabyl:[/b] Make sure there is no (null) before another messsage is added to the log,
make bdmesg work in Leopard when compiled on Snow Leopard (native arch is used for now, not a fat binary)[/size]
- [i]last trunk 405 info [/i]
[size=1][b]blackosx:[/b] Added the latest set of theme files I have to get something in here.
To be honest there's not much else I can add without going over the top as I want to keep it simple
and it still has to fit most if not all resolutions.
The device icons are larger than the embedded theme to make use of the quality of the renders,
so as a consequence I have set the max_devices to 4.
I hope they're not deemed too big for small screen sizes, and if so I can either reduce their size
(which I don't really want to do), or lower the mac_devices further.[/size]

_____________

BootHelp.txt

[size=1]The boot: prompt waits for you to type advanced startup options.
If you don't type anything, the computer continues starting up normally. It
uses the kernel and configuration files on the startup device, which it also
uses as the root device. 

Advanced startup options use the following syntax:

   [device]<kernel> [arguments]

Example arguments include

device: rd=<BSD device name>       (e.g. rd=disk0s2)
        rd=*<IODeviceTree path>    (e.g. rd=*/PCI0@0/CHN0@0/@0:1)

kernel: kernel name                (e.g. "mach_kernel" - must be in "/" )

flags: -v (verbose)                -s (single user mode)
       -x (safe mode)              -f (ignore caches)
       -F (ignore "Kernel Flags" specified in boot configuration file)

"Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32")

kernel flags                       (e.g. debug=0x144)
io=0xffffffff                      (defined in IOKit/IOKitDebug.h)

Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"

If the computer won't start up properly, you may be able to start it up 
using safe mode.  Type -x to start up in safe mode, which ignores all 
cached driver files.

Special booter hotkeys:
 F5            Rescans optical drive.
 F10           Scans and displays all BIOS accessible drives.

Special booter commands:
 ?memory       Displays information about the computer's memory.
 ?video        Displays VESA video modes supported by the computer's BIOS.
 ?norescan     Leaves optical drive rescan mode.

Additional useful command-line options:
 config=<file>             Use an alternate Boot.plist file.

Options useful in the com.apple.Boot.plist file:
 Wait=Yes|No             Prompt for a key press before starting the kernel.
 "Quiet Boot"=Yes|No     Use quiet boot mode (no messages or prompt).
 Timeout=8               Number of seconds to pause at the boot: prompt.
 "Instant Menu"=Yes      Force displaying the partition selection menu. 

 "Default Partition"     Sets the default boot partition,
   =hd(x,y)|             where 'x' & 'y' are the disk and partition numbers
   =<UUID>                 or specify the selected volume UUID string.
 "Hide Partition"        Remove unwanted partition(s) from the boot menu.
   =hd(x,y) [hd(m,n)]      only non mac osx boot partitions can be hidden.

 "Rename Partition"        Rename partition(s) for the boot menu.
   =hd(x,y) <alias> [;hd(m,n) <alias2> ...]

 GUI=No                  Disable the GUI (enabled by default).
 "Boot Banner"=Yes|No    Show boot banner in GUI mode (enabled by default).
 "Legacy Logo"=Yes|No    Use the legacy grey apple logo (disabled by default).

 PciRoot=<value>         Use an alternate value for PciRoot (default value 0).

 GraphicsEnabler=Yes|No  Automatic device-properties generation for gfx cards.
 UseAtiROM=Yes|No        Use an alternate Ati ROM image 
                           (path: /Extra/<vendorid>_<devid>.rom)
 UseNvidiaROM=Yes|No     Use an alternate Nvidia ROM image 
                           (path:  /Extra/<vendorid>_<devid>.rom)
 VBIOS=Yes|No            Inject VBIOS to device-properties.

 EthernetBuiltIn=Yes|No  Automatic "built-in"=yes device-properties generation
                         for ethernet interfaces.

 USBBusFix=Yes           Enable all USB fixes below:
 EHCIacquire=Yes         Enable the EHCI fix (disabled by default).
 UHCIreset=Yes           Enable the UHCI fix (disabled by default).
 USBLegacyOff=Yes        Enable the USB Legacy fix (disabled by default).

 ForceHPET=Yes|No        Force Enable HPET.

 Wake=No                 Disable wake up after hibernation (default: enabled).
 ForceWake=Yes           Force using the sleepimage (disabled by default).
 WakeImage=<file>        Use an alternate sleepimage file. 
                           (default path is /private/var/vm/sleepimage).

 DropSSDT=Yes            Skip the SSDT tables while relocating the ACPI tables.
 DSDT=<file>             Use an alternate DSDT.aml file 
                           (default path: /DSDT.aml /Extra/DSDT.aml).

 SMBIOS=<file>           Use an alternate smbios.plist file 
                           (default path: /smbios.plist /Extra/smbios.plist
                            bt(0,0)/Extra/smbios.plist).

 SMBIOSdefaults=No       Don't use the Default values for SMBIOS overriding
                           if smbios.plist doesn't exist, factory
                           values are kept.

 "Scan Single Drive"     Scan the drive only where the booter got loaded from.
   =Yes|No               Fix rescan pbs when using a DVD reader in AHCI mode. 
 Rescan=Yes              Enable CD-ROM rescan mode.
 "Rescan Prompt"=Yes     Prompts for enable CD-ROM rescan mode.
 SystemId=<UUID>         Set manually the system id UUID,
                         SMUUID in smbios config (reserved field) isn't used.
 SystemType=<n>          Set the system type where n is between 0..6
                         (default =1 (Desktop)
 md0=<file>              Load raw img file into memory for use as XNU's md0
                         ramdisk. /Extra/Postboot.img is used otherwise.
[/size]

 

Fabio

Link to comment
Share on other sites

1 Question plz

How can I force the boot menu without hitting F8 all the time ?

 

By adding the following key and respective string in your com.apple.boot.plist:

<key>GUI</key>
<string>No</string>

Link to comment
Share on other sites

The package installation works great, except I was messing around with boot files to get my HD5870 working in something other than 32-bit since I need 64-bit for programming purposes, and after failing that I attempted to replace my handily placed backup of the 'boot' file which, with my luck managed to get corrupted.

 

Could someone please upload just the 'boot' file? There's no way I can get it from the PKG in Windows and I can't exactly build RC5's trunk release without a Mac either.

Link to comment
Share on other sites

The package installation works great, except I was messing around with boot files to get my HD5870 working in something other than 32-bit since I need 64-bit for programming purposes, and after failing that I attempted to replace my handily placed backup of the 'boot' file which, with my luck managed to get corrupted.

 

Could someone please upload just the 'boot' file? There's no way I can get it from the PKG in Windows and I can't exactly build RC5's trunk release without a Mac either.

Fortunately, I already extracted the boot file. I like to install it manually. This is the boot file extracted from RC5-r518 pkg:-

http://www.mediafire.com/?pwo01logchw4ara

Link to comment
Share on other sites

you can do it only with boot other file are not installed on a volume but on the disk boot sectors

 

Just a side note, IMO it's not a good idea to use EFI for boot, if you don't want to touch the system volume you can make a 50MB volume for chameleon and boot from there.

 

scrax,

 

Is there a particular reason why not to have the boot in the EFI partition? Also what about the /extra folder with the DSDT, com.apple.Boot.plist, smbios.plist and Extensions etc etc. I have had it this way for over a year now.

 

Thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...