overdue-scratch

Author Topic: How can see what version of Chameleon is installed on various partitions>  (Read 8948 times)

0 Members and 1 Guest are viewing this topic.

Drule

  • Observer
  • Posts: 19
As I've been doing a lot of testing with various Chameleon builds on a couple of Sata drives, I'm fairly certain that I've got a mixture of builds.

One Sata drive, the internal one, is a dual boot MBR setup (10.5.8 and WinXP). The other, external one, is a GUID with an EFI partition that I've been using two separate partitions to test SL installations.

What I'd like to know is how I can determine what version of Chameleon is on each partition, and what is on the EFI partition.

EDIT: Just realized that I haven't installed anything onto the EFI partition of my GUID partitioned drive.
« Last Edit: June 06, 2010, 09:12:41 AM by Drule »

Gringo Vermelho

  • Forum Moderator
  • Posts: 611
  • The gray monster energy hat
Chameleon displays its version number and compilation date when you boot.
10.9.5 - ASUS P8Z77-V Pro - i5 3570K - GTX 660 - Chameleon 2.3 svn-r2xxx
How to...
Install Chameleon: http://forum.voodooprojects.org/index.php/topic,649
Make your own Chameleon boot CD: http://forum.voodooprojects.org/index.php/topic,484.msg2131.html#msg2131

Blackosx

  • Forum Moderator
  • Posts: 1150
@Drule
You might also want to check you don't have the 'BootBanner=No' boot option in your com.apple.Boot.plist as it's purpose is to hide those details.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Drule

  • Observer
  • Posts: 19
What I would like to do is see what version every hard drive has, then each partition, that I'm using to test SL installs, on those drives has.

So if I have two eSata drives, and a USB drive, I can just have a quick look at the "boot/boot0/etc." file dates to verify which version they are, instead having to boot into each one and wait for the banner to appear.

digital_dreamer

  • Observer
  • Posts: 11
My installer script does this by comparing the boot file size. So far, the list is the following:

Code: [Select]
PC-EFI v10.6^314400
PC-EFI v10.5^314016
PC-EFI v10.4.1^313472
PC-EFI v10.4^313440
PC-EFI v10.3^307968
PC-EFI v10.2^305280
PC-EFI v10.1^296128
PC-EFI v10^298496
Chameleon 2.0 RC5 - pre12^178784
Chameleon 2.0 RC5 - pre10^181600
Chameleon 2.0 RC5 - pre9^158848
Chameleon 2.0 RC5 - pre8^157504
Chameleon 2.0 RC5 - pre7^156576
Chameleon 2.0 RC5 - pre6^320928
Chameleon 2.0 RC4 - rekursor UUID mod^321408
Chameleon 2.0 RC4 - AsereBLN v1.1.9^161952
Chameleon 2.0 RC4 - AsereBLN v1.1.9 w/debug^162048
Chameleon 2.0 RC4 - AsereBLN v1.1.9 w/embedded theme^313888
Chameleon 2.0 RC4 - AsereBLN v1.1.8^160800
Chameleon 2.0 RC4 - AsereBLN v1.1.8 w/debug^160896
Chameleon 2.0 RC4 - AsereBLN v1.1.8 w/embedded theme^333952
Chameleon 2.0 RC4 - AsereBLN v1.1.7^159712
Chameleon 2.0 RC4 - AsereBLN v1.1.7 w/debug^159776
Chameleon 2.0 RC4 - AsereBLN v1.1.7 w/embedded theme^330048
Chameleon 2.0 RC4 - AsereBLN v1.1.6^159616
Chameleon 2.0 RC4 - AsereBLN v1.1.5^159488
Chameleon 2.0 RC4 (r684)^320320
Chameleon 2.0 RC3 (r658)^309344
Chameleon 2.0 RC2 (r640)^308288
Chameleon 2.0 RC1 (r431)^295328
Chameleon v1012^60288

MAJ

Drule

  • Observer
  • Posts: 19
Thanks d_d, that's exactly the info I was looking for.  :)

p.s. I assume those are the sizes for 'boot'?
« Last Edit: June 15, 2010, 12:44:05 AM by Drule »

digital_dreamer

  • Observer
  • Posts: 11
Thanks d_d, that's exactly the info I was looking for.  :)

p.s. I assume those are the sizes for 'boot'?
Yes, just for the "boot" file, which is easily seen and is the main one that gets modified on each version, AFAIK.
Luckily, the sizes have been all over the place and easily traced to a particular release.  :P
The other two files, "boot0" and "boot1h", appear to remain at 4k in size (or the minimum block allocation size of the HD).

MAJ

Blackosx

  • Forum Moderator
  • Posts: 1150
I'd forgotten you had a list of the file sizes digital_dreamer. Good post :)
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

zhell

  • Member
  • Posts: 46
What I would like to do is see what version every hard drive has, then each partition, that I'm using to test SL installs, on those drives has.

So if I have two eSata drives, and a USB drive, I can just have a quick look at the "boot/boot0/etc." file dates to verify which version they are, instead having to boot into each one and wait for the banner to appear.
I'm not sure whether checking the size of boot is the best approach. What I do in my script http://www.projectosx.com/forum/index.php?showtopic=570 is to use strings and sed, as follows:
Code: [Select]
strings /boot | sed -nE 's!^Darwin/x86 boot.+(Chameleon.+)!\1!p'For example:
Code: [Select]
admin@localhost: ~$ strings /boot | sed -nE 's!^Darwin/x86 boot.+(Chameleon.+)!\1!p'
Chameleon v2.0-RC5pre11 r138
« Last Edit: June 19, 2010, 04:18:55 PM by zhell »

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Nice stuff @zhell, was thinking the same thing here, size not being the best way to do it.
I though of strings but, how to get just what i need?! i mean, i knew it's possible but i'm too noob to do it :P
Size can still be used for released stuff. This works nice if we're working with non released stuff;
and it's very educational ;D missed it on ProjectOSX.

Thanks
« Last Edit: June 19, 2010, 09:27:18 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

Drule

  • Observer
  • Posts: 19
Zhell, thanks for that suggestion, I guess I should do some reading on Unix shell commands :)

Blackosx

  • Forum Moderator
  • Posts: 1150
I'm not sure whether checking the size of boot is the best approach. What I do in my script http://www.projectosx.com/forum/index.php?showtopic=570 is to use strings and sed..
It's always good to find out new ways of doing things. Thanks for another fine lesson zhell :)
« Last Edit: June 21, 2010, 11:11:03 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB