Help - Search - Members - Calendar
Full Version: How to CLONE osx86 and boot from it
InsanelyMac Forum > OSx86 Project > Post-Installation Discussion > OSx86 Tiger (10.4)
emig647
Over the last month, I have seen a lot of people on irc and these boards they have wanted to clone their OSx86 drives and boot from them. It takes a lot of HARD DEDICATED work in some cases to get OSx86 perfect. It sucks when things go wrong. And it sucks to have to do it over again.

From personal experiences I have found that cloning this guy can be QUITE tricky. I started off with a 400gb SATAII 8mb cache seagate. It is a VERY loud drive in my case. Every read and write was annoying me. So I bought a Western Digital 500gb 16mb cache to clone to. I've done this 5 times. It gets easier each time, but there are a lot of steps involved, and missing one can mess you up.

The following tutorial assumes you're using SATA but it may also work for IDE.

Step 1 - Swap the drives (optional).
Take your master drive with osx86 and set it as the slave. Take your new drive and set it as the master. This will help keep things less confusing for later steps that involve activating your partition.

Step 2 - Boot of the cd and use Disk Utility to format.

There are a few things involved with this step that one can miss. I have done it a few times and it results in a blinking cursor and the Darwin Loader not loading after a clone. So put your cd in and boot off of it. Go do some sit ups or drink a beer, it takes a while. Once loaded launch Disk Utility. If the top left never turns to Disk Utility, close it and re-open it. My cd likes to try to load things the first time but never completely does until I relaunch it. Once inside Disk Utility you're going to select your drive you want to clone to. DO NOT SELECT THE PARTITION ON THE LEFT SIDE. Make sure you SELECT THE ACTUALY DRIVE. The partition is the disk tabbed in and under the main drive. You should see something like "465.8 GB Maxtor 7H500". Fill in your details there. Once you have it selected click the Partition tab on the right side. This is where a lot of people get confused. Before formatting it, click options in the bottom. From the options menu click "GUID Partition Table". This is needed in order to boot an x86 mac computer. I would start off with 1 partition for now and add one later. Name it if you want and click Partition.

Step 3 - Verify the format
Once formatting and partitioning has completed you want to verify your format. With your drive selected click the info button on the top. Make sure your Partition Scheme is FDisk_partition_scheme. If it isn't you may want to reformat your drive in step 2.

Step 4 - Reboot into osx86 and clone
Many people have suggested SuperDuper! and CCC. I had trouble with both of these and found that Apple's own Restore works the best. Once you are back into your normal osx86 install launch /Applications/Utilities/Disk Utility.Once you are in click the Restore tab. Drag your original OSx86 partition (not drive) onto the Source text field. Then drag your new drive partition onto Destination. Click Restore. Do some more pushups and situps or go run. Or solve for pi.

Step 5 - Disable old drive and boot up
Soon as restoring has finished you want to Shut Down and unplug the original OSx86 installation completely. This will make for solving your new OSx86 booting problems easier. 9 times out of 10 the Partition Scheme is wrong and the drive can't boot. Most choose the wrong type.

Step 6 - Cross your fingers
If all went perfect you will get 1 of 3 results.
A) It booted into OSx86
cool.gif You received an error "b0 error"
C) You are staring at a blinking cursor and that is it

If A) happened... good job, all is done.
If cool.gif happened... we can solve that with the next step
If C) happened... you may have missed a step on partitioning your drive correctly, try again

Step 7 - Solve that nasty b0 error
A b0 error usually means Darwing Loader can't find the active partition to load. In order to solve this you must make your newly partition active! Rammjet wrote a cool little tutorial on how to do it. I suggest you follow his steps:

QUOTE
By Rammjet

There is a built-in Unix utility in MacOSX that can be used to set your partition "Active". It is called Fdisk


Setting Your Partition "Active" Using Fdisk

Words in bold below are things you must type (followed by Enter).

1. Boot your Mac OS X install dvd
2. Once the installer is running, go to the Utilities menu and open Terminal

3. Determine which disk your MacOSX partition is on

Type diskutil list

Verify which disk number holds your partition (disk0, disk1, etc.)


4. Start using Fdisk

Assuming the MacOSX disk is the first disk ("disk0"), then
type fdisk -e /dev/rdisk0 <== use "rdisk" with your disk number here !!

Ignore the error "fdisk: could not open MBR file ..."


5. Determine which partition for MacOSX needs to be set "Active"

Type p

Verify which partition is for MacOSX (1, 2, 3, etc.)


6. Set the partition "Active"
Assuming it is partition 1, then
type f 1 <== use your partition number here !!


7. Save and exit

Type write

Type y (yes you are sure)

Type exit (to quit)


8. Remove the install DVD and reboot


I hope this helps anyone. Feel free to share your questions and comments. I'll update this if anyone has anything they think I should point out.
muzzman1
I found a very easy to use application that is free that clones my OSX86 drive very well. In fact I use it to backup my system, before I do any sort of major changes. It is "clone tool hatchery h1" I googled it to find it....
....it is a simple point and click application
digifreak
@ emig647:
Thanks for the tutorial.
But I can really recommend hatchery. It works perfect (Tried it twice including restoring).
But read the thread http://nicemac.com/index.php?topic=323.0
emig647
Yah I have heard Hatchery works well. Well at the very least my tutorial will work if your internet goes out and do not have Hatchery :-P
babgolis
Sounds good, but I'd go with Hatchery. It's pretty simple to use & the developer is very helpful if you have any problems. It works well already & development is active.
Alessandro17
Hatchery is simply great. One wouldn't believe that something so good is free.
Danyel
Hi Emig647:

Thanks for the instructions! I followed the instructions and now I'm booting up from the External Backup Drive on my Dell Inspiron 1300.

I tried using Hatchery, but it did not work for some reason (maybe because I'm using 10.4.6).

This is great to be able to boot to External Drives!

--danyel smile.gif
The Amrit
Wow, Worked Perfectly For me!

I Believe that this should be a Sticky!


thanks

--Amrit

emig647
Cool guys... glad it worked smile.gif
Johnny V
Will the above work with Leopard?

Thanks,

John V
liav
what about if I have on the Hard drive (SATA) 2 partitions, and one partition is with Win xp, and I want to move the Os X to the second Partition. (the osx is in another IDE HD). then I can't erase in the diskutility all the my SATA HD, beacuse I'll be erasing my win xp... all I can do is erase the empty partition...
any suggestion?

thanx..
Bob Ajob
Please note, I managed to completely mess up and lose one of my hackintosh systems when playing with the Hatchery H1 tool as I don't think it supports Leopard (the pFrame file can kill your disk!!!)

see here where it says "TIGER users only, NOT FOR OSx86 LEOPARD USERS)" ... http://nicemac.com/index.php?topic=323.0

Anyhow I think there might be a nicer way to do this from a few tools on a USB pendrive and the retail disk -
http://forum.insanelymac.com/index.php?sho...id=844468&#

Good luck folks smile.gif and don't forget to post your success stories and latest clone/restore instructions ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.