Jump to content
ErmaC

Chameleon 2.4svn Official PKG Installer

4,313 posts in this topic

Recommended Posts

Advertisement

Hi ErmaC

 

Thanks for re-typing the text in to the installer (sorry I didnt' get round to posting it). ;)

It looks great and works well. I even see more options now for the com.apple.Boot.plist! good thinking.

 

For each bootloader option, can you use a smaller font in the bottom text box and also add line breaks?

I ask because I made the text fit on 4 lines to try and make it more readable. like in the examples below.

 

Note: I have made a couple of corrections to the wording and highlighted them in blue and removed a word and highlighted that in red.

 

Chameleon bootloader option

Chameleon's boot process requires three essential files. (Listed in simple terms)
boot0 - Install to the drive's MBR - responsible for loading [color="#0000FF"]boot1h[/color].
boot1h - Install to the partition's boot-sector - responsible for finding boot.
boot - Install to the partition's root directory - responsible for loading kernel.
boot0 option

This option [color="#0000FF"]Installs[/color] the three essential files and writes boot0 to the first
440 bytes of the MBR so as not to destroy any existing Windows code.
* boot0 searches for boot1h on the first active partition.
* This install option activates [color="#0000FF"]your[/color] selected target partition.
boot0hfs option?

This option [color="#0000FF"]Installs[/color] the three essential files and writes [color="#0000FF"]boot0hfs[/color] to the first
440 bytes of the MBR so as not to destroy any existing Windows code.
* boot0hfs searches for boot1h on the first [color="#FF0000"][s]active[/s][/color] partition, regardless of active flag.
* This install option does not activate [color="#0000FF"]your[/color] selected target partition.

Thanks again for your work and these are just simple guidelines without adding too many words to keep it simple. And like I've said before, if anybody has better words / phrases for this then please submit your suggestions.

Share this post


Link to post
Share on other sites

I thought this thread was intended for improving this package installer and not for questions about general OS X installation and Chameleon features etc. ? iFabio, please correct me if I'm wrong.

 

can i select install options (i need bootohfs) directly in the Setup Dialog

yes

Share this post


Link to post
Share on other sites
I thought this thread was intended for improving this package installer and not for questions about general OS X installation and Chameleon features etc. ? iFabio, please correct me if I'm wrong.

 

 

yes

 

Mhh i dont have any Option in the Chameleon RC5 installer Setup Dialogs to select Boot0hfs or the other choices ?

Share this post


Link to post
Share on other sites
Mhh i dont have any Option in the Chameleon RC5 installer Setup Dialogs to select Boot0hfs or the other choices ?

 

Yes, you have it:

 

Just before installing Chameleon to the chosen target partition choose Custom Install button (bottom left).

Share this post


Link to post
Share on other sites
All installer's scripts are were written by El Coniglio?

 

In my first release yes but now no I revised that script.

 

-----

 

Hi iFabio

 

Thanks for re-typing the text in to the installer (sorry I didnt' get round to posting it). ;)

It looks great and works well. I even see more options now for the com.apple.Boot.plist! good thinking.

 

For each bootloader option, can you use a smaller font in the bottom text box and also add line breaks?

I ask because I made the text fit on 4 lines to try and make it more readable. like in the examples below.

 

Note: I have made a couple of corrections to the wording and highlighted them in blue and removed a word and highlighted that in red.

 

Thanks again for your work and these are just simple guidelines without adding too many words to keep it simple. And like I've said before, if anybody has better words / phrases for this then please submit your suggestions.

 

 

Hi blackosx!

I do the change in the text... but... the text look like not accept line breaks :(.

 

I have one request for you.

I would add at least one alternative to your wonderful "Default theme.

(I thought not to use the rest of the themes in the official version).

could provide an alternative that supports your theme graphics features added in rc5? like XMas?(to which add a script to set it as a theme in c.a.B.p)

Thanks

 

Fabio

Share this post


Link to post
Share on other sites

One slight issue with the installer, it seems to skip over the destination selection! This resulted in me installing extra etc to my main partition, not the one I use for chameleon, and a non-booting system.

 

So I ran the installer a second time - which is when I noticed the skipping - and was able to go 'back' and select the right destination. It's possible I suppose that both times I clicked too many times on the previous screen...

 

Anyone else see this?

 

Otherwise installer is working nicely, including speedstep options for my Q6600.

 

Thank you.

Share this post


Link to post
Share on other sites
One slight issue with the installer, it seems to skip over the destination selection! This resulted in me installing extra etc to my main partition, not the one I use for chameleon, and a non-booting system.

Hi Zengiga

 

Yes, you have to click to 'Change Install Location' before clicking 'Customize' otherwise the installer won't give you the option to change install location again.

 

Hi blackosx!

I do the change in the text... but... the text look like not accept line breaks :D.

Hi Fabio

 

Thanks for trying to add line breaks in to the text. But if it won't allow it then we'll have to leave it :P

 

I have one request for you.

../snip/..

could provide an alternative that supports your theme graphics features added in rc5? like XMas?

Sure. I can do a new theme :) but I am leaving tonight for a break so I won't be able to look at it until I come back in 8 days.

 

Did you suggest the Xmas theme because it's bright and colourful? If I do a theme with a background then it won't fit every screen resolution. The only way for that to work would be for me to supply a theme folder for each different resolution and the installer to give the option for the user to select the theme at the correct resolution for their system. It's more work for me to create the themes, and more work for you to change the installer script but it can be done.

 

Have a think and maybe collect some ideas/pics/screenshots of what you would like the theme to look like so when I come back I will have something to work with. I ask because it takes many, many hours sometimes to put a theme together and then only to find people want to change it. :P

 

I look forward to seeing some ideas when I return and we can get to work.

 

Regards

Share this post


Link to post
Share on other sites

Hi Fabio, thanks for the installers, great work.

 

In current revision (494) the boot0 option says "This install option activates you selected target partition."

 

but it actually does not, the post install script just writes boot0, boot1h and boot.

Share this post


Link to post
Share on other sites
Hi Fabio, thanks for the installers, great work.

 

In current revision (494) the boot0 option says "This install option activates you selected target partition."

 

but it actually does not, the post install script just writes boot0, boot1h and boot.

 

Yep, that an big prob if this installer is used on partitions without any part is activated or an partition is active but not that one selected in the installer.

Share this post


Link to post
Share on other sites

From trunk/package/Scripts/Standard/postinstall

fdisk -e ${bootdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
y
quit
MAKEACTIVE

 

Another small detail, description for boot0hfs options also says "This install option activates you selected target partition." but the correct would be "This install option does not activate you selected target partition."

Share this post


Link to post
Share on other sites
From trunk/package/Scripts/Standard/postinstall

fdisk -e ${bootdisk} <<-MAKEACTIVE
print
flag ${bootslice}
write
y
quit
MAKEACTIVE

 

Another small detail, description for boot0hfs options also says "This install option activates you selected target partition." but the correct would be "This install option does not activate you selected target partition."

 

Hi oldnapalm

I will do the change a the text, and I change the script used too

(the author of actual boot-scrips is smith@@, I think to revert back with the perl script from El coniglio)

 

Fabio

Share this post


Link to post
Share on other sites

upload a new version from rev 501 (trunk 492)

no difference in the binaries.

 

- I correct the text info

- I add the VBIOS at the com.apple.Boot.plist option menu

- I change the boot installation script with this from el coniglio

boot0

[size=1]#!/usr/bin/perl

$destino = $ARGV[1];
$destino =~ s/ /\\ /g;
$volume = $ARGV[2];
my %mapa;

open (MOUNT, "mount|");
while (<MOUNT>) {
chomp;
$line = $_;
if ($line =~ /^([^ ]+) on ([^(]+) \([^)]*\)$/) {
	$mapa{$2}=$1;
}
}
close (MOUNT);

if ($mapa{$volume}) {
if ($mapa{$volume} =~ /^\/dev\/(disk\d)s(\d)$/) {
	$disk = $1;
	$partition = $2;
	$volume =~ s/ /\\ /g;
	system ($destino."/fdisk440 -f ".$destino."/boot0 -u -y /dev/r".$disk);
	system ("dd if=".$destino."/boot1h of=/dev/r".$disk."s".$partition);
	system ("cp ".$destino."/boot ".$volume);
	open (PIPE, "|fdisk -e /dev/".$disk."|");
	print PIPE "f ".$partition."\n";
	print PIPE "write\n";
	print PIPE "y\n";
	print PIPE "exit\n";
}
}
[/size]

boot0hfs

[size=1]#!/usr/bin/perl

$destino = $ARGV[1];
$destino =~ s/ /\\ /g;
$volume = $ARGV[2];
my %mapa;

open (MOUNT, "mount|");
while (<MOUNT>) {
chomp;
$line = $_;
if ($line =~ /^([^ ]+) on ([^(]+) \([^)]*\)$/) {
	$mapa{$2}=$1;
}
}
close (MOUNT);

if ($mapa{$volume}) {
if ($mapa{$volume} =~ /^\/dev\/(disk\d)s(\d)$/) {
	$disk = $1;
	$partition = $2;
	$volume =~ s/ /\\ /g;
	system ($destino."/fdisk440 -f ".$destino."/boot0hfs -u -y /dev/r".$disk);
	system ("dd if=".$destino."/boot1h of=/dev/r".$disk."s".$partition);
	system ("cp ".$destino."/boot ".$volume);
}
}
[/size]

 

Fabio

Share this post


Link to post
Share on other sites

iFabio,

 

Nice work on this installer. Thanks for your efforts, it makes keeping up with the good work of the rest of the RC5 team easier. And BlackOx, thanks for your contributions as well. This great stuff.

 

Dlach

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • 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 Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
×