달력

4

« 2024/4 »

  • 28
  • 29
  • 30
2012. 2. 14. 09:24

Hackintosh, without Mac Hackintosh/Install2012. 2. 14. 09:24


I haven't tried installing it yet because the files are still copying. I'll update this thread as soon as possible. :)
Update: Forgot the "Extra.rar" part. Pretty important, since it crashes without it. Somehow my USB Drive got fucked and now I need to re-do everything again. Shit. Well, tomorrow I'll let you know if it works.

Hai guise.

I got interasded into installing OS X onto a PC. Especially since people said it was impossible without having a Mac. These two (linked) tutorials for example:
http://lifehacker.co...start-to-finish
http://lifehacker.co...acking-required

Well, it should be possible. For as far, I haven't encountered anything really impossible. Just extremely hard. Now comes the tutorial of how to prepare a Mac OS X Snow Leopard installation USB drive without using a Mac.

First, you will need these things. Get them or download them and put them in an easy to access place.
- a computer capable of USB booting running Windows
- a Mac OS X Snow Leopard upgrade/installation disk
- an USB drive AT LEAST 8GBs big (because the disk image is 8GBs big)


That'll be the hardware you need. Now for the software. Install it and save the files to somewhere handy.
Software/programs:
- MacDrive. This program is needed because it makes it possible to do pretty anything.
MBRFix. This utility will provide functionality not found in Windows. Download it from the site and keep it somewhere handy.
dd for Windows. This utility will provide functionality not found in Windows. Keep it somewhere easy accessible.


Files:
Chameleon. This will provide some neccesary files. Download the latest thing, extract it to a folder and keep it somewhere where you can get to it easily.
PC EFI. It's a BIOS replacement for the installer to load. Otherwise, it will simply crash upon loading.
Extra.rar. Some neccesary files. Won't work without it.


Now you have gathered the needed stuff, let's get to work!

Insert your USB Drive. Awesome. Now go to Computer, right-click on your USB Drive, and choose "Mac Format". [MF.png] Now you will have to choose to modify the volume. Select it on the list and click on format. You will need to select "HFS+ Case Sensitive" for it to work. Let it format.

Now you have formatted your USB Drive with the correct file system, you will need to make it bootable. Let's go manual.

First of all, we will need to know your drive ID. We don't want to mess up your Wondows MBR, do we? To do this, fire up cmd from [Windows + R] by typing cmd in the dialog. A cmd window will appear. Type in DISKPART. Et voilla, the DISKPART program will start inside CMD. Now, type in "LIST DISK". You will see a list of physical disks. Write down the number of your USB Drive. We will need this.

Fire up MBRFix.exe through cmd.exe. To do this, open the folder with MBRFix.exe and drag and drop the file into cmd. The path to the MBRFix.exe will appear. Good job! Now type the following into it, filling in the [..] with the corrosponding files or locations. (Without the []s ofcourse)
/drive [Drive number you wrote down] restorembr [path to boot0 file]

The boot0 file I'm talking here refers to the boot0 you had to download earlier. It's from the chameleon archive in the i386 folder. Select it in its folder and drag and drop the boot0 file into the cmd prompt after removing [path to boot0 file]. The file path should appear. Press enter. Press Enter once again (for confirmation) Now you can only hope you have done it correctly, because no messages will inform you of what you just did. What you hopefully just did, is copying the file "boot0", which is 512bytes big, into the MBR. You just modified the Master Boot Record of your USB drive and it's going to help you loading the OSX installer.

Next up, get dd.exe into cmd the same way you did with FixMbr.exe. Copy and paste this line:
if=[location of boot1h file] of=\\.\[Drive letter]:

What this does, is copying the boot1h file to the VBR, Volume Boot Record. The "if" means input file, the "of" means output file. But here we want to edit the drive itself. Once again, remove the [location of boot1h file] and drag and drop the file into cmd with the cmd cursor after the "if=". For the of=, you just need to chnage [Drive letter] to your drive letter. For example, if your USB Stick is E:, replace [Drive letter] with "e". Now press enter. If you have done it correctly, it will say 
2+0 records in
2+0 records out
and a message that it succeeded.
DONE! At least, with the hardest part. This took me many more hours of searching and such.

Now we want to get our files onto the USB Drive. Insert your Mac OS X Snow Leopard install DVD. You will see something like Bootcamp or something, instead of OSX installation files. Not the thing you want. Go to Computer, and right click on your drive. Select "Show Mac Files". Also, do select "Mac File Names" and choose "Backup / File transfer". Why? Because if we don't, things tend to fuck up. Now go Folder options and disable hiding of hidden files and system files. This is important too, Windows hides important system files to stop you from tampering with them. Also, seeing desktop.ini on your desktop is ugly. Now you can open the drive by double clicking it. Now you will see a lot of files. [DVD.png] You can copy them directly onto your USB Drive. 

Now you will need to extract the Extra.rar you just downloaded. Extract them directly onto the USB Drive.

One more thing... The file you downloaded, boot.gz2. Extract it and copy the boot file onto your USB drive. Just copy it. No need for registering and such. You're finished! Magnificent!

Now reboot, select your USB Stick to boot, and install it! This part should be pretty simple. It should load up with an Apple logo, and not crash instantly. It may take a while, loading from USB drives has never been fast. (At least, here). Good luck you all :)

Windows Developer Preview WDK (x86 and x64)
  You can use the DEBUG.
 A: \> the DEBUG
 - A 100
 MOV AX, 201
 MOV BX, 200
 MOV CX, 1 
 MOV the DX, 80
 INT 13
 INT 3
 ^ C,
 -G = 100 (Master Boot Record to read into memory starting 200H)
 -D, 3B0 3FF (display the partition table and found the boot logo "55" instead of "80H" or "00H")
 00 trillion 00-00 00 00 00 00 00 55 01
 01 00 04 0F 33 4F 33 00-00 00 CD the FE 00 00 00 00 
 FF-00, the F3 of F0 00 01 50 05 0F 00 30 91 0B 00 00 00
 00 trillion 00-00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 of AA
 -E 3BE 80 (to be the boot logo changed to 80)
 -E-102 3 (modified to compile a small program, the first statement)
 -G = 100 (the modified master boot record is written to the hard disk) 
:
Posted by uno-ani