Category Archives: Software

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. 

How-to setup Seneca LearnID @myseneca.ca with Email Clients and Devices (e.g. Android, iOS, Windows, etc)

Recently Seneca dropped the mail server (@learn.senecac.on.ca) used for students and adapted a business account with Outlook Office 365 (@myseneca.ca) which has replaced the previous IMAP/POP settings for synchronizing your email and also added a nice 25 GB cap.

Thankfully the TLS authentication is an optional configuration (a vulnerability in TLS renegotiations was discovered) and now we have Exchange support for all devices which I highly recommend for your configuration. If you aren’t sure how the mail protocols work or haven’t taken OPS335, this is a good read to get you started but essentially:
Exchange: Support for syncing/pushing email/calendar/contacts, time-framed email syncing plus enhanced Android control allowing for text-messaging syncing and device security via security update (not sure about iOS)
IMAP: Syncs the same mailbox(s) across all devices
POP3: Each POP3 device receives an email and read notifications aren’t synced, I would not recommend POP3 but I’m sure some people still use it.
Exchange
Server name: outlook.office365.com
Domain: Blank
Username: learnid@myseneca.ca
Encryption method: SSL (Accept all SSL certificates)
Port: 443
*If you configure this on an android device, you’ll get a request to install a security update, once this is done, you can go to the Settings/Options/Phone in your Seneca mailbox online and wipe/lock your phone remotely or enable SMS syncing which allows you to receive texts to your Seneca inbox and also reply with emails which will be sent as texts.
If you don’t have support for Exchange, use IMAP:
 
IMAP
Server name: outlook.office365.com
Domain: Blank
Username: learnid@myseneca.ca
Encryption method: SSL (Accept all SSL certificates)
Port: 993
 
SMTP
Server name: smtp.office365.com
Domain: Blank
Username: learnid@myseneca.ca
Encryption method: TLS
Port: 587
 
 
These default settings are easy to remember and should always work but if the office365 server alias isn’t working or should you want to use POP3 messaging, the details for manually configuring the mail server are below:
 
Exchange setting (Incoming/Outgoing)
*Server name: by2prd0710.outlook.com or pod51018.outlook.com
Domain: Blank
Username: learnid@myseneca.ca
Encryption method: SSL
FIXED *Ideally the server would be office.outlook365.com and the username would be your learnID but this configuration failed on my Android device and thus I used a blank domain with success, if you have an iOS device and this setup fails, try separating the domain and username.
*POP setting (Incoming)
Server name: pod51018.outlook.com
Username: learnid@myseneca.ca
Port: 995
Encryption method: SSL
*Keep in mind POP servers remove the original copy of the message when downloading to a mail client disabling the ability to sync across multiple devices.
IMAP setting (Incoming)
Server name: pod51018.outlook.com
Username: learnid@myseneca.ca
Port: 993
Encryption method: SSL
SMTP setting (Outgoing)
Server name: pod51018.outlook.com
Username: learnid@myseneca.ca
Port: 587
*Encryption method: TLS
Uses Authentication: Yes
*Due to the vulnerability I mentioned, Microsoft Windows 8 (and likely Windows devices) do not support TLS on SMTP configured clients and will be able to receive but not send email.

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