Jump to content

Chameleon 2.2svn Official PKG Installer & Binaries

Bootloader Chameleon

  • Please log in to reply
2441 replies to this topic

#21
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,838 posts
  • Gender:Male
  • Location:Brazil
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."

#22
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands

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

#23
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands
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

#24
slipttees

slipttees

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 343 posts
  • Gender:Male
  • Location:Iguatu-CE, Brazil
thx iFabio, restart work, but my shutdown no work, with or without patch (asus ou gigabyte) in dsdt =/

#25
dlach

dlach

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
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

#26
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,430 posts
  • Gender:Male
  • Location:Tru, Venezuela

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
...Fabio

Great! Thanks Fabio, everything seems to be ok here.

#27
gilbertratchet

gilbertratchet

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
Like to say this bootloader has worked very well. Just used standard install. Memory and cpu reading very well. Have tried a few bootloaders. Best so far. Used Chameleon 2 with 10.6 efi before. Also used Tony macs ##### to add the 32bit kernal to boot by default because I am using The ATI Radeon Hd5770 Graphics Card. No 64bit aty init kext yet. thanks.

#28
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands
new version of trunk 513

Relate to package:
I add in the package a hidden "option" "post"
to clean the temp folder

[size=1]#! /bin/sh#SCRIPT="Chameleon postinstall Script"targetVolume="$3"                            rm -rf "$3/binaries"echo "Done..."exit 0[/size]

maybe in future could be useful to add rebuild caches and so on like the original script from official package
Fabio

#29
iRipper

iRipper

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 151 posts
  • Gender:Male
iFabio,

Why can't I see the /Binaries folder, even with hidden files visible? I want to able to see my booter files. Also is it possible to make the installer install booter files into Extra folder?

#30
komodo_1

komodo_1

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:rome
Hi ifabio and thanks for your installer.
I would have seen it before to setup all manually.
Sure i could avoid many sleepless nights using it.

I would ask you something to clarify my ideas.

I got a Cham partition already working for boot (Cham rc3)
Can I use your installer simply selecting the same partition where Cham is already installed?
Wich are the best options i got to use? Do i need to use boot, boot0 or what?

I got some options in my com.apple.boot i would keep alive
ex:
<key>Graphics Mode</key>
	  <string>1680x1050x32</string>
	  <key>Kernel</key>
	  <string>mach_kernel</string>
	  <key>Kernel Flags</key>
	  <string>arch=i386</string>
	  <key>GraphicsEnabler</key>
	  <string>yes</string>

Will the installer overwrite this options?
Do I need to set them in your chameleon installation??

Thanks again for you effort and thanks to all the guys that helped with this project.

Daniel

#31
rednous

rednous

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 345 posts
  • Gender:Male
  • Location:Galaxy: Milky Way
  • Interests:graphic design, mac, progressive and house

Hi ifabio and thanks for your installer.
I would have seen it before to setup all manually.
Sure i could avoid many sleepless nights using it.

I would ask you something to clarify my ideas.

I got a Cham partition already working for boot (Cham rc3)
Can I use your installer simply selecting the same partition where Cham is already installed?
Wich are the best options i got to use? Do i need to use boot, boot0 or what?

I got some options in my com.apple.boot i would keep alive
ex:

<key>Graphics Mode</key>
	  <string>1680x1050x32</string>
	  <key>Kernel</key>
	  <string>mach_kernel</string>
	  <key>Kernel Flags</key>
	  <string>arch=i386</string>
	  <key>GraphicsEnabler</key>
	  <string>yes</string>

Will the installer overwrite this options?
Do I need to set them in your chameleon installation??

Thanks again for you effort and thanks to all the guys that helped with this project.

Daniel


I will answer you although your question is addressed to iFabio (iFabio, hope it's OK :) ):
Yes, you can use iFabio's installer, use standard install (the scripts will take care of boot, boot0 & boot1h) and point the installer to your Cham partition in case it's not chosen.
Yes, you'll keep alive these options you've already in your com.Apple.boot.plist.
No, the installer won't override these options you've already set in com.Apple.boot.plist.

#32
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands

iFabio,

Why can't I see the /Binaries folder, even with hidden files visible? I want to able to see my booter files.


Because the script is responsible for deleting the files used during installation, leaving the destination disk clean.

Also is it possible to make the installer install booter files into Extra folder?


What do you suggest?
Maybe to have an option that can save the bin used (boot, boot0/boot0hfs, boot1h) in a folder in the Extra?
Yes it can.
How would you like being called that folder?

Fabio

#33
iRipper

iRipper

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 151 posts
  • Gender:Male

Because the script is responsible for deleting the files used during installation, leaving the destination disk clean.



What do you suggest?
Maybe to have an option that can save the bin used (boot, boot0/boot0hfs, boot1h) in a folder in the Extra?
Yes it can.
How would you like being called that folder?

Fabio


Hey, um, Chameleon would be fine. :) Thank you. "Gives candy"

