How to Boot Macbook5,2 into 64-bit kernel in Snow Leopard

1. Download this boot.efi file. This file has been patched to allow basically all capable-but-restricted-by-Apple Macbooks to boot into 64-bit kernel in Snow Leopard. In my case, this enables my Macbook5,2 to do so.

2. From where you saved this file, in terminal, do this:
sudo cp /System/Library/CoreServices/boot.efi ~/Desktop
(this step saves a copy of your original boot.efi to your desktop; unfortunately I lost mine!)

sudo rm /System/Library/CoreServices/boot.efi
NOTE! I did not test this and this is irreversible. Please make sure you made a copy of this file. If you cannot delete it this way, do it in Finder.

sudo cp boot.efi /System/Library/CoreServices/
Copy the patched file to where it should be.

3. cd /System/Library/CoreServices/

4. sudo chown root:wheel boot.efi
This changes the ownership of this file.

5. sudo chflags uchg boot.efi
This locks the file.

6. sudo bless –folder /System/Library/CoreServices/ –file /System/Library/CoreServices/boot.efi

7. One last thing is to add arch=x86_64 to file /Library/Preferences/SystemConfiguration/com.apple.Boot.plist to Kernels Flags section
For example:
Kernel Flags
arch=x86_64

You should be done by now. You may still need to hold “6” and “4” keys when booting. But it should work.

How to hack the boot.efi file comes from here. Basically Apple restricted all non-pro machines from doing so with this file. So that’s why we need to change it. What changed was:

From:
0x266E0:
38 47 01 00 00 00 00 00 00 00 00 00 00 00 00 00

to:
0x266E0:
38 47 01 00 00 00 00 00 04 00 00 00 00 00 00 00

Additional resources from here.

3 thoughts on “How to Boot Macbook5,2 into 64-bit kernel in Snow Leopard”

  1. 請問你有辦法hack到64 bit kernel的 Macbook 3,1?
    我試了很多次
    都不行
    不懂問題在那裡

  2. I am not sure the specs of Macbook3,1. CPU 64-bit or not? If you follow what I did, can you get into 64-bit kernel?
    Anyway, I don’t think 64-bit kernel is that important.

  3. @Jeremy
    Macbook 3,1 has core 2 duo (64bit) and 64bit efi. it should boot 64 bit kernel but no one has found it on the boot.efi list to hack it

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.