Jump to content

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


  • Please log in to reply
35 replies to this topic

#1
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 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:
Posted Image

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:
Posted Image

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

#2
maleorderbride

maleorderbride

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 290 posts
  • Gender:Male
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.

#3
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 posts
/ means your current boot drive.

#4
HackBook Pro

HackBook Pro

    Web Developer & MLP:FiM Fan

  • Members
  • PipPipPipPip
  • 219 posts
  • Gender:Male
  • Location:Earth
  • Interests:Ponies
Thank you, man. Your tutorial worked like a charm :-D

#5
tvdang7

tvdang7

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
im getting fdisk : dev/rdisk0 : permission denied. whats that mean?

#6
alexismeji

alexismeji

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
how would you go about doing this is if I have osx in one HD and win 7 in another one?

#7
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 posts
Try before executing this commands:
"sudo -s", type your password (you don't see stars or something like that), and hit enter

#8
alexismeji

alexismeji

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
I'm sorry, but I re-re-re-re-re your post and im still confused on what I have to do.

#9
mouki

mouki

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 5 posts
What i do if i get

fdisk: could not open MBR file boot0: No such file or directory

which archive i need to dl? (Chameleon-2.0-RC3-r658-bin.tar.gz) that one? and if yes where i need to extract? (root?) some map?

Thank you.

#10
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 posts
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

#11
mouki

mouki

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 5 posts
Hi again man, sorry but im dummy )) i get always thesame fout. If i do step6 i get @no such file directory@ take a look please at the scrshoot please. Attached File  Screensh.jpg   600.5KB   741 downloads

thanks man for you routing )

#12
c0rk007hck

c0rk007hck

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 198 posts
Don't copy and paste!!
Just type line by line, and instead of typing cd <, type cd , and drag the i386 folder to the terminal, en type enter.

#13
DIGITALUnderworld

DIGITALUnderworld

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 1 posts
  • Gender:Male
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



#14
Wilse

Wilse

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts

What i do if i get

fdisk: could not open MBR file boot0: No such file or directory


I'm getting this too.

#15
Vlada.

Vlada.

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
  • Location:Serbia

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

#16
oldnapalm

oldnapalm

    InsanelyMac V.I.P.

  • Moderators
  • 6,856 posts
  • Gender:Male
  • Location:Brazil
Please check this

Guys, the fdisk bundled with the binary releases contain a modified fdisk command. We modded it to update only the first 440 bytes in the MBR.

In step 6 running
./fdisk -f boot0 -u -y /dev/rdisk0
should not mess with Windows 7 boot.

#17
thanoss43

thanoss43

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
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

#18
XLR

XLR

    2cores1cpu.mov

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

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

This is my diskutil list:

Thanks in advance.

#19
dspry

dspry

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Melbourne, Australia
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

#20
gruel33

gruel33

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
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





0 user(s) are reading this topic

0 members, 0 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