#34
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands

Hey, um, Chameleon would be fine. :) Thank you. "Gives candy"


Chameleon is your suggest name? (I think is too generic.. better... like "bin-boot")
:o

LOL...
Ok I add it in the next realize (Anyway is easy to change that name later in the installer).

Fabio

#35
komodo_1

komodo_1

    InsanelyMac Protégé

  • Members
  • Pip
  • 45 posts
  • Gender:Male
  • Location:rome
Hi all.

Last News: (if someone is curious)

I'v made the setup of iFabio's Chameleon Boot Package.

At reboot system was ok (still no sound card recognized, but that's another story).

So I started with 10.5 system and copyed the LegacyHDA.kext in /E/E.
I went once agin in 10.6 and saw in sys profile that the nvidia card was fully recognized (thanks to last Cham boot and GraphicsEnabler=yes i think :) :o ) so i switched to 1680x1050 resolution...and the monitor went azure.

I tryed booting once with -x and once with GraphicsMode=1024x768x32, but noway.
The -x option didn't boot at all. All i had has been a dark grey screen.

With GraphicsMode option, during the boot, the resolution was 1024x768x32 and i saw the green apple screen and the apple in the center, but at sys startup (I think was at that stage) all azure again.

Prolly the boot options works only during boot!?!?! Posted Image

Now I think I have to redo all from the beginning...Just to learn better the right way to do it Posted Image
Or maybe I can just install the SL's disk leaving Cameleon's disk untouched??

EDIT:
I solved all. 885 (889a) LegacyHDA.kext working fine. now i wonna try aggregate device to manage the 5.1
Videocard troubles solved too.
i had in com.apple.Boot.plist 1680x1050, now i'm using
<key>Graphics Mode</key>
<string>1280x1024x32</string>
and all is woring fine. I got my video at 1680x1050.


Wonna thanks you all for your effort and kick me for my noobness!!

Dan

P.S: If I'm so much OT just notice me so i can edit or delete my post.

Once more: Thank you for your help!!

#36
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,169 posts
  • Gender:Male
@ iFabio

i can translate to arabic

give me what do you want to translate :)

#37
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands

@ iFabio

i can translate to arabic

give me what do you want to translate :)


:o

well! You need download the resouce from the official chameleon project
- create a dir
- fireup your terminal and navigate to new dir created...
- run this
svn co http://forge.voodoop...s/English.lproj

ok now you have downloaded the english folder...
open that file and traslate it!

Fabio

#38
Mohamed Khairy

Mohamed Khairy

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,169 posts
  • Gender:Male

:o

well! You need download the resouce from the official chameleon project
- create a dir
- fireup your terminal and navigate to new dir created...
- run this
svn co http://forge.voodoop...s/English.lproj

ok now you have downloaded the english folder...
open that file and traslate it!

Fabio


ok i have source already
ok will translate it and upload it to you :)
it will take some time when done will uplaod it :)

#39
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,679 posts
  • Gender:Male
  • Location:Canary Islands

ok i have source already
ok will translate it and upload it to you :)
it will take some time when done will uplaod it :o


:)
you can post here... I'm sure the dev from official project can take advantage from this traslation...

here... I need
- Welcome.rtfd
- Description.html
- License.rtf
- Conclusion.rtfd

the localizable.strings file is used in the official release... not here... no idea how I can manage that file... :)

regards
Fabio

EDIT
I also need the "language code" for italian is it, english is en...

take a look here...
http://msdn.microsof...052(VS.85).aspx
ar-ar maybe?

#40
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 895 posts
  • Location:חולון

the localizable.strings file is used in the official release... not here... no idea how I can manage that file...

I didn't found any way to combine English with Middle Eastern (RTL) languages in localizable.strings file. The problem is, that it requires converting the whole file from Plain Text to Rich Text, but originally this file suppose to be in Plain Text format only.

So if anyone finds a workaround for this problem, please let me know.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy