Jump to content

How to install Chameleon manually (v 2 and v 1)


c0rk007hck
 Share

35 posts in this topic

Recommended Posts

This Tutorial learns you how to install the Chameleon bootloader on your Mac partition.

This may help you when you get b0, boot0 or other errors, when the installer doesn't work.

 

I created it for the people who are new to hackintosh ("noob friendly").

 

I bolded some pieces in the code section to make it more clear to understand.

 

Tip : If your hackintosh doesn't boot anymore, you can follow this tutorial on a real mac / other hackintosh.

 

1. Open up the Terminal app

 

2. Use sudo -s to get root privileges.

 

3. First get the partition / disk where your Mac partition is

diskutil list

 

You should see something like this:

45633242.png

 

4. In this tutorial is the Mac disk disk0s2

 

5. Extract the Chameleon archive, go inside the i386 folder, and go back to the terminal.

To do this, type "cd " (space after cd), and drag the i386 folder onto the terminal.

Then hit return.

 

6. Install boot0 to the MBR:

fdisk -f boot0 -u -y /dev/rdisk0

 

7. Install boot1h to the bootsector of your OS X partition:

dd if=boot1h of=/dev/rdisk0s2

 

8. Copy the ‘boot’ file to your root partition:

cp boot /

 

Or if it's not your current volume:

 

cp boot /Volumes/[volume name]

 

9. Now we will make our partition active.

Our disk is disk0, so our code will be:

 

sudo fdisk -e /dev/disk0

f 2

write

y

exit

 

It will look like:

88919390.png

 

---------------------------------------------------------------

For Chameleon 2.0 only

---------------------------------------------------------------

 

10. Copy Themes and smbios.plist to your Extra folder.

You can some themes in this forum, as well some smbios files.

 

11. Finally add any kexts you wish to /Extra/Extensions folder like you usually would.

  • Like 2
Link to comment
Share on other sites

Thanks!

 

I managed to follow all of the steps (I think), but since I have a pretty severely mangled boot by now, it did not quite work. But that was not really a surprise. re-installing the OS'es right now.

 

I did have one question about copying the boot file. You say to copy it to the root, so would I just type:

 

cp boot /rdisk0s2

 

where 0s2=OS X install? What goes on the other side of that / ?

 

Oh, and you certainly imply it, but one should cd to the extracted .pkg files. Silly noobs like me might scratch their head for a minute.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 2 weeks later...

Extract is somewhere, and use CD to get there, CD is a command, and not the 'CD-Drive'.

Do this:

1. Extract the stuff

2. Determine which drive it is, using diskutil list

2. Type in the terminal 'cd ' < - Space after CD

3. Drag the i386 folder from chameleon 2 to the terminal window

4. Press enter

5. execute step 6 and later

Link to comment
Share on other sites

  • 1 month later...

Tried this, and got "fdisk: could not read MBR code: Is a directory"

 

Is not working.

 

Extract is somewhere, and use CD to get there, CD is a command, and not the 'CD-Drive'.

Do this:

1. Extract the stuff

2. Determine which drive it is, using diskutil list

2. Type in the terminal 'cd ' < - Space after CD

3. Drag the i386 folder from chameleon 2 to the terminal window

4. Press enter

5. execute step 6 and later

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Tried this, and got "fdisk: could not read MBR code: Is a directory"

 

Is not working.

 

That’s because people here usually offering half-resolving solutions, mostly because they think that we all should be familiar with terminal on Mac. This is ridicules, because most of the people here are actually pure PC users. That’s the reason why we have all this circus here on forum...

 

However solution is simple for this problem... So you should type cd, then space and then drag and drop in to terminal i386 directory which is placed inside “sym” directory... Press “enter”... After that you can proceed with step 6. This should work... at least it is to me...

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Hello,

 

I have SL installed on a pc laptop, booting with chameleon RC5. I want to dual boot windows xp. I know that if i install windows, pc will boot windows, not chameleon.

 

I 'm thinking of booting with a boot CD, selecting Mac OS and from there install manually chameleon with your method.

 

Will it work? All I want to do is to "tell" PC to boot to chameleon and then select the OS to boot (Mac or Win).

 

Thanks

Link to comment
Share on other sites

  • 1 month later...
In step 6 running

./fdisk -f boot0 -u -y /dev/rdisk0

should not mess with Windows 7 boot.

 

Do you know what may cause this?

I'm getting bash: ./fdisk: No such file or directory

Last login: Wed Jul 14 18:30:08 on ttys000
users-Mac:~ user$ sudo -s
Password:
bash-3.2# cd /Users/user/Desktop/AnVAL4 
bash-3.2# ./fdisk -f boot0 -u -y /dev/rdisk0
bash: ./fdisk: No such file or directory
bash-3.2# fdisk -f boot0 -u -y /dev/rdisk0
bash-3.2# dd if=boot1h of=/dev/rdisk0s2
2+0 records in
2+0 records out
1024 bytes transferred in 0.000672 secs (1523578 bytes/sec)
bash-3.2# cp boot /
bash-3.2# sudo fdisk -e /dev/disk0
Enter 'help' for information
fdisk: 1> f 2
Partition 2 marked active.
fdisk:*1> write
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 1> exit
bash-3.2# 

 

This is my diskutil list:

Last login: Wed Jul 14 18:29:24 on console
users-Mac:~ user$ diskutil list
/dev/disk0
  #:                       TYPE NAME                    SIZE       IDENTIFIER
  0:      GUID_partition_scheme                        *500.1 GB   disk0
  1:                        EFI                         209.7 MB   disk0s1
  2:                  Apple_HFS Macintosh HD            250.1 GB   disk0s2
  3:       Microsoft Basic Data                         249.7 GB   disk0s3
users-Mac:~ user$ 

 

Thanks in advance.

Link to comment
Share on other sites

  • 3 weeks later...

Hey,

 

I followed this after having no luck using Chameleon installers. Everything went smoothly and as the tutorial stated - but now my SL 10.6.4 hangs at the Apple screen with the loading circle. Any ideas? Will I have to reinstall the OS?

 

Cheers

Link to comment
Share on other sites

This is where I'm stuck as well....

 

Installed Chameleon RC5 (per directions) booted up using GraphicsEnabler=y and it hangs with the apple and loader...

 

Tried again and forced the resolution and it still hangs during the loading BUT.... the apple and loader was showing the correct resolution...! 1920x1200x32...

 

Feel like its is so close... Any suggestions why this is hanging during the load.... Tried safe mode as well... still hangs.

 

I can reboot from my EFI rebel disk / select HD and then it will boot to the OS but then Im back to the resolution problem...

 

Any suggestion....? thx

Link to comment
Share on other sites

Do you know what may cause this?

I'm getting bash: ./fdisk: No such file or directory

Last login: Wed Jul 14 18:30:08 on ttys000
users-Mac:~ user$ sudo -s
Password:
bash-3.2# cd /Users/user/Desktop/AnVAL4 
bash-3.2# ./fdisk -f boot0 -u -y /dev/rdisk0
bash: ./fdisk: No such file or directory

 

the correct command is this:

bash-3.2# fdisk -f boot0 -u -y /dev/rdisk0

Link to comment
Share on other sites

Do you know what may cause this?

I'm getting bash: ./fdisk: No such file or directory

The package you are using doesn't contain fdisk (no fdisk in current directory), or maybe it's called fdisk440 like in Chameleon RC5. You can get it from Chameleon binaries and put it inside the i386 folder you are using.

 

I followed this after having no luck using Chameleon installers. Everything went smoothly and as the tutorial stated - but now my SL 10.6.4 hangs at the Apple screen with the loading circle. Any ideas? Will I have to reinstall the OS?

It happened after you installed Chameleon? How did you boot into Snow Leopard before?

Use verbose mode to see the system messages, you are probably missing some kext.

Link to comment
Share on other sites

  • 1 month later...

Thanks for the handy tutorial!

Did all the steps successfully, at boot, i get the "Boot0: Done" msg. and nothing happens.

It's an MBR HDD. by the way, maybe that's why am getting the error above.

 

Any hint?

 

Thanks in advance.

ToBeMac

 

 

Edit:

I re-did the steps after making sure am dealing with the right partitions using "diskutil list" and the "p" command withing the fdisk menu

and all went fine!

 

Thanks again for the great tutorial!

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...
 Share

×
×
  • Create New...