tomasdev

web development handcrafted

Fix MBR hackintosh

13 Jan, 2010. Written by Tom Roggero

I have a Dell Inspiron 1525, as some of you might know, which O.S. is Mac, currently using OSx Leopard 10.5.7 (but I received my WD Passport 700gb, so probably soon I will update to Snow Leopard) from iPC 10.5.6
All the drivers and extras to install it you will find them on MacYourPC site.
This article is just for those having problems when restoring backups or making dual boots with Vista or Windows 7 (seven).

Well, after a lot of erases partitions and installing problems, I restored my backup from my install DVD. But there was a problem, when I tried to boot without the DVD, it says:

boot0: MBR
boot0: error

"...WTF?...", I thought. After some googleing, I found some fixes I tried:
First, put the DVD to boot, press F8 to change boot settings and use flags:

-v -s rd=disk0s1

where disk0s1 is your Mac Partition.
Second, put the DVD to boot, press F8 and use flag just

-s

to start the command line, and then try

fdisk -u /dev/rdisk0s1

, but I got an error message:

: No such file or directory

So, third option, which was successfull: boot with DVD flags

rd=disk0s1

, which will probably send you to your desktop without resolution and some drivers, but there you open Terminal and type the code:

fdisk -u /dev/rdisk0s1

You will see you are not getting the error about file or directory. Good!
But we aren't done yet: after rebooting, you will need to "boot" with the DVD, but without pressing ANY KEY (so it doesn't boot FROM dvd, but it uses some DVD files, I guess, to boot correctly). In this moment, if you don't boot with DVD on the burner, you will get the error

system config file '/com.apple.boot.plist' not found

or something similar.

So then, you boot with DVD, open Terminal and run:

sudo -s
cd /usr/standalone/i386
dd if=boot1h of=/dev/rdisk0s1
cp boot /

After that, reboot, and you won't need the DVD anymore.
What a headache with restoring backups, huh? ... Hope you find this useful!

NOTE: please take care where to use "rdisk0s1" or "disk0s1", it means your partition of Mac.

Related posts /

2 Comments /

Ray
05/07/2010

worked great!!! problem solved.
I can’t Thank you enough.
God Bless You.

Todd
22/07/2010

Worked a treat much appreciated.

Leave a Reply