Jump to content
ErmaC

Chameleon 2.4svn Official PKG Installer

4,335 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 ErmaC
      Slice is glad to present a new EFI bootloader.

      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      https://sourceforge.net/projects/cloverefiboot/?source=directory
      There is a WIKI 
      http://clover-wiki.zetam.org/
      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      Post#2 CloverGrower - create Clover by yourself Post#3 Downloads Post#4 Installation of the bootloader Post#5 How to do UEFI boot Post#6 How to use - common words Post#7 Calculator for Automatic DSDT fix Post#8 Instructions for GraphicsInjector Post#9 ATIConnector patching Post#10 Any kexts patching with some Samples Post#11 CustomEDID Post#12 Hiding unnecessary menu entries Post#13 Instruction for DSDT corrections to do DeviceInjection works Post#14 Development Post#15 Themes Post#16 About kexts injection Post#17 Instructions for P- and C-states generator Post#18 Patching DSDT to get Sleep working Post#19 CPU settings and geekbench Post#20 ACPI tables loading Post#21 DSDTmini Post#22 Custom SMBios Post#23 F.A.Q. Post#24 iCloudFix Post#25 Using mouse. Post#26 How to make orange icons to be metallic Post#27 How to make software RAID (by Magnifico) Post#28 How to modify InstallESD.dmg (by shiecldk) Post#29 Config.plist settings Post#30 Using extra kexts and skipping kernelcache Post#31 Choosing EFI drivers Post#32 Configuration files Post#33 Automatic config.plist creating Post#34 Custom DSDT patches Post#35 How to do sleep/wake working with UEFI BOOT Post#36 DeviceID substitution (FakeID) Post#37 Using Custom OS Icons Post#38 Hibernation Post#39 Floating regions Post#41 Property List Editor Post#42 Blocking Bad Kext Post#43 AAPL,slot-name Post#44 FakeCPUID for unsupported CPU Post#45 Multiple Boot Options - to write into UEFI BIOS boot menu Post#46 How to install Windows UEFI Post#47 How to speedup Clover boot Post#48 Info.plist patching Post#49 Arbitrary device injection Post#50 Non-Standard Legacy Boot Files Post#51 Reboot to Windows UEFI from Mac OSX Post#52 Deprecated Features Post#53 Using UDK2018 Post#54 Device Properties Post#55 Scalable themes Post#56 How to search Clover mistakes (bisection) -----------------
       
      Slice:
      I edited all posts in the thread to correspond to actual Clover revision.
      Please install Clover at least 2652 and use new instructions.
    • 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 Slice
      OK, 4988 released.
      Now, @vector sigma, what have we do to update translations?
    • By vit9696
      OpenCorePkg / Documentation / Configuration Template / Bugtracker   Discussion and installation should be done in a separate thread! This thread is for development only!
      Current status as of April 2019: Support for UEFI and DuetPkg (legacy) booting APFS and HFS+ compatibility ACPI patcher (adding, dropping, binary patching, relocation) Apple-compatible bless implementation DeviceProperties injection DataHub and SMBIOS generation Symbolic kext and kernel patcher Direct kext injection/patching/blocking within prelinkedkernel Installation/Recovery/FileVault 2 support  Configuration in config.plist with open documentation Simple boot picker for quick launch Direct boot from dmg images  
      Known defects live here.  
      For those, who are not familiar with the history, OpenCore is a project initially born in HermitCrabs Lab that unfortunately almost died before its birth. This release is both a rebirth and a complete rewrite of OpenCore, which brings a number of new ideas, and tries to preserve the smart moves incorporated by iNDi and his team. Other than that, I wish to express my deepest words of gratitude to Acidanthera and WWHC members: your participation was and remains the key for project success, and you are simply the best.
×