The Boot0 Issue:
Upon successful installation, boot from hard drive results in a boot0 error:
Loading Operating System … boot0: GPT boot0: test boot0: test boot0: GPT boot0: test boot0: test boot0: error
The Actual Problem:
Due to the storage size of large drive, manufacturers had to change the default block size from 512 bytes to 4,096 bytes. The large drives are known as “Advanced Format” or 4K drives. Initially this was only seen on drives larger than 1 TB, but this change will be standardized and on all drives to lower manufacturing costs. Windows and Linux resolved their boot loaders quickly, but OSX was a little slow to catch-up because Apple didn’t ship systems with drives larger than 1TB until a couple of years ago. As part of this change there is an issue with OS X writing the boot code to the MBR sector. Thankfully, you can write to the MBR manually (Yay!) in order for the OS to boot. So, yes – you can purchase and replace that old Apple 1TB drive with a nice shiny 2TB drive.
Be mindful – your mileage may vary. If you’re not a geek or a genius – you should just accept Apple’s configuration and/or buy a new machine.
- Install Mountain Lion from a USB drive. (if you don’t have one, google it)
- Boot new installation using the same USB drive.
- Run install scripts as normal – network, sound, etc.
- Reboot system back into Mountain Lion installer from the USB.
- At the second prompt (after welcome), run the Disk Utility and unmount the Mountain Lion drive you just installed. The drive has to be “unmounted” and not in use when you write to the MBR.
- Launch Terminal from the utilities menu and execute the following command:
dd if=/usr/standalone/i386/boot1h of=/dev/disk0s2
- Exit Terminal
- Reboot Normally
- Laugh at the Sky