Voodooprojects

Chameleon => General Discussion => Topic started by: imacken on July 27, 2009, 09:03:28 PM

Title: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 27, 2009, 09:03:28 PM
how do I get this Chameleon RC2 to work?
I've already posted details on my system and the problem I was having, but the subject got locked and I got my knuckles rapped by a mod!
I am very sorry that I have to ask such a basic question, but I am lost to see what to do!!
I have run the RC1 installer and nothing happens, I just get the same Darwin/Chameleon v1 bootloader as always. I ran the RC2 installer and just an error about some post-install script not being able to run.
I have tried searching, etc. but I just can't find an answer to this very basic question.
Can anyone point me in the right direction without this thread being locked as well.
Title: not another bad subject line, please!
Post by: tempolo on July 27, 2009, 09:07:55 PM
I think your prev msg got locked because you used a bad subject line. and you're doing it again. This forum is not just to solve your problem but that of others as well, and it helps others by allowing them to search the forum threads, e.g. by their subjects.
so, correct your subject and you're more likely to get help
Title: Re: not another bad subject line, please!
Post by: imacken on July 27, 2009, 09:51:01 PM
I think your prev msg got locked because you used a bad subject line. and you're doing it again. This forum is not just to solve your problem but that of others as well, and it helps others by allowing them to search the forum threads, e.g. by their subjects.
so, correct your subject and you're more likely to get help
I've got to say that after many years of using forums, I've never come across such a hostile attitute towards a newcomer.
Thanks for the heads up there.  I thought my first post was perfectly on topic and couldn't see what was wrong.  What should I have put as the subject to avoid all this?  What could be more general to help others in a search than 'how do I get the GUI to work'?
Title: Re: not another bad subject line, please!
Post by: tempolo on July 27, 2009, 11:46:15 PM
What should I have put as the subject to avoid all this?
your "how to make gui work" could means 100s of different problems you're having, all leading to no gui working (starting with cham not starting at all).
How about "Text mode works; how to enable graphic mode instead?". (answer: there is a .txt file with the installer that lists a lot of options you can put into the com.apple.Boot.plist file, and one of them controls whether you see the text or graph mode at start.)
Plus, rocksteady's comment asked you to look for similar threads (I guess his reply suggest that this has been asked and answered before). He tries to avoid dozens of identical threads.
Besides, forums suck! What we really need is a second-level FAQ that's maintained by a person, extracting solutions from the forum and putting them all into a "clean" database. rocksteady's effort of trying to manage this forum is deemed futile in the long term, I'd say.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 27, 2009, 11:55:25 PM
I'm pretty sure, that you boot something other darwin loader. Do you boot your 3rd drive directly from the BIOS boot menu? Btw The GUI is enabled by default, so it needs to be disabled if you don't like it :)
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 10:29:02 AM
Thanks guys, at least I'm getting replies now!
OK, I've simplified things now.
I have Windows 7 on 1st drive (ignore other partitions), and OSx86 on 2nd drive.
I have the dual Windows 7 and Mac OS set by EasyBCD on the 1st drive.
So, what happens is:
1) on boot, I get the first menu 'Windows Boot Manager' a) Windows 7 or b) Mac OS.
2) selecting b) then takes me to another screen that says (amongst other things) 'Boot Device 0x80... Press a key within 2 secs to change boot drive'.  So I then select 81 for the drive that OSx86 is installed on.
3) then I have 'Darwin /x86 boot  v5.0.132 - Chameleon v1.0.12' menu and I select 'hd(1.1) Mac OS' and Leopard boots up perfectly.
I have tried to install Chameleon RC1 and RC2 from the download install files, but nothing changes.
Can you give me any more help?
Thanks.
BTW, I tried searching a lot to find a similar problem without success.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 28, 2009, 04:19:22 PM
Ok.

We need more info about your second drive where OS X lives.

Please boot your OS X system, then open a terminal (Applications/Utilities folder).

Then type:

Code: [Select]
diskutil list
Please paste/attach here the output of the diskutil command. We can go to the next step then.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 05:33:37 PM
Thanks for that.
Here it is:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk0
   1:               Windows_NTFS Photos                  290.0 Gi   disk0s1
   2:                  Apple_HFS Time Machine            175.8 Gi   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk1
   1:                  Apple_HFS Mac OS                  285.9 Gi   disk1s1
   2:                  Apple_HFS Spare                   179.9 Gi   disk1s2
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk2
   1:               Windows_NTFS Windows 7               270.1 Gi   disk2s1
   2:               Windows_NTFS Data                    195.6 Gi   disk2s2
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 28, 2009, 06:00:31 PM
Thanks for the results.

Now i'd like to know more about your HFS partitions.

First extract your partition boot records:

Code: [Select]
sudo dd if=/dev/rdisk0s2 of=imacken-d0s2.bin bs=512 count=3
sudo dd if=/dev/rdisk1s1 of=imacken-d1s1.bin bs=512 count=3
sudo dd if=/dev/rdisk1s2 of=imacken-d1s2.bin bs=512 count=3

Then zip those 3 files (imacken-dXsY.bin) and please attach here.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 06:07:11 PM
Thanks again.
I'm having a little trouble here.  When I type in the command I get asked for my password. I don't have a password, so I just hit enter and terminal just goes back to the standard prompt.
I don't seem to have sudo permission, which is strange considering I am the only user!
Any advice on that?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: Lord Anubis on July 28, 2009, 07:07:20 PM
You should have an administration account with a password.

you can do two things
1a. Log in as the administrator
1b. Run the provide terminal command again.

2a. Type 'su <adminUserName>' and type the belonging password.
2b. Run the provide terminal command again.

If this still doesn't work do 1a and setup root access. Look at the web how to do that.
Log in as root and do 1b.

Good luck.

http://docs.info.apple.com/article.html?path=Mac/10.5/en/11778.html <-= check this and read the warning!!!!

HTH
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 07:58:54 PM
Thanks a lot, but surely I am the administrator being the only account.
I did the steps in the Apple page you posted. Root user is enabled, but when I put in the password in the sudo command, it just says 'Sorry, try again'.
What is going on?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 08:34:42 PM
OK, I solved the sudo problem.  I had to put a password on my account, then it worked.
I've attached the bin files requested.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 28, 2009, 09:18:51 PM
Thx imacken. For some reason your disk1 and disk2 got exchanged, so i have the beginings of your ntfs partitions.
The disk0s2 is ok.

I need the first 3 sectos of "Mac OS" and "Spare" volumes. before doing the dd please make sure you're reading from the right drive.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 09:30:29 PM
Ooops, sorry, didn't realise I had to be in the drive to do the command.
I've attached the files.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 28, 2009, 10:01:19 PM
These are still NTFS volumes... pls run the diskutil list command to get a picture about your current disk/volume layout.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 28, 2009, 11:03:54 PM
OK, I don't know what is going on! The info from 'diskutil list' is now different to what I posted further up this thread.

It is now:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk0
   1:               Windows_NTFS Photos                  290.0 Gi   disk0s1
   2:                  Apple_HFS Time Machine            175.8 Gi   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk1
   1:               Windows_NTFS Windows 7               270.1 Gi   disk1s1
   2:               Windows_NTFS Data                    195.6 Gi   disk1s2
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *465.8 Gi   disk2
   1:                  Apple_HFS Mac OS                  285.9 Gi   disk2s1
   2:                  Apple_HFS Spare                   179.9 Gi   disk2s2

So, disks 1 and 2 have now swapped. Any idea why?
So, this time I've gone to the drives and tried
sudo dd if=/dev/rdisk2s1 of=imacken-d2s1.bin bs=512 count=3 and
sudo dd if=/dev/rdisk2s2 of=imacken-d2s2.bin bs=512 count=3.
Any luck this time?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: tempolo on July 28, 2009, 11:25:44 PM
These are still NTFS volumes... pls run the diskutil list command to get a picture about your current disk/volume layout.

BTW, Zef, just so you know: You can use my software "iBored" to connect to another person running iBored over the internet, and then access his disks. So, it's a disk editor which transmits commands and blocks over the internet, runs on Mac OS, Windows and Linux, and also knows a bit about partitions and volume formats.

All you need to do is to open a specific port (which you can choose) on your side and then the person needing help can connect to you, and you then can read and even modify his disks with his permission.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 12:57:37 PM
@tempolo:

Thx, will check your stuff :) Sounds very interesting!

@imacken:

Can you try to boot your Mac OS disk directly selected from the BIOS startup menu?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 29, 2009, 02:07:38 PM
OK, we are really getting somewhere!  Well done.
If I boot from the Mac OS disk, then Chameleon works perfectly with the nice graphics and giving me the choice of OSs to boot into.
If I select Windows 7, then it boots into the EasyBCD boot screen, i.e. 1) Windows 7 2) Mac OS. Then if I select Windows 7 then it boots OK.
However, EasyBCD will not run. Just gives an error about not being able to access the boot data.
So, where does that leave us?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 06:41:31 PM
Well, i guess you're using a customized EasyBCD configuration since if you add Mac OS in EasyBCD it just adds a chain0 like stage1 loader for the windows boot manager menu. So the next step could be to learn more about your current EasyBCD config.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 06:54:33 PM
For example i have 2 disks, the first disk hosts Vista and XP on their own partitions, the second disk hosts Leopard. This is how my EasyBCD config looks like:

Code: [Select]
There are a total of 3 entries listed in the Vista Bootloader.
Bootloader Timeout: 10 seconds.
Default OS: Microsoft Windows Vista

Entry #1

Name:  Microsoft Windows Vista
BCD ID:  {current}
Drive:  C:\
Bootloader Path:  \Windows\system32\winload.exe
Windows Directory:  \Windows

Entry #2

Name:  Windows XP
BCD ID:  {ntldr}
Drive:  C:\
Bootloader Path:  \ntldr

Entry #3

Name:  Mac OS X
BCD ID:  {161d5042-7c5f-11de-af77-005056c00008}
Drive:  C:\
Bootloader Path:  \NST\nst_mac.mbr

With this config it doesn't matter if I select Mac OS X or boot the second disk directly via BIOS startup menu, i get the same partition booted.

Update:

Just compared nst_mac.mbr and chain0, they're binary identical.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 29, 2009, 07:18:01 PM
OK, I can see a difference between us.
I am using EFI from EasyBCD whereas you are obviously using MBR.
What difference wil that make?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 07:30:39 PM
What EFI? All your 3 drives has MBR only partitions. Can you post your EasyBCD config pls?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 29, 2009, 07:40:50 PM
OK, it's all solved!
I deleted the EasyBCD Mac EFI entry, and replaced it with a Mac MBR one.
Now, everything boots up perfectly from all drives.
Presumably, now that all drives boot all partitions OK, I can get rid of the EasyBCD Mac entry completely so that when I select Windows from your Chameleon bootloader it'll go straight in and not show the Windows/Mac choice.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 09:08:16 PM
http://www.wineintro.com/champagne/open/ (http://www.wineintro.com/champagne/open/) :)
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 29, 2009, 09:56:16 PM
If only I had a bottle of champagne to hand!  Oh well, I guess a can of cider will have to do!!!

It's not all celebration time though.  I tried a similar thing on my laptop and it didn't work.  When I changed the EasyBCD Mac from EFI to MBR, I just got some sort of boot error about chain and mbr.  So, I changed it back to EFI and at least everything is booting as before.

The laptop has Windows 7 on one drive and Mac OS on another, but there is no BIOS option to boot from different drives.

I should also say, that there was an error on the Chameleon RC2 install. Something like ‘install step failed: run postupgrade script for standard.’
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on July 29, 2009, 10:32:02 PM
Before installing RC2, try this workaround:

http://chameleon.osx86.hu/articles/chameleon-20rc2-is-available-with-new-features-and-less-bugs#c001343

Quote
To anyone getting the ‘install step failed: run postupgrade script for standard’ error message:
open terminal, run ‘rm -rf /.Chameleon’ (without quotes, ofcource). fixed the problem for me.

If it doesn't work for you, boot into your OS X installation then post your diskutil list output of your laptop.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on July 30, 2009, 10:00:14 AM
OK, the workaround allowed a successful install, but that has made no difference to the booting issue.

Here is the EasyBCD list:

Default: Windows 7
Timeout: 10 seconds.
Boot Drive: C:\

Entry #1
Name: Windows 7
BCD ID: {current}
Drive: C:\
Bootloader Path: \Windows\system32\winload.exe

Entry #2
Name: Mac OS X
BCD ID: {c49ee6b4-4185-11de-a364-fa08d0b6e884}
Drive: C:\
Bootloader Path: \NST\NeoGrub.mbr

and here is the diskutil list:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *93.2 Gi    disk0
   1:                  Apple_HFS Time Machine Backups    46.3 Gi    disk0s1
   2:                  Apple_HFS Mac OS X                46.9 Gi    disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *93.2 Gi    disk1
   1:               Windows_NTFS Windows 7               82.8 Gi    disk1s1
   2:             Windows_FAT_32 HP_RECOVERY             9.3 Gi     disk1s2

The EasyBCD Mac entry is EFI. If I change it to MBR, then I just get a 'chain booting error' when I try to boot Mac OS.
I get no sign of Chameleon boot screen at all.
Any ideas?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on August 03, 2009, 05:09:08 PM
Ahh, sorry!

Is that an external disk attached to usb? Do you can enable usb booting? I think there must be some option in your BIOS setup.

Anway if you use EasyBCD's EFI entry it will bundle an older version of Chameleon/Darwin loader.

I need your HFS partitions' first sectors extracted/attached here on the same way as you did it before.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on August 03, 2009, 06:43:47 PM
Hi again.
There is no external drive. There are 2 internal HDDs, the ones you can see above.
I've attached the bin files for the 2 HFS partitions.
There is no option in BIOS to select which HDD to boot from. Only choices are 'Notebook Hard Drive' or 'CD/DVD'.
Good luck!
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on August 03, 2009, 09:24:36 PM
Strange, disk1s2 looks fine and chain0 should find it.
Isn't there any option to specify the HDD order in the BIOS setup?
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on August 03, 2009, 09:30:20 PM
Nope. As I said above, just the option to select Notebook Hard Drive or CD/DVD drive.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on August 03, 2009, 09:33:48 PM
Ok, but which notebook hardrive. I mean in recent BIOSes there's a separate option to define the device order, like hdd, fdd, dvd, network and another option to specify the hard disk order.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on August 03, 2009, 09:41:31 PM
I know what you're saying, but on this HP notebook, there is no option to define the HDD order.
The choices are like you say, external floppy, optical drive, NOTEBOOK HARD DRIVE (no options), and network.
I could take the drives out and swap them, but I don't know what effect that would have on my Windows install.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on August 03, 2009, 10:23:06 PM
I swapped the drives over, and as with the desktop we discussed earlier in this thread, everything boots up OK.
The HFS partition drives are now disk 0 and the NTFS ones are disk 1.  Chameleon is working fine.
Again, similar to the desktop, one of the issues is that EasyBCD will nor run when the it is not loaded on the boot drive.  It just gives a 'cannot access the BCD table' error. (or something like that).
This all leads me to think that Chameleon doesn't work unless it's on the boot drive.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: zef on August 03, 2009, 10:43:37 PM
The 'cannot access the BCD table' is out of Chameleon's territory. It's because the drives were changed, the real question is why chain0 can't find the second disk - like it works well on your desktop.

Maybe if we know what's the contents of the neogrub stuff (in case you select EFI Mac in EasyBCD) we may update it with a fresh new Chameleon binary.
Title: Re: Can't get Chameleon RC1 or RC2 to work
Post by: imacken on August 04, 2009, 11:18:26 AM
Hi Zef.
OK, after a lot of experimentation, I think I can state clearly that the Chameleon bootloader only works if the boot drive has a HFS partition on it.
Taking EasyBCD out of the equation - as I removed its entries - it seems quite simple.
On both the desktop and the laptop:
1) if I boot from the drive that has Windows on, then Windows boots straight in with no Chameleon or Mac options.
2) if I boot from the drive that has OSx86 on then Chameleon GUI comes up and I can select to boot from OSx86 or Windows, and both work fine.
Clearly, it would seem that a bootable HFS partition has to be on the boot drive for Chameleon to work.
What do you think?