netkas.org

Migration assistant killing hackintosh and a way to fix it

If you would you migration assistant to transfer your account from hackintosh to Mac, you will notice that your hackintosh won’t be able to boot after it. This happens due to osx messing up some file so bootloader can’t boot it.

So, if it happened you need to fix it, with help of another osx copy on your pc.

A fix for single file with name “filename” is:

sudo su
cd folder_of_file
rm .SM.gul.filename
cp filename filename_
rm filename
mv filename_ filename

And the files you need to fix are(* is a wild card):
/*.aml
/mach_kernel
/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
/System/Library/CoreServices/SystemVersion.plist

Comments

  1. tdt1025
    November 25th, 2011 | 9:43 pm

    Wow! This is great news for a few of us who would one day grow up to have a real Mac. For me, that day may come sooner than I had anticipated.

  2. Родион
    November 26th, 2011 | 11:08 pm

    Можно по русски пожалуйста?

  3. ...
    January 5th, 2012 | 5:09 am

    Do you have an idea who in detail creates these files with the “.SM.gul” prefix and whats there purpose?

  4. June 8th, 2012 | 11:28 pm

    What is the purpose of those commands? Don’t they just duplicate and rename the file, delete the original, and change the duplicate back to the original name?

    ///the purpose is to get rid of compressed flag on original file

  5. Aaron
    July 10th, 2012 | 12:14 am

    Thanks for the tut!
    For me, I don’t have an aml, and term says .SM.gul.mach_kernel: No such file or directory, even though I can see the mach_kernel file right there with the “ls” command. I was able to de-flag the last two files though. Any help with the mach_kernel?

  6. October 25th, 2012 | 3:06 pm

    […] Cloning Question Migration Assistant is very convenient but there is a caveat. Read this: http://netkas.org/?p=1016 It may or may not happen to you. Even if it does, it's an easy fix and the convenience of using […]

  7. Andre Hamel
    October 31st, 2013 | 4:24 am

    Do I fix prior or after migrating?

  8. Vanick
    September 13th, 2014 | 9:52 pm

    If I have another copy of os x on my system, can i just boot into that and duplicate/delete/and rename the above files on the affected drive?

Leave a reply