Category Archives: Mac

Boot0: Error 4k Hard Drive Fix for OSx86 Hackint0sh drives

The Problem:

The default block size on newer SSDs has changed from 512 bytes to 4,096 bytes, this has caused an explained issue in which the bootloader can not be written to a drive that’s active. There are many tutorials that help explain the issue but none advise anyone to flag the drive which is the reason I am writing this tutorial.

The Solution:

  1. Install as you would and acquire a bootloader.
  2. You need the boot1h from your specific bootloader, I can upload mine but you might use a specific revision of Chimera, Chameleon, or Enoch depending on your model, this can be found in the i386 folder if you extract the contents of the pkg file. (Hint: if you have a bootloader installed and aren’t sure what revision it is, you can find it’s boot1h file in %DRIVEROOT%/usr/standalone/i386/boot1h) You will also notice a boot0, boot1x, boot1hp, etc., for more information, read below, The other boot files
  3. Put the boot1h file on an accessible drive whether it be the OS X installer disk or another bootable Mac partition, or if you have a real Mac and can plug in your un-bootable drive to it, doesn’t really matter, installation disk is easiest so I’ll continue with that.
  4. Boot the installer, click next and then click Utilities and open Terminal.
  5. run “diskutil list”, find the disk identifier for your un-bootable partition (in my case it’s /dev/disk0s2 and will continue with it), then run:
  6. sudo dd if=/whereever/you/put/this/file/boot1h of=/dev/disk0s2
  7. If you get Resource Busy, this failed so open Disk Utility and unmount the broken-boot drive (this is why you can’t have the boot1h file on that drive)
  8. run command 6 again, it should complete successfully and show the bytes written, if it did not, please contact me with the error.
  9. This only writes the bootloader properly, we now need to flag the drive, run:
  10. sudo fdisk440 -e /dev/rdisk0 (referring to my disk again, yours might be different) then run these 1-letter commands:
  11. p (list partitions)
  12. f 2 (this will flag the 2nd partition, e.g. disk0s2 from above but you might have a different partition number)
  13. w (write)
  14. y (…yes)
  15. exit
  16. This should have properly written and flagged the bootloader, please read below especially about the Metro bootloader and let me know if this did not bring you success.

The other boot files:

Honestly I haven’t looked too much into this so I won’t start spewing out stuff I don’t know but from using Chameleon Wizard, we know that these boot files are used for:

boot0md – Used when 2 or more disk with Windows on the other disk than OS X

boot0 – One disk with OS X and Windows, or only OS X.

boot0hfs – One disk with OS X and Windows or just OS X.

boot1h – possibly alternate bootloader or backup?

boot1hp – ?

boot1x – ?

etc.

The various bootloader fix tutorials always recommend using boot1h and I remember reading many years ago that it was another bootfile alongside boot0 but don’t quote me on it. I have always used boot0 for step 6 for my Dell XPS L702x but the recommendation is to use boot1h, if you still weren’t able to boot with either, you can’t do too much damage from trying the other boot files, I can vogue for that as I’ve tried every one of those boot files and had different results, so consider that when you are facing an unbootable hackint0sh.

Other Notes:

The Metro Bootloader in my experience has caused a lot of headaches, I usually install EasyBCD 2.2 and install the Windows 7 bootloader then rewrite the Windows boot options, in my dual-HDD & triple-boot scenario, this breaks my Windows boot until I install the chameleon (personally use enoch) bootloader which I know sounds scary but if Metro seems to take precedence over your flagged OS X partition, then this would be the best thing for you to try. 

OSx86/Mac Mountain Lion 10.8.0 DP Installation Guide

If you’ve been scrambling for the past few weeks on how to get ML booting on your Hackintosh or Macintosh CPU, Here’s a quick guide that should help get you on the right track especially if your new to the whole scene.

They’re several ways to currently create a bootable USB to install Mac OS X 10.8 Mountain Lion and in this tutorial I will explain a 90% compatible (and extremely easy) way of creating that USB Installation to boot from a Macintosh (regardless of the unorthodox method) as it is a peremptory step in creating a bootable installation for OSx86 (Hackintosh) Users as well.

Note to OSx86 Users – Mountain Lion is a Developer Preview so as you can imagine, there isn’t much support. It’s likely you’ll want to try this on at least a core 2 duo. IntelHD3000 and all others alike (including Optimus) will have a much easier transition than those of us who have an unsupported/dedicated GPU – I would only suggest installation for developer purposes only or to show off to your friends but don’t expect this to run anything like 10.7.x. especially on Laptops.

Index

  1. Known Issues
  2. Requirements
  3. Useful Applications
  4. Macintosh DVD Installation

This Guide is compatible with both OEM and unofficial hardware.

Read the rest of this entry

Dual Boot Windows 8/OSX Lion – HFS+ R/W support in Apple’s drivers

Ahh, it feels strange that I’m the first to notice this… I’m sure someone could narrow down the exact driver for HFJ+ full R/W access but firstly I must explain my “Mac”/Windows setup:

  • iBoot EFI Bootloader on a GUID GPT Partition Table.
  • Dual Boot Windows 8 DP w/Tools + Mac OSX Lion 10.7.1
  • Multibeast + Customized Drivers to suite my odd combination of hardware (To be honest, I didn’t find an exact model for my mobo but managed to dispute any conflicts via the BIOS)
  • All Software Updates to date on both OS’s
  • VMware 4.0.2 (with “Boot Camp” Control)

Many have probably been aware that Paragon’s latest release is a little choppy when writing files and quite slow (that’s if you even got it functioning), MacDrive  latest release – the close competitor has better performance and overall more compatible with various hard-drive manufacturers IMHO. Unfortunately it’s also not functioning on Windows 8 DP; so if you’ve been struggling to have a fully sharable dual boot I suggest you do the following (especially if you have a real Mac):

  • Install a recent update for Boot Camp Drivers, I’ve tried a handful of the latest (especially 64x versions), and had success without any disturbances in my driver configuration… none of my drivers were “replaced” by the virtual drivers and more support (USB Hub support) came after a full install.
  • Of course, like I mentioned, someone could figure out which driver gives access to R/W support, that would be awesome and a lot more helpful (I guess that makes it free too?)

The glorious part of installing the full set of drivers for me, is having so many Mac products (Magic TrackPad, Magic Mouse, etc), are now functional in Windows 8. VMware and Boot Camp have a good way of working with each other, so it’s no problem booting back into your Mac and running Windows as a Virtual Machine. The bonus is the priority your Mac partition receives and is recognized with the Boot Camp Agent, it will even detect your Mac Boot partition:

I suggest to avoid Triple-Booting with any other Operating Systems as the boot menu for Windows 8 gets confused in Boot Camp and looks for a partition (Windows Recovery Partition) and will refuse to boot, I haven’t found a reasonable workaround yet and that may mess up your whole setup but hey, I’ll probably try it too.

Enjoy the free, non-pirated HFS+ Support!