Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
ErmaC

Chameleon 2.4svn Official PKG Installer

4,301 posts in this topic

Recommended Posts

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.

  • Posts

    • What did you add exactly, i did inject the unsupported 100 series kext and did see my macOS partition. I couldn't boot at all. I still get an error from VoodooPS2Mouse i think here is an image: https://drive.google.com/open?id=1dkcoWh2ZXj56ketONkrV8x9TNOVJdXkf
    • @Slice what's te correct russian translation for "copy to clip board"?   .. I need also a translation for "log copied to clip board!"
    • Hello MaLd0n,   Could you please make DSDT edits for my new Skylake desktop Lenovo M910t    RunMe files: https://www96.zippyshare.com/v/5bgqAiga/file.html
        Thank you very much in advance!
    • Have you tried adjusting the Khz in midi pref pane or editing the info plist to suit your needs. that sometimes corrects weird noise behavior.
    • Hello Mald0n:

      Nice to meet you, I have created a post about my problem on High Sierra before and I was redirected to this guide by Allan.

      As mentioned in the post, I was not able to get pass the login screen at initial boot and the system could not shutdown occasionally.

      However I solve the high temperature problem when I replace the clover folder you provide on first post, currently the cpu temperature is around 5x-6x'c after 10 mins up time.

      Attached is the clover folder, ioreg as well as the send me app, thanks for your help!

      p.s. I notice that your clover boot efi is a old traditional grey apple boot logo, Is there a version of modern dark and white logo one that I could replace with? Thank you!

      https://www.insanelymac.com/forum/topic/333867-cant-get-pass-2nd-stage-boot-logo-on-initial-boot-and-high-temperature/   My system:
      Gigabyte GA-X48-DQ6
      Core 2 Extreme QX9650 C0
      4 x Kingston DDR2 800ghz Ram
      Galaxy GTX460 1GB
      120GB SSD Leven JS500120C, high Sierra installed
      250GB seagate ST3250310AS
      250GB WDC WD2500JS-08NCB1
      File: https://drive.google.com/file/d/1_k3_jxvzGaLfDzin0zSAUT5ml16Hq15c/view?usp=sharing      


×