Jump to content
p.H

All the possible boot options for chameleon

2 posts in this topic

Recommended Posts

If you are confused by so many boot options chameleon has offered, here I want to show you some and their functionality.

If you have downloaded the source file of chameleon at http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/, you can find the boothelp.txt inside Trunk(or other branch depends on your decision)/doc/ If you haven't, it doesn't matter. You can download it from this post.

 

Here's the boothelp.txt with rev2136:

BootHelp@2136.txt

 

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 org.chameleon.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)|UUID|"Label"    Specified as a disk/partition pair, an UUID, or a
                            label enclosed in quotes.
 "Hide Partition"        Remove unwanted partition(s) from the boot menu.
   =partition               Specified, possibly multiple times, as hd(x,y), an
    [;partition2 ...]       UUID or label enclosed in quotes.
 "Rename Partition"      Rename partition(s) for the boot menu.
   =partition <alias>       Where partition is hd(x,y), UUID or label enclosed
    [;partition2 <alias2>   in quotes. The alias can optionally be quoted too.
    ...]
 GUI=No                  Disable the GUI (enabled by default).
 "Boot Banner"=Yes|No    Show boot banner in GUI mode (enabled by default).
 ShowInfo=No             Disables display of partition and resolution details.
                           "Boot Banner"=No will also disable this info.
 "Legacy Logo"=Yes|No    Use the legacy grey apple logo (disabled by default).
 PciRoot=<value>         Use an alternate value for PciRoot (default value 0).
 UseKernelCache=Yes|No   Yes will load pre-linked kernel and will ignore /E/E
         and /S/L/E/Extensions.mkext.
      Default is No but Yes if you use Lion on a Raid partition.
 KeyLayout=keymap        Use to change the keyboard mapping of the bootloader
                           (e.g. KeyLayout=mac-fr)
 GraphicsEnabler=Yes|No    Automatic device-properties generation for graphics cards.
   AtiConfig=<cardcfg>   Use a different card config, e.g. AtiConfig=Megalodon.
   AtiPorts=<value>      Specify the number of ports, e.g. AtiPorts=2.
 UseAtiROM=Yes|No      Use an alternate Ati ROM image
                           (default path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
 UseNvidiaROM=Yes|No   Use an alternate Nvidia ROM image
                           (default path:  /Extra/<vendorid>_<devid>.rom)
 VBIOS=Yes|No              Inject VBIOS to device-properties.
   display_0=<value>     Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).
   display_1=<value>     Inject alternate value of display-cfg into NVDA,Display-B@1 (HEX).
 EnableHDMIAudio=Yes   Inject HDMI audio for NVIDIA and ATI.
 EthernetBuiltIn=Yes|No  Automatic "built-in"=YES device-properties generation
                         for ethernet interfaces.
 ForceHPET=Yes|No        Force HPET on (disabled by default).
 USBBusFix=Yes             Enable the EHCI and UHCI fixes (disabled by default).
 EHCIacquire=Yes           Enable the EHCI fix (disabled by default).
 UHCIreset=Yes             Enable the UHCI fix (disabled by default).
 USBLegacyOff=Yes          Force USB Legacy off (disabled by default).
 Wake=No                   Disable wake up after hibernation (enbaled by default).
 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 bt(0,0)/Extra/DSDT.aml).
 GenerateCStates=Yes     Enable auto generation of processor idle sleep states
                           (C-States).
 GeneratePStates=Yes     Enable auto generation of processor power performance
                           states (P-States).
 CSTUsingSystemIO=Yes    New C-State _CST generation method using SystemIO
                           registers instead of FixedHW.
 EnableC2State=Yes       Enable specific Processor power state, C2.
 EnableC3State=Yes       Enable specific Processor power state, C3.
 EnableC4State=Yes       Enable specific Processor power state, C4.
 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 issues 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 the system id manually to UUID.
                         SMUUID in smbios config (reserved field) isn't used then.
 SystemType=<n>          Set the system type to n, 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.

Share this post


Link to post
Share on other sites
Advertisement

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By kylon
      Cloud Clover Editor is an open source application that allows you to manage various Hackintosh Bootloaders configs everywhere.

      Open Cloud Clover Editor
       
      Cloud Clover Editor Wiki
      Cloud Clover Editor Sources
       
       
      Features
      Supports Clover EFI, Ozmosis, Chameleon, OpenCore GUI and Text Editor Mode CCE Bank Mobile friendly  
      Officially supported browsers
      Chrome 42+ Microsoft Edge 14+ Firefox 39+ Safari 10+ Opera 29+ Opera Mobile 12+ Chrome for Android 75+ Firefox for Android 67+  
       
      Credits
      mackie100 - took some ideas from his app Clover EFI dev team Eric Slivka - new serial number Virtual1 - new serial number cecekpawon - PHP 5.3.3 patch, , help with the ACPI Loader Mode flag and more Micky1979 - Clover flying editor  (Discontinued) crusher. - Help with the ACPI Loader Mode flag Download-Fritz - Help with the ACPI Loader Mode flag Pavo - Ozmosis fields and values stehor - Ozmosis fields and values Sherlocks - General help and support gujiangjiang - General help and support  
      Please let me know if i forgot you!
    • By ciriousjoker
      TLDR:
      I'm trying to boot MacOS on a Chromebook without UEFI. I'm stuck at getting the bootloader (Chameleon/Clover) to work.  
      My setup / context:
      I have an Acer Chromebook Spin 13.
      Available ports:
      2 x USB-C 1 x USB-A 3.0 MicroSD Slot No USB A 2.0 (I've read that Clover has problems with USB 3.0) Firmware:
      There's no UEFI firmware available and by default, it doesn't even allow booting anything other than ChromeOS. Thanks to MrChromebox (big shoutouts!), I flashed a custom legacy bios that allows me to boot anything linux related. This bios is flashed into the RW_LEGACY section of the existing bootloader (coreboot afaik) and doesn't have any configuration options. If I have to change a setting, I could try compiling his bios payload myself with the specific setting enabled.  
      What I've tried so far:
      Chameleon attempts:
      Only selected setting was "Install chameleon on the chosen path", rest was unselected.
       
      1 - Install chameleon first without restoring the basesystem:
      Output:
      > boot0: GPT
      > boot0: done
      (hangs; pressing power button once shuts down
      Chameleon installation log is attached as "Chameleon_Installer_Log_BEFORE".
       
      2 - Install Chameleon after restoring the base system:
      Output:
      > boot0: GPT
      > boot0: GPT
      > boot0: doneboot1: /boot       <- Exactly like that, no line break in between
      (hangs; pressing power button once shuts down)
       
      I haven't been able to reproduce #2 after wiping the drive and doing the same thing again. Subsequent attempts have resulted in either #1 of either Chameleon or Clover.
      Chameleon installation log is attached as "Chameleon_Installer_Log_AFTER".
       
      Clover attempts:
      I tried multiple settings and configurations, but all of them boiled down to either one of these.
       
      1 - Doesn't do anything, just hangs at "Booting from usb..."
      2 - Boots into the blue/grey mode as shown in the attached images.
      According to MrChromebox, this could be an old Tianocore DUET It doesn't detect anything (cpu frequency, ram, partitions or disks)  
      I've read pretty much every article, github readme and other types of documentation for coreboot, tianocore, clover, chameleon and MrChromebox' rw_legacy payloads and right now, I'm totally clueless as to what to try next...
       
      A few questions that came up:
      Why does chameleon hang? What is it looking for, /boot was clearly written to the disk by the Chameleon installer? What exactly is the blue/grey image? According to MrChromebox, it could be Tianocore DUET Where does it come from? Clover? The mainboard itself? Why does the blue/grey thing not detect my processor frequency or any partitions/drives? Can I use some sort of DUET bootloader to chainload Clover?  
      If you guys could answer any of them or if you have any other guesses or information as to what's happening, I'd be really happy!
      Chameleon_Installer_Log_BEFORE.txt
      Chameleon_Installer_Log_AFTER.txt





    • By ErmaC
      Enoch
      Latest revision of my Chameleon bootloader branch.
       
      Not able to boot AFPS yet....
       
      Please don't upload it on other servers and don't repack it, thank you.
      - Installer PKG
      - Binaries format (Manual install)
      Please don't upload it on other servers and don't repack it, thank you.
       
      Chameleon bootloader credits goes to Chameleon Team http://forum.voodooprojects.org
       
      Changelog: http://forge.voodoop...e/changes/HEAD/
       
      This revision of Enoch contain the upcoming FileNVRAM revision 1.1.5 (RC8)
      Credits to Micky1979
       
       
      Language Translation:

      For on-line Chameleon language package resource edit
      >> Pootle
       
       
      Pls translate/complete it.
       
      Link here on InsanelyMac (Italian only): Enoch Bootloader
       
      Enjoy
       
      ErmaC
    • By ErmaC
      Latest revision of Chameleon bootloader.
       
      High Sierra(10.13.x), Sierra(10.12.x) and El Capitan(10.11.x) boot supported.
      Yosemite boot support starting from Chameleon revision 2381 (June 2014)
       
      Please don't upload it on other servers and don't repack it, thank you.
      - Installer PKG
      - Binaries format (Manual install)
      Please don't upload it on other servers and don't repack it, thank you.
       
      Credits to Chameleon Team http://forum.voodooprojects.org
       
      Changelog: http://forge.voodoop...e/changes/HEAD/
       
      Language Translation:

      For on-line Chameleon language package resource edit
      >> Pootle
       
       
      Pls translate/complete it.
       
      Link here on InsanelyMac: Chameleon 2.4svn Official PKG Installer
       
      Enjoy
       
      ErmaC
    • By grisno
      New version of the module "FileNVRAM.dylib" and the Kext "FileNVRAM.kext" that allows to emulate NVRAM in the bootloader Chameleon. This version is compatible with Mac OS Yosemite, El Capitan and Sierra.
       
      Do you need this module to work with iCloud, iMessage and Facetime when uses chameleon bootloader.
       
      ===================
      FileNVRAM.dylib
      ===================
       
      FileNVRAM copyright © 2013-2017 xZenue LLC.
      FileNVRAM is licensed under the Attribution-NonCommercial 3.0 Unported license.
       
      ===================
      Bugs
      ===================
       
      Please report any bugs at https://public.xzenue.com/bugzilla/
       
      ===================
      Requirements
      ===================
       
      Chameleon r2181 or newer
       
      ===================
      Sources
      ===================
       
      Micky1979
      meklort
×