Voodooprojects

Chameleon => General Discussion => Topic started by: r0m30 on November 02, 2009, 04:27:51 AM

Title: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on November 02, 2009, 04:27:51 AM
Here's how I installed OSX without access to a MAC

Update:

After some feedback and several reports of success!  I have updated the process.
The updated process only requires one USB stick and it can be as small as 300MB.

Update:
Added a few clarifications, fixed a few typos and added notes relevant to RC4

Update 12/23/2009
Modified to remove MacDrive from process.  The process can now be used from a Linux machine as well and no need to save SLE because Linux never expires.

Update 9/28/2010
There is a new pressing of the OSX DVD and it has a different partition location.  If you use the newer DVD (10.6.3) then use 827510784 as the offset for the losetup command.  I'll update the doc soon.

Update 10/10/2010
Update document for 10.6.3 SL DVD
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: Kabyl on November 02, 2009, 06:23:20 AM
Hey r0m30,

Just a shallow review:

- It's Mac not MAC, MAC is a different thing.
- arch is a booter flag, not a "Kernel Flag", so it needs to have its own entry in the plist (key/value pair).

Thanks for your effort!
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: gordonf on November 02, 2009, 04:20:09 PM
Impressive!

Ignoring all of the Mac-specific stuff, using Parted Magic looks like the simplest way to create an EFI installation onto a PC.  Boot that, create an EFI volume, install Chameleon on it. Done.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: thorazine74 on November 02, 2009, 08:57:12 PM
I'm surprised you got this to work this way, specifically:
- You restored the hfs+ dvd to a fat32 partition and the installer worked from there without errors?
- In the other thread it was stated that dd'ing boot0 to the mbr was not feasible but you still include that, didnt you break your partition table?
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 03, 2009, 02:55:02 AM
thorazine74

- the fat32 partition only loads the kernel and kexts, the rd=disk?s3 then mounts the retail DVD and runs the installer from there.  Further testing seems to indicate that all you need on the FAT32 drive is mach_kernel and /S/L/E, so you can do this with a very small pen drive.

- if you look at the dd statement for boot0 it has bs=400 count=1, by only writing 400 bytes you don't blow away the partition table.  I don't know for sure how much you can write before it goes boom but 400 works with RC3.

Kabyl

Thanks, I'll fix those.  I'm surely confused about the arch flag then, reading the docs had me believing it was a kernel flags parameter.  I'll just remove it since I don't understand it and an ATOM will only run 32bit.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: gordonf on November 03, 2009, 07:29:44 PM
So if I read this right, I'm using a USB boot device containing Parted Magic to install Chameleon RC3 to a target PC, then (assuming all the Mac stuff) I'm using a second USB boot device to boot just the mach_kernel enough to then start the Snow Leopard DVD installer?

I suppose that's one way to get Chameleon to boot the install DVD... though it's not really booting the install DVD; it's booting a kernel on another fixed device that then in turn starts the installer. That's twisted.

Just one thing: Being a comparable newbie, what is /S/L/E?
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 03, 2009, 09:04:44 PM
That's the gist of it.  Chameleon starts the kernel, the kernel mounts the retail DVD and runs the install from the DVD. As I said above all you really need on the USB drive is mach_kernel and /S/L/E (/System/Library/Extensions - the directory where the Apple standard kexts are stored). It is one way and it allows you to build a retail install using only a Windowz PC no Mac access required.

I've been able to build a combination Chameleon/Kernel USB drive that is under 300MB that successfully installs OSX, the one problem is that I can only get Chameleon to offer it as a boot device if there are no valid partitions on the hard drive(s).  There is probably a way to get Chameleon to use it after the drive is partitioned but I haven't found it and my mini decided I didn't really need a screen so I'm unable to continue testing until that does a round trip to HP repair  >:(
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 03, 2009, 10:39:56 PM
Disclaimer:  I've never used a Mac or Max OSX and have never attempted a setup such as this before, so please excuse me if this post is really really dumb!!

Questions:

1: Do you actually need a com.apple.Boot.plist?  The Chameleon Docs don't really say, and there's not one showing in the screenshot.

2: Are the kext files included with Chameleon?  Maybe they're only included with the Hackintosh software?  It's hard to say.

Following this guide, I've made it to the tar --strip command, and that's where I've run into issues.  The error states:

pbzip2: *ERROR: Bad magic number (file not created by bzip2)!  Skipping...

I'm kind of uncertain what the goal here is, other than unzipping the Chameleon gz file somewhere....

Could anyone give me any tips?
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 03, 2009, 11:03:07 PM
Never mind, I figured it out and am continuing, though still without Boot.plist or kext files.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 03, 2009, 11:18:20 PM
kukhuvud -

Sorry typo on my part as you figured out it should be -xzf not -xjf....

I don't think a com.apple.Boot.plist is required but you will have to type your boot options every time you boot and getting the first successful boot is a challenge.

Without any kexts you won't get very far.  You should at least start with Disabler.kext (included in Chameleon /Optional Extras/) and a decrypt module dsmos.kext is the one I used.  I found most of the kexts by Googleing the device name and osx86.  if you aren't familiar with what hardware you have you can do a lspci while in pmagic and get the info that Linux sees.

I'd be interested in hearing your suggestions for clarifications/fixes
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 03, 2009, 11:52:14 PM
I typed your com.apple.Boot.plist into a file and changed only the Graphics Mode and then redid all the copying and dd commands but the machine wouldn't boot from the hard drive.

So, I tracked down what I believe to be the appropriate kext files for my machine and I'm going to try this again :)
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 03, 2009, 11:57:39 PM
I think these are the steps to create the Chameleon boot partition, assuming the disk is clean:

gdisk /dev/sda
n
1
default
+200M
ab00
w
y
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 04, 2009, 12:10:35 AM
Also, there's a typo...

where it says: mv /C/Optional\ Extras/smbios.plist /Chameleon/Extra

should read: mv /C/Optional\ Extras/smbios.plist /C/Extra

and the unmount command doesn't work ;)
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 04, 2009, 02:15:52 AM
if it won't boot at all then check these things

is boot in /C ?  .... ls /C/boot

if it is then make sure you got the dd commands correct, if your using sda to install on then:

cd /C/i386
dd if=boot0 of=/dev/sda bs=400 count=1
dd if=boot1h of=/dev/sda1

boot0 goes at the beginning of the disk
boot1h goes at the beginning of the partition
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 04, 2009, 05:45:30 PM
Trying again when starting over from scratch does boot :)

It loads a bunch of stuff but eventually fails.  I guess it's a kernel panic of some type, but none like I've ever seen on linux.  I'm reckoning that I have some wrong kext and wrong hardware setup, so I'll do some googling and see what I can find!
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 04, 2009, 07:30:24 PM
I found what seems to be a good kext pack and re-followed the guide again!

I think you're spot on and that this *should* work.

Now I just need to solve my "no hpets available cpu(s) configured incorrectly" issue and I bet I can get SL installed via your method :)
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: Gringo Vermelho on November 05, 2009, 12:12:23 AM
Try HPET.kext from netkas.

Or look in your BIOS and see if there's a HPET setting.

Dit kæmpe kukhuvud!
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: thorazine74 on November 05, 2009, 11:02:36 AM
- if you look at the dd statement for boot0 it has bs=400 count=1, by only writing 400 bytes you don't blow away the partition table.  I don't know for sure how much you can write before it goes boom but 400 works with RC3.

Good work! I guess I read it too quick to understand all of it clearly.

Regarding how much you can write I researched a bit and it seems chameleon's boot0 code ends up at 01AF:

(http://img195.imageshack.us/img195/6389/chameleonsboot.png)

I looked at a standard FAT32 mbr of a single partition USB and it looks its empty up to 01B7:

(http://img695.imageshack.us/img695/8541/standardmbr.png)

So I think it could be safe to write boot0 up to 01AF (bs=430 I think, unsure if counts from 0 or 1) and the whole boot0 will be there without touching the partition table.

Alterntively you may want to look at using grub4dos+grubinst and chainbooting chameleon from there to avoid any headaches with dd and writing stuff to the mbr.

- the fat32 partition only loads the kernel and kexts, the rd=disk?s3 then mounts the retail DVD and runs the installer from there.  Further testing seems to indicate that all you need on the FAT32 drive is mach_kernel and /S/L/E, so you can do this with a very small pen drive.

I dont really understand this, so you boot the kernel and kexts from the fat32 drive and then change the rd to be the dvd drive? I didnt know you could access the dvd drive with a rd=diskXsX?
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 06, 2009, 04:39:17 AM
Regarding how much you can write I researched a bit and it seems chameleon's boot0 code ends up at 01AF:
(Images sniped)
I looked at a standard FAT32 mbr of a single partition USB and it looks its empty up to 01B7:

So I think it could be safe to write boot0 up to 01AF (bs=430 I think, unsure if counts from 0 or 1) and the whole boot0 will be there without touching the partition table.

Alterntively you may want to look at using grub4dos+grubinst and chainbooting chameleon from there to avoid any headaches with dd and writing stuff to the mbr.

Well you got me curious do I googled it and there are 440 bytes available for boot code according to wikipedia
http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAcQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMaster_boot_record&ei=eYvzSpSgDoj8tQONmekO&usg=AFQjCNFFr83s9Y_0Uoh9khyYKhsahBCQ1g&sig2=cOMrcTOI4ypEFb4xf5OsEw (http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAcQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMaster_boot_record&ei=eYvzSpSgDoj8tQONmekO&usg=AFQjCNFFr83s9Y_0Uoh9khyYKhsahBCQ1g&sig2=cOMrcTOI4ypEFb4xf5OsEw) so I'll update that for v.02

- the fat32 partition only loads the kernel and kexts, the rd=disk?s3 then mounts the retail DVD and runs the installer from there.  Further testing seems to indicate that all you need on the FAT32 drive is mach_kernel and /S/L/E, so you can do this with a very small pen drive

I dont really understand this, so you boot the kernel and kexts from the fat32 drive and then change the rd to be the dvd drive? I didnt know you could access the dvd drive with a rd=diskXsX?

I was unclear there rd=disk?s3 IS the DVD, the kernel (that Chameleon just loaded) mounts it and runs just like it would have if the DVD had been booted on a real Mac.
Most (all?) modern operating systems from the System z to the one running the PC your reading this on allow for boot parameters to tell it where the rest of the OS lives, it's really no different than what happens during a "normal" boot with chameleon.  The BIOS loads the first sector of the boot volume (boot0) and passes control to it, that code searches the partitions for, loads and passes control to the next step in the boot process (boot1h). Boot1h finds, loads and passes control to boot.  Boot builds a list of partitions for you to select where to load the kernel from, then it loads the kernel, does it's EFI magic and passes control to the kernel.  The kernel selects the root device based on it's rules, for mach that means that it will use either rd=diskXsY or uuid=12345678-1234-1234-1234-123456789012 from the kernel flags or some fallback logic it has.  There is nothing that says rd= or uuid= have to live on the same disk that the kernel was loaded from it's just common practice on desktop computers to do it that way.  What makes this work is that once the kernel is loaded it knows how to mount and read a hybrid DVD.  So I tell it to do exactly that.

Sorry if that was long long winded, I was just trying to show that it really isn't that perverse of a process.

I have been refining this process, I can now build a USB stick that is only about 300MB, it both boots Chameleon and is the load disk for the kernel.  Then I just pass the kernel the rd=disk?s3 flag an we're off to the races.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: kukhuvud on November 09, 2009, 07:49:12 PM
Well you got me curious do I googled it and there are 440 bytes available for boot code according to wikipedia so I'll update that for v.02

So if I happened to redo my setup again (to include a hpet kext that I found), would you suggest 430, 440, or sticking with the original 400?
Title: Aplolgies, but a small derail...
Post by: kukhuvud on November 09, 2009, 07:59:32 PM
Also, as a n00b, I'm not certain where to find support past the process of getting SL booted, and I don't want to derail this awesome thread.

Would anyone have suggesions of forums I can peruse on finding install support?  So far I have accounts at www.infinitemac.com, www.insanelymac.com and osx86.sojugarden.com but I'm finding them of limited usefulness at this time.

FWIW, I finally got SL to boot to the point where it shows a dark grey background and a mouse pointer in the top left corner.  Eventually the pointer disapppears and the system just sits there.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 10, 2009, 01:29:02 AM
So if I happened to redo my setup again (to include a hpet kext that I found), would you suggest 430, 440, or sticking with the original 400?

I'd recommended 440, that is the maximum code they can put in the MBR and the boot0 code has checks to make sure they don't exceed that size.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on November 10, 2009, 02:06:49 AM
Also, as a n00b, .......

Me too, that's why I worked out this way to get SL installed without a Mac. I just google some keywords (device type, panic module, whatever) and "osx86" then slog through the hits.

FWIW, I finally got SL to boot to the point where it shows a dark grey background and a mouse pointer in the top left corner.  Eventually the pointer disapppears and the system just sits there.

That's so close the next thing you should see is the Language selection screen, it takes a second or two to get there on my desktop.  What are the last messages you see?

I rebooted the CD and my dmesg looked like this
DSMOS has arrived
Intel82566MM info: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

I had HPET in my DSDT though, how many kexts are you loading from /Extra/Extensions?
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: s0nykus on December 02, 2009, 02:39:20 AM
Method confirmed!

I've managed to install SL on two laptops using this method, my Dell Latitude D830, and a friend's D820 as well, the other day. No Macs involved, just a WinXP PC, PMagic USB stick and SnowUSB stick, as mentioned in the tutorial.

Some the missing bits, maybe:

The SnowUSB stick (see PDF in original post) doesn't have to be that large. You don't have to copy the whole DVD to it. It's sufficient to copy mach_kernel, and /System/Library/Extensions from the SL dvd to the SnowUSB key. These won't take up more than some 250MB. Like r0me0 says, 300MB tops, with all your other files there.

In order to convert the SL .dmg to .iso (to be able to burn the dvd under windows ), I've used the dmg2iso command line utility available from:

http://vu1tur.eu.org/tools/

Like in the tutorial, I've used MacDrive in order to access the resulting dvd and copy the mach_kernel and the S/L/E directory to the stick (preserve the names and the directory nesting). But MacDrive doesn't work under XP 64-bit! :( Luckily, my dusty old WinXP 32-bit laptop has come to the rescue.

Finally, following the screenshots above, I've used a 432 bytes block size:

dd if=boot0 of=/dev/sda bs=432 count=1

Anything up to 440 seems to be safe for MBR indeed, but I've looked at the "boot" file from Chameleon-2.0-RC3-r658, and it was 432 bytes long, the rest being zerofilled. See screenshot in prior post, the contents of the file ends at "GPT.testing.done", and that's 432 bytes. :)


What hasn't been covered here:

All fine, I'm done installing. So WHAT'S NEXT???

When my install was ready and successful, I didn't know where or how to continue. If you have used Disk Utility to partition your hard drive (like you should), it will erase and recreate the EFI partition from the beginning of the drive, so all your boot files will be gone. And once the install is complete, you will have a 30 second reboot timer to deal with. :))

To pause the reboot timer, just open any of the utilities from the toolbar, a Terminal console might be pretty useful. If your files are gone from the EFI partition, you can now format it again to HFS+ using the command:

diskutil eraseVolume "HFS+" "EFI" /dev/disk0s1

This will format your EFI partition as HFS+, and name the partition "EFI". After formatting, your Snow Leopard will automount the EFI partition to /Volumes/EFI/ . Now you can start again, and copy all the files necessary for booting your system to the EFI partition, just like you first did with the 200MB partition in the tutorial.

Once again, you'll copy Chameleon, put your boot file in the root dir (/Volumes/EFI/), then copy your /Extra/Extensions/ there with all the kexts you have hunted down from the interwebs for your particular system. Your com.apple.Boot.plist, smbios.plist and DSDT.aml will go in the /Volumes/EFI/Extra/ directory.

Then you'll make the EFI partition bootable again with:

cd /Volumes/EFI/Chameleon-2.0-RC3-r658-bin/i386/
dd if=boot1h of=/dev/rdisk0s1

What's different this time, you can (and should) use fdsik to write boot0 to the MBR of your hard drive:

fdisk -f boot0 -u -y /dev/rdisk0

Before you reboot, you should build a kext cache file too.
But first, you will need to "repair" permissions on your EFI partition using a quick-n-dirty:

chown -R 0:0 /Volumes/EFI/
chmod -R 755 /Volumes/EFI/

And now, you will build your first Extensions.mkext (one large file with all the kexts compiled into it, much like a "driver pack") on your EFI drive. Okay, it's not *that* large, mine has about 30-40MB. And the command is:

kextcache -v 2 -t -m /Volumes/EFI/Extra/Extensions.mkext /Volumes/EFI/Extra/Extensions/ /System/Library/Extensions/

You might see a couple of warnings about missing dependencies, don't worry about them right now. If it complains about the wrong permissions on the other hand, make sure you've fixed them with the quick'n dirty above.

Once all this is in place, you're finally ready to reboot and enjoy your kernel panic freshly installed Snow Leopard. But if you are like me, you'll first make a small USB rescue stick (yes, I've got 4 sticks, w00t!) even a small 128MB is enough. Format the stick to HFS+ (without journaling) with Disk Utility (or command line if you're brave), and replicate everything you've just put on your EFI boot partition to the USB key. Make it bootable in the same way. Use this highly resorceful blog for reference if you want (see chapter 7 there for creating a bootable USB key):

http://aserebln.blogspot.com/

Got your stick? Okay, now you are indeed safe to reboot. Oh, and by the way, have you edited your com.apple.Boot.plist and your smbios.plist for all the right settings? You'll learn into it, just use some google intelligence. :)

If you get a kernel panic after rebooting (and there's a good chance that you'll get quite a few while experimenting), select your Snow partition, and hit space while in Chameleon, and try booting by entering the -v -f flags (verbose, ignore kext caches), or with the -v -x flags (verbose, safe mode, minimal set of drivers) at the boot prompt. Adding Wait=Yes, "Quiet Boot"=No and "Legacy Logo"=No may also help to see where it crashes. You can add all these parameters and more (in key+string format, lose the quatation marks) to your com.apple.Boot.plist file. Google up some examples!

I've seen many forums posts with users complaining like "I've got the apple logo / the spinning rainbow wheel, and then the whole darn thing freezes and it stops working". This kind of input will definitely NOT help in identifying your problem. Use the verbosity options above, instead, and get some real output. ;)

So this is where your quest starts. You'll probably have to add or lose some kexts to make things work like they should. Add or remove them one by one, and see what happens after each step. Don't forget to restore permissions and rebuild your Extensions.mkext after each and every change. I know it is painful and slow, but still, change just one thing at the time only. Otherwise you won't know which change resulted in what effect. Live and learn, it's fun after all! ;)

Bottom line: after a 2-3 weeks of digging, I've got a beautifully working h*ckintosh on my Dell Latitude D830 laptop. It triple boots (whoa, baby!) Snow Leopard 10.6.2, Ubuntu 9.10 Karmic Koala, and Windows 7 Ultimate 64-bit. A few weeks ago I didn't even know what to do with that large .dmg file I've downloaded. The learning curve's been pretty steep though, I must admit, but it was fun.


P.S: Triple boot tutorial explained here (but get your SL working first, the better):

http://www.insanelymac.com/forum/index.php?showtopic=165899

My install order was SL / Linux / Win7, but the order doesn't really matter that much if you know what you're doing.
You will need gptsync to explain a dumb operating system (guess which one :P) where to load, get it from:

http://www.insanelymac.com/forum/index.php?showtopic=177505&pid=1214512&mode=threaded


Finally, a great big thanks to r0m30 here, for this tutorial that got me started off, I'm so glad I've found this post!

Also many thanks to the great folks on this forum, the Chameleon team, Voodoo Labs, insanelymac.com, infinitemac.com, AsereBLN (who never looked into my DSDT eventually :(), Kabyl, zhell, mackerintel, and of course netkas The Man, for making all this possible. And many thanks to all of you guys out there, for putting together this great community. Keep on rockin'! ;)
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on December 02, 2009, 08:01:42 PM
Method confirmed!

Great, glad it helped.

Some the missing bits, maybe:

Almost a certainty!

The SnowUSB stick (see PDF in original post) doesn't have to be that large. You don't have to copy the whole DVD to it.

I mentioned this in one of the comments, I'm working on an updated version that only has instructions to copy SLE & the kernel.

In order to convert the SL .dmg to .iso (to be able to burn the dvd under windows ), I've used the dmg2iso command line utility

I was assuming that the SL DVD was purchased,  my bad  ;D

Finally, following the screenshots above, I've used a 432 bytes block size:

dd if=boot0 of=/dev/sda bs=432 count=1

Anything up to 440 seems to be safe for MBR indeed ...

Yep, I'm going to use 440 in the updated doc so that it should work with all future versions of Chameleon,

What hasn't been covered here:

All fine, I'm done installing. So WHAT'S NEXT???

When my install was ready and successful, I didn't know where or how to continue. .......

I didn't intend for this to be the end-all tutorial, just an adjunct for those of us who didn't have access to a Mac get that first OSX install.  There are plenty of guides out there that cover what to do after you have your fresh install.

If you have used Disk Utility to partition your hard drive (like you should), it will erase and recreate the EFI partition from the beginning of the drive, so all your boot files will be gone. And once the install is complete, you will have a 30 second reboot timer to deal with. :))

To pause the reboot timer, just open any of the utilities from the toolbar, a Terminal console might be pretty useful. If your files are gone from the EFI partition, you can now format it again to HFS+ using the command:

diskutil eraseVolume "HFS+" "EFI" /dev/disk0s1

This will format your EFI partition as HFS+, and name the partition "EFI". After formatting, your Snow Leopard will automount the EFI partition to /Volumes/EFI/ . Now you can start again, and copy all the files necessary for booting your system to the EFI partition, just like you first did with the 200MB partition in the tutorial.

Once again, you'll copy Chameleon, put your boot file in the root dir (/Volumes/EFI/), then copy your /Extra/Extensions/ there with all the kexts you have hunted down from the interwebs for your particular system. Your com.apple.Boot.plist, smbios.plist and DSDT.aml will go in the /Volumes/EFI/Extra/ directory.

Then you'll make the EFI partition bootable again with:

cd /Volumes/EFI/Chameleon-2.0-RC3-r658-bin/i386/
dd if=boot1h of=/dev/rdisk0s1

What's different this time, you can (and should) use fdsik to write boot0 to the MBR of your hard drive:

fdisk -f boot0 -u -y /dev/rdisk0

I'd done the install so many times that I forgot about this glitch,  I actually created a small Chameleon partition right after the EFI partition instead of using the EFI partition.  This get's around the reinstall and prevents you from getting getting blown away if some ever helpful OS/utility notices that your EFI partition is "corrupt" (The standard is for EFI to be FAT32) and reformating the EFI Partition.  In the days of terabyte disks a 500mb helper partition isn't a big deal.

Before you reboot, you should build a kext cache file too.
But first, you will need to "repair" permissions on your EFI partition using a quick-n-dirty:

chown -R 0:0 /Volumes/EFI/
chmod -R 755 /Volumes/EFI/

And now, you will build your first Extensions.mkext (one large file with all the kexts compiled into it, much like a "driver pack") on your EFI drive. Okay, it's not *that* large, mine has about 30-40MB. And the command is:

kextcache -v 2 -t -m /Volumes/EFI/Extra/Extensions.mkext /Volumes/EFI/Extra/Extensions/ /System/Library/Extensions/

You might see a couple of warnings about missing dependencies, don't worry about them right now. If it complains about the wrong permissions on the other hand, make sure you've fixed them with the quick'n dirty above.

Once all this is in place, you're finally ready to reboot and enjoy your kernel panic freshly installed Snow Leopard. But if you are like me, you'll first make a small USB rescue stick (yes, I've got 4 sticks, w00t!) even a small 128MB is enough. Format the stick to HFS+ (without journaling) with Disk Utility (or command line if you're brave), and replicate everything you've just put on your EFI boot partition to the USB key. Make it bootable in the same way. Use this highly resorceful blog for reference if you want (see chapter 7 there for creating a bootable USB key):

http://aserebln.blogspot.com/

Got your stick? Okay, now you are indeed safe to reboot. Oh, and by the way, have you edited your com.apple.Boot.plist and your smbios.plist for all the right settings? You'll learn into it, just use some google intelligence. :)

If you get a kernel panic after rebooting (and there's a good chance that you'll get quite a few while experimenting), select your Snow partition, and hit space while in Chameleon, and try booting by entering the -v -f flags (verbose, ignore kext caches), or with the -v -x flags (verbose, safe mode, minimal set of drivers) at the boot prompt. Adding Wait=Yes, "Quiet Boot"=No and "Legacy Logo"=No may also help to see where it crashes. You can add all these parameters and more (in key+string format, lose the quatation marks) to your com.apple.Boot.plist file. Google up some examples!

I've seen many forums posts with users complaining like "I've got the apple logo / the spinning rainbow wheel, and then the whole darn thing freezes and it stops working". This kind of input will definitely NOT help in identifying your problem. Use the verbosity options above, instead, and get some real output. ;)

So this is where your quest starts. You'll probably have to add or lose some kexts to make things work like they should. Add or remove them one by one, and see what happens after each step. Don't forget to restore permissions and rebuild your Extensions.mkext after each and every change. I know it is painful and slow, but still, change just one thing at the time only. Otherwise you won't know which change resulted in what effect. Live and learn, it's fun after all! ;)

Bottom line: after a 2-3 weeks of digging, I've got a beautifully working h*ckintosh on my Dell Latitude D830 laptop. It triple boots (whoa, baby!) Snow Leopard 10.6.2, Ubuntu 9.10 Karmic Koala, and Windows 7 Ultimate 64-bit. A few weeks ago I didn't even know what to do with that large .dmg file I've downloaded. The learning curve's been pretty steep though, I must admit, but it was fun.

All good info, I haven't had much luck with Extensions.mkext here, if you leave the "-f" in the kernel flags you don't have to have it but you boot up is certainly slower.  It also seems that if you take the "-f" out Chameleon will load your EE kexts and then the standard kext cache from the boot volume. 

Also many thanks to the great folks on this forum, the Chameleon team, Voodoo Labs, insanelymac.com, infinitemac.com, AsereBLN (who never looked into my DSDT eventually :(), Kabyl, zhell, mackerintel, and of course netkas The Man, for making all this possible. And many thanks to all of you guys out there, for putting together this great community. Keep on rockin'! ;)

Absolutely!!
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: macaday on December 04, 2009, 05:12:56 PM
Hi guys.  This is the best article that I found so far.  I followed the original PDF and got most of it working.  But when I try to boot up into Chameleon off the HFS+ partition it flashes several errors quickly.  There is something about a ram disk and then it says that it gives "error parsing plist file" then it just reboots.  I have tried editing the com.apple.Boot.plist file several times but that has not handled it.  I read through what everyone else is saying, but none of it appears to apply to my problem. 

Any thoughts?  Sorry I am also very new to this mac thing.  So I might have missed some obvious thing. Thanks again for all the help.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on December 04, 2009, 06:52:09 PM
when I try to boot up into Chameleon off the HFS+ partition it flashes several errors quickly.  There is something about a ram disk and then it says that it gives "error parsing plist file" then it just reboots. 
Have no idea about the ram disk part, this method doesn't use one.....

First, can you see com.apple.Boot.plist in the /Extra directory of your EFI partition? If you can then where are you editing your com.apple.Boot.plist?  If you are doing it under windows you need to rerun the dos2unix command on it, Chameleon doesn't seem to like windows line endings at all.  I'd do this anyway just to be safe.

Second, did you use bs=400 on the boot0 dd command from the original PDF or bs=440 as discussed in the thread?  If you used 400 redo it with 440 so you get better error reporting.  The 400 leaves out several bytes from the lit pool so you don't always get good error messages. Again, I'd do this anyway just to be safe.

Lastly, are you getting a "boot1: error" message?  If yes, you may need to patch boot1h to get around a bug in you BIOS.  See http://forum.voodooprojects.org/index.php/topic,854.0.html (http://forum.voodooprojects.org/index.php/topic,854.0.html) for details.  I didn't need this on my HP mini but I did on my HP desktop.

Hope this helps.

Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: macaday on December 04, 2009, 07:20:54 PM
Thanks.  I boot up with the parted usb image. I then mounted the EFI partition and edited the plist file with vi. 

I first loaded the boot0 with bs=400 and then as I read the discussion I then tried bs=440. The error message doesn't say boot1 or anything, just "error parsing plist file" it doesn't say which one or anything.  There are a few messages before I was able to see by hitting the pause button while booting, but it went buy too fast.

Is there any way of turning on any logging?  I was going through the chameleon site, but couldn't figure it out.

Thanks again for the fast response.
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: CSUFSteve on December 05, 2009, 03:30:10 AM
First off, I'm a Hackintosh n00b and your guide is *exactly* what I've been looking for! I do have friends with a Mac and could have used Lifehacker's guide (since that's my exact mobo), but dammit the whole point is to not have a Mac! And I was getting frustrated trying to do things through a combo of Windows and Ubuntu Live. So I am really really excited to see this thread.

I will probably go through your PDF exactly, first. Not sure but I might be OK with keeping Chameleon ("C") on the USB and just booting from it, but my scenario is Ubuntu in partition 3 of hdd0 (W7 on the 1st two), which doesn't get seen by anybody right now. hdd0 is a hardware-RAID mirror pair. Snow will be on its own drive, unmirrored. So I'm hoping C will be able to see all 3 partitions.

Yep, I'm going to use 440 in the updated doc so that it should work with all future versions of Chameleon,

I'm not in the least bit being critical here, but just wondering when you might have this ready? In the meantime, I'll be careful about matching up changes in this thread with the original document.  I'm thrilled to have found this thread, so sincerest thanks, and am starting.... NOW!

--Steve
Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on December 05, 2009, 06:28:11 AM
Thanks.  I boot up with the parted usb image. I then mounted the EFI partition and edited the plist file with vi. 
I'd still run dos2unix on it just to be sure.

The error message doesn't say boot1 or anything, just "error parsing plist file"

A quick grep of the source says this:
libsaio/stringTable.c:        error ("Error parsing plist file\n");
boot2/Makefile:LIBDEP= $(SYMDIR)/libsaio.a $(SYMDIR)/libsa.a

So it looks like the error is coming from boot, that's the good news that means your BIOS doesn't have the bug that I pointed out in the previous post.  The bad news is that it means you probably fat fingered your boot.plist.  You're going to need to look closely and see whats wrong, a missing bracket or slash to terminate a key maybe? If you post it I'll take a look and see if I can spot it.


Title: Re: Installing OSX without acces to a MAC - HOWTO first draft
Post by: r0m30 on December 05, 2009, 06:40:15 AM
....   just wondering when you might have this ready?

I have it written, I need to do a walk though to make sure it's right. My netbook is in TX at the HP repair facility so I don't have a machine to try it on.... :(

If you want a copy knowing that it's not been fully vetted PM me an e-mail address and I'll send it to you.
Title: Re: UPDATED: Installing OSX without acces to a MAC - HOWTO first draft
Post by: rocksteady on December 07, 2009, 03:04:48 AM
Congratulations from me too r0m30

thanks for your efforts, pure quality post :)

(polished your title a bit, your thread will make it to the next rev of our FAQ)

Cheers
Title: Re: [How To]: Installing OSX without acces to a Mac (1st draft)
Post by: r0m30 on December 07, 2009, 03:52:01 AM
Congratulations from me too r0m30

thanks for your efforts, pure quality post :)

(polished your title a bit, your thread will make it to the next rev of our FAQ)

Cheers

Thanks  ;D but none of it would have been possible without all the hard work of the team that built Chameleon.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: CSUFSteve on December 07, 2009, 11:25:41 PM
And a public thanks from me, r0m30. As I said, your writeup was really the dam-buster that made it all happen for me.

I'm gonna work on that dual-boot USB thing we talked about. If I can get that working, along with mobo and video combo I have (Gigabyte EP45-UD3P and Gigabyte Radeon HD 4850), then I think it'll be worth it for me to do a guide too. I also had to use EPI v10.5 as well as that booth1 update you give me. Plus other kexts for my mobo, graphics, and ICH10R in RAID mode.

Steve
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: s0nykus on December 08, 2009, 12:46:24 AM
@r0m30: Feel free to include any or all of my post-install notes in your guide, if you feel like. Modified, or unchanged, in any way you find it appropriate, I'll leave it to your discretion. Sharing my own experience / tips and tricks is my way to give something back to the community, and it's free for all knowledge.

Thanks again, your guide gave a whole new dimension to my Dell laptop. ;)
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: CSUFSteve on December 08, 2009, 01:13:05 AM
s0nykus: I just re-read your "now what?" post and that triple boot thing is EXACTLY what I want to do (well, except for I'll be booting off a stick). Can't wait to try it.

Incidentally, there is a 64-bit version of MacDrive now, at least for Windows 7.

Oh, and do I *need* to compile my kext's?  Or can I just leave them in E/E on the stick?  Also, r0m30 wasn't sure about this either, but what is the load-order of kext's anyway? Is it local E/E, local S/L/E, then OS X S/L/E?? For the 4850, I have to remove non-4850 kext's. I did that on the stick, but still got a KP from OS X. Can I just rename them on the OS X?
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: rocksteady on December 08, 2009, 04:33:09 PM
Done: linked this thread to the faq (http://forum.voodooprojects.org/index.php/topic,754.msg4292.html#msg4292)

Keep the spirit of this thread alive + kickin' guys

Thanks heaps :)
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: s0nykus on December 08, 2009, 09:23:27 PM
@CSUFSteve: Triple boot from a Chameleon USB key? It's perfectly doable, and quite easy. I've stayed that way for a good while, and it's nice to see how a USB stick literally becomes a "key" to your system. Without the USB key plugged in, my system was booting straight into Win7 Ulti 64, which I've let take over the master boot record (not that you have much choice on install :D).

Some useful hints: *Always* keep TWO USB sticks, one for experimenting with new kexts / settings / tricks / tweaks, and one with a stable / known-good / working kext selection and setup. That way, whenever you screw up something (and trust me, you will, more than once) you'll still have your safe-stick to boot up with, and get a stably working system. *Never* commit changes to both sticks at once (sometimes it's tempting), you better keep your safe-stick a little bit obsolete, but stable. This two sticks setup saved my @ss quite a few times. :D

I think there was a 64-bit version of MacDrive out already, but all I've had was XP64, XP32 and Linux, on my home boxes. First time I've tried Win7 was on this triple boot Hac, and that came *after* I've installed Snow already. :)


Now, what's more important:

About driver caches (Extension.mkext files): On my stick (or EFI / boot partition, to same effect) I only have /Extra/Extensions/ . I've left my /System/Library/Extensions/ *completely* untouched on my Snow partition. I did not edit, modify or delete anything from it. Instead, I've played with mkext files, placing *all* the kexts I need in /Extra/Extensions/ even if some of these kexts are overlapping with existing S/L/E ones.

Your boot volume may be a USB stick,  EFI partition,  or a separate, small non-journaled HFS+ boot partition. On this volume I have all my kexts in /Extra/Extensions/ , and I create an Extensions.mkext package, issuing a command like:

kextcache -v 2 -t -m /Volumes/YourVolumeNameHere/Extra/Extensions.mkext /Volumes/YourVolumeNameHere/Extra/Extensions/ /System/Library/Extensions/

Note that I'm including both my boot volume's /E/E/ and my Snow installation's /S/L/E/ to the build path. That way, even if I have two kexts with the same name, the one from my /E/E/ will take precedence, and still, I won't have to edit or remove the other one from /S/L/E/.

As I see Chameleon booting, if it finds an /Extra/Extensions.mkext it will load first, and Chameleon will no longer even look in /E/E/ for more kexts. Then it will load /System/Library/Extensions.mkext, do all its other mojo (dsdt, GraphicsEnabler, and the like), and boot up the system, eventually.

If I have a modified kext in /E/E/ (e.g. IOATAFamily.kext) mine will simply load first. :) Later on, when the kernel will try to load the original one from /S/L/E/ it will notice that a kext with the same name already exists and is running OK, so there's no need for another instance. That way there's no more need in editing or deleting kexts in /S/L/E, leaving my Snow install nice and fresh like vanilla.

Maybe this approach is a little bit redundant. I still have to try building an Extensions.mkext from /E/E/ only, and see if I can obtain the same effect without adding /S/L/E/ to the mkext build path as well. I'll try it out on my *other* stick, and come back with the results at a later time.

Same precedence rule did NOT work for me by just placing my own kexts in /E/E/, that's why I've built an Extensions.mkext in the first place, as described above. There may be better ways to do this, if you have found one, please do post it here, this is all work in progress.


Please note that this is all new grounds to me as well, and part of it has been learned via the good old trial and error method. That said, all of your input, feedback, comments and opinions are more than welcome.



@rocksteady: Thanks a lot for the good words, and the attention we're getting here. I might be too lazy to start my own topic, so here we go, I've just combined my ideas with what's already been well said here. I hope r0m30 doesn't mind, I don't want to steal his thunder. ;)

That said, we'll keep the ball rolling!
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: CSUFSteve on December 09, 2009, 11:54:19 PM
WOO-HOO, I can boot without the -x option now! :)

I still find the boot order confusing, in terms of the effect of combining the kexts with the mkexts, but I've only had time to sort of skim your note.

But I took an Extensions.mkext I found for my mobo, combined it with other kexts I found, restored my original S/L/E (from the Snow DVD), and... viola! ATI Radeon 4850 recognized!!

Only thing missing now is sound.

Really looking forward to cleaning all this up and doing it from scratch, documenting it all. Hopefully the next version of Chameleon will not need the boot1h_patched and I can keep things as vanilla as possible.

One question for you s0nykus... in your triple boot scenario...
I have a W7 Ultimate 64-bit on hdisk0, partitions 0,1 ("System Reserved", Windows itself), Ubuntu 9.10 on hdisk0, partition 2. Both are in a ICH10R RAID-5 SATA array.  Mac OS X is on a non-RAID SATA on physical hdisk4 (I have 2 RAID-5 disk groups of 2 drives each). Then I also want a USB stick where partition 0 is EFI/Chameleon of course, a partition 1 that is PartedMagic as r0m30 documents, and then partition 2 as a kext/utility collection. A second USB would be a backup of this one.

See any problem with that?  Particularly I guess with Ubuntu being "buried" on hdisk0. Right now, I can only assume Ubuntu did put grub on that partition (at least that's where I told it to put it).

Steve
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: s0nykus on December 14, 2009, 06:10:04 PM
Congrats Steve, looks like you've really got things going allrighty. :)

The boot order is indeed a bit confusing, but now that I've found a way that works, I'll just stick to it, until I'll have the time to dig deeper and find out more. The new Chameleon RC4 that came out one day after your post might be the answer to your ATi-ist prayers. :)

As for the sound, there's a 64-bit compile of VoodooHDA + PrefPane here on this forum (check sweec's post #5):

http://forum.voodooprojects.org/index.php/topic,687.0.html

And there is also a forked version of VoodooHDA available (but keep your existing PrefPane from above source) developed by Slice. Current version as I write this is 0.2.52, check if your sound card / codec is supported, and give it a spin, maybe. It works decently with my Sigmatel STAC 9205, no more distorted sound after wake (the classical VHDA problem). You will find it on the projectosx.com forum, section 3 - 3 - 7 (forum rules here prohibit me from linking).

I can't say much about your RAID setups as I do not have any, but (at least in theory) they should be properly recognised by Chameleon, and you should be able to boot from any valid device setup. Linux on partition 2 doesn't sound like a problem. Just tell grub to install at the beginning of your Linux partition (as opposed to the MBR of your hard drive/array). It will bitch about it, but it works, Chameleon is able to see the Linux partition and hand over to grub nicely when selected.

I'm not sure if you'll be able to boot from more than one partition of a multi-partition USB stick easily. But then again, I might be wrong, as this *should* work too, in theory. Try it, and tell us your findings about everything. All new info is welcome.

I know we've long overshot the initial scope of this post here, but that's just me, trying to be (sometimes overly) helpful. I'll take all the blame for it. ;) Good luck and keep on diggin'!
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: 7thk on December 15, 2009, 02:13:06 PM
This method works! FLAWLESS! I'm so freaking happy now, I could kiss a cow. There are a few typos in the guide, eh, some things mixed up, but yeah, it WORKS.

Thanks!

Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 15, 2009, 06:38:03 PM
There are a few typos in the guide, eh, some things mixed up, but yeah, it WORKS.

Can you could let me know where the typos are and what is mixed up so they can be fixed?

Thanks
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: 7thk on December 16, 2009, 07:37:58 AM
Sure! They're very minor but I did have to think about it for a second or two to get what you meant. :)

Quote
dd if=/c/i386/boot0 of=/dev/zzz bs=440 count=1
where zzz is the base device name WITHOUT any numbers if your Chameleon partition is sda3 then you would use sda here!
dd if=/c/i386/boot1h of=/dev/yyy2 where yyy is the GPT disk
I think it would clearer if you mentioned that zzz & yyy is the same disk. In my case, with a single hard drive on ICH10R, it was sda.

Quote
mkdir /c/Extra
mkdir /c/System/Library
mkdir /c/System/Library/Extensions
cp –r /f/System/Library/Extensions/*/c/System/Library/Extensions/
We'd already created the /Extra directory on the Chameleon partition so I'm thinking you meant for us to create the /System directory here.

Quote
umount /f /c
The current version of Parted Magic doesn't seem like it's got unmount bundled. Maybe there's something else, I'm not sure - I've never done anything like this before, so as a complete new person, I mounted the partitions that I needed using the Mount Partitions link on the desktop of Parted Magic. It meant that typing all of this out would get complicated, so I resorted to just dragging and dropping the files. But it let me unmount the partitions with a click, so it worked out in the end. Or, like how I just realized, you meant "U M O U N T" and not unmount. Gah, way to go, brain. I'm thinking a fixed width font for the parts you have to type would save other people from the same embarrassment?

I have to say though, your idea of a helper partition is just brilliant, especially with not enabling journaling on it! I can't say enough how much I struggled and raged with the souped up install disks that throw things in the EFI or installation partition.

Also, it might be helpful to point out the way to know if 'rd=disk?s3' hasn't worked is when you get the "Still waiting for root device" error. Another minor but easy to figure out tip would be to delete all existing partitions on the disk before you start creating partitions (yeah, I know, maybe I needed more sleep then.)

I realize the last two points are pretty silly since your guide is aimed at the moderately experienced, but I just want to put it out there for people who're trying this for the first time, like me. :)

Also also, unrelated - but for someone trying this out, do yourself a favour and buy the disk. I've downloaded it half a dozen times and between the corrupt files, the improperly restoring it to a USB drive, the headache of burning a DL DVD disk of an incorrectly converted IMG/ISO file - just buying the thing would make your brain love you more.

Lastly, RC4 doesn't require PlatformUUID.kext, at least, I think it doesn't - mine works fine without it, and the fakesmc.kext in the link is an older version (current version now is 2.5), but yeah, that's probably beyond the scope of this guide.

If you'd lived anywhere near the Caribbean, I'd invite you over to get drunk or get high. Thanks again, man!

Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 16, 2009, 10:03:45 AM
I think it would clearer if you mentioned that zzz & yyy is the same disk. In my case, with a single hard drive on ICH10R, it was sda.

Agree, would be a "good thing"(tm) to rationalize the xxx,yyy,zzz references.  (note to self)

We'd already created the /Extra directory on the Chameleon partition so I'm thinking you meant for us to create the /System directory here.

Yep, I've updated the guide to use mkdir -p /c/System/Library/Extensions to save a few keystrokes too.

umount /f /c

I said what I meant and I meant what I said  ;D - I type uNmount about half the time so if I had gotten it wrong it wouldn't have surprised me.

Also, it might be helpful to point out the way to know if 'rd=disk?s3' hasn't worked is when you get the "Still waiting for root device" error. Another minor but easy to figure out tip would be to delete all existing partitions on the disk before you start creating partitions (yeah, I know, maybe I needed more sleep then.)

I realize the last two points are pretty silly since your guide is aimed at the moderately experienced, but I just want to put it out there for people who're trying this for the first time, like me. :)
Not silly at all, those are the kind of assumptions that make reading tech documents so difficult.  I was also going to add a tip that if you use an external USB DVD drive for the SL DVD you can skip entering the rd=disk?s3 altogether, just don't plug in the USB DVD drive and wait for the "Still waiting for root device" message. When you get the message plug in the USB DVD Drive and the kernel will see the DVD mount it and take off.

I debated a disk zap step, gdisk x z will wipe out all the partition tables.  I guess the debate continues.

Also also, unrelated - but for someone trying this out, do yourself a favour and buy the disk. I've downloaded it half a dozen times and between the corrupt files, the improperly restoring it to a USB drive, the headache of burning a DL DVD disk of an incorrectly converted IMG/ISO file - just buying the thing would make your brain love you more.

Agree, but kids at college have more bandwidth than money so......

Lastly, RC4 doesn't require PlatformUUID.kext, at least, I think it doesn't - mine works fine without it, and the fakesmc.kext in the link is an older version (current version now is 2.5), but yeah, that's probably beyond the scope of this guide.

Both true.  I don't know what happens if you try and load PlatformUUID with the current release of Chameleon, anyone?  The fakesmc from the site will work and once you're up you can go and find the latest and greatest.  Maybe another note at the end.

If you'd lived anywhere near the Caribbean, I'd invite you over to get drunk or get high. Thanks again, man!

 :'( Left coast  :'(

Thanks for the feedback.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: CSUFSteve on December 17, 2009, 03:27:29 AM
I actually have not had good luck with RC4 so far, but I was kinda going through it quickly last night.  Thank gosh I made a backup of my original USB stick.

I'm thinking of asking r0m30 if he'd accept a supplement to his HOWTO where Chameleon is on one partition of a USB and specific to my rig (Gigabyte mobo, ATI Radeon 4850, SATA/RAID config, onboard audio)  ;D

But weirdness happened last night as, for some reason, with RC4 and fakesmc 2.5, my same kexts did not recognize the ATI and so the screen was garbage. Also, there was this annoying thing where RC4 ended up making my USB file system read-only, which means I had to re-format every friggin' time after an RC4 boot attempt.  I re-created from backup the RC3-based stick and everything was working again.

I've noticed people seeming to have a preference for device-id's and compiling everything into an mkext or DSDT. Why is this better?? Seriously. I like the individual kexts because then I know *exactly* how the device tree is being manipulated and I know exactly where the non-vanilla-ness is coming from.

I'm also wondering if I copy the SL 10.6.2 S/L/E and create a USB boot based off those if it would detect some of my hardware without the need for kexts.  Like I've heard it supposed to support my ATI now and detect the quad CPU timings and stuff since Apple now supports it.

Anyway, the hunt for the perfect USB bootloader config continues...
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 20, 2009, 04:04:35 PM
Hello,

Your guide is great and the version 2 much easier. I've almost got Snow Leopard on my Wind U100, but I'm having trouble getting the disk to boot. If I plug the disk in before booting the BIOS seems to hang when it reads the disk. I have to disconnect the disk to get it to boot.

However, if I boot normally the disk can be read by the operating system without problem (OSX, Linux and Windows) once it is plugged in. The disk has been formatted as HFS+ by OSX, but I've been unable to boot the dsik to complete the installation.

The disk is a WD 320GB SATA. The bios is MSI 1,0F.

The problem is the MBR boot header is hanging the Bios at startup. If I copy the full MBR of the disk formatted as FAT32 across to the disk the bios boots OK, but then Chameleon hangs with  boot0 error after boot0 testing.

Any ideas how I can get a valid MBR onto the disk to allow it to boot?

Whats the best tool to use to do this?

Note there seems to be a typo in your guide.The second mkdir /c/Extra should be mkdir /c/System

Thanks in advance guys
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 20, 2009, 07:23:31 PM
The problem is the MBR boot header is hanging the Bios at startup. If I copy the full MBR of the disk formatted as FAT32 across to the disk the bios boots OK, but then Chameleon hangs with  boot0 error after boot0 testing.

Is the drive internal, or an external USB?  What version of Chameleon are you using?

Are you seeing messages like this?
boot0: GPT
boot0: testing
boot0: testing
boot0: error
If you are then Chameleon is booting it's just not finding boot1h.  How many testing lines are there? What are the exact messages?

You say that the disk is formatted HFS+ by OSX does that mean you booted the DVD and ran the OSX installer?
If you did then how did you format the install partition?  You need to add it ( use the "+" button) to the existing partition map not reformat the drive.

Sorry for having more questions than answers.

Note there seems to be a typo in your guide.The second mkdir /c/Extra should be mkdir /c/System

Fixed in the current version.
 
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 21, 2009, 03:04:54 AM
Thanks for the reply.

I'm using a USB drive as I don't want to touch my current installation until I've tried OSX.

I've tried formatting the disk using boot partition magic and Gdisk and via the OSX terminal. The bios seems to hang at boot up if the drive is plugged in.


The only messages I see are the two lines:

boot0: testing
boot0: error

From what you say it seems that I have chameleon on the boot sector, but it's not finding boot1h. Could it be the USB to SATA housing that is causing the problem?

I originally got the OSX dvd to boot using NetbookCD to boot Chameleon from CD. I got OSX installed using this method, but could never get the disk to boot - it always hung the Bios. Chameleon booted fine from the CD if the USB drive wasn't plugged in, but if I booted and then plugged in the drive, it wasn't recognised.

Now I've got it formatted via Partition Magic as per your latest guide and I'm trying to get Chameleon to boot before I try installing OSX again. The problem is that once it is formatted as a GPT disk, it hangs the bios at boot up and the problem is in the 440-512 byte region.

I've tried using Chameleon 2 RC4 and Cham2 RC3 r658.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 21, 2009, 04:43:44 AM
I'm using a USB drive as I don't want to touch my current installation until I've tried OSX.

Understand, did it that way too.

I've tried formatting the disk using boot partition magic and Gdisk and via the OSX terminal. The bios seems to hang at boot up if the drive is plugged in.

What do you mean you BIOS hangs?  If you are getting the messages below then your BIOS had passed control to Chameleon.

The only messages I see are the two lines:
boot0: testing
boot0: error

This means you aren't formatting the disk properly. The first line you should see is boot0: GPT.  If it works this would be followed by one boot0: testing and the Chameleon boot menu.  If it fails this would be followed by two boot0: testing lines and a boot0: error line.

Now I've got it formatted via Partition Magic as per your latest guide and I'm trying to get Chameleon to boot before I try installing OSX again. The problem is that once it is formatted as a GPT disk, it hangs the bios at boot up and the problem is in the 440-512 byte region.

I've tried using Chameleon 2 RC4 and Cham2 RC3 r658.

Again, what do you mean by the bios hangs?  If you are getting boot0 messages then the BIOS has passed control to Chameleon.  If those messages only come out after you fix bytes 440-512 then all you are doing is destroying the GPT partition tables and you have either a BIOS bug or an incompatibility with your USB drive.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 21, 2009, 05:58:20 AM
Quote
What do you mean you BIOS hangs?  If you are getting the messages below then your BIOS had passed control to Chameleon.

Thanks again for your input.

When I say the bios hangs I mean that if I format the disk as GPT and plug it it and reboot I get as far as pressing F11 to get the boot menu, the bios tries to read the disk - the red led comes on - and stays on - and nothing happens. It hangs. I have to unplug the disk to get the boot to continue.

The strange things is that if I boot into Pmagic without the disk plugged in, get PMagic running and then plug the disk in it is recognised as the GPT disk, with all the data intact.

The problem is that I can't boot with the disk (formatted as GPT) plugged in.

If I format the disk as FAT32 the red led flashes briefly and I get to the boot menu.

I only get the boot0 messages if I overwrite the GPT MBR record with a FAT32 one. Seems like a bios bug or USB incompatability. I'd just like to find out what the bug is - I suspect the USb as there are plenty of MSI Winds out there running OSX.  I'm just trying to find a way round it.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 21, 2009, 06:44:57 AM
OK, now I understand what you mean by your bios hangs.  The only suggestions I have at this point are
1: Check on a BIOS update for your machine
or
2: Try a different USB drive
or
3: Backup your internal drive using clonezilla (on the pmagic disk) or WINPE or your favorite backup program to your USB drive and try the install on your internal drive.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: rocco on December 21, 2009, 03:45:15 PM
first, thanks for this great tutorial!

my problem is, that after i create the gpt partition table with gparted i get an error (after typing "gdisk \dev\sda" in terminal) which says:

"fdisk (gdisk) version 0.5.1
note: write test failed with error number 2. it will be impossible to save changes to this disk's partition table!
problem oppening devsda for reading! error is 2"

thats really strange as i did everything as descriped in the pdf.

hope somebody knows a solution to this.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 21, 2009, 05:31:56 PM
my problem is, that after i create the gpt partition table with gparted i get an error (after typing "gdisk \dev\sda" in terminal) which says:

"fdisk (gdisk) version 0.5.1
note: write test failed with error number 2. it will be impossible to save changes to this disk's partition table!
problem oppening devsda for reading! error is 2"

That usually means that you  typed in the device name incorrectly. Perhaps you have an IDE (hda) drive?
At the console type in
Code: [Select]
fdisk -l (that's a lowercase F and a lowercase L) and see if it shows /dev/sda.

I'm assuming that you typed (not cut and paste) the error message, it says devsda without the slashes.
It looks like parted magic has a new release with an updated gdisk, hope that's not a bug....
You can try an earlier version of the gdisk program by putting http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.5.0/gdisk_0.5.0-2_i386.deb/download (http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.5.0/gdisk_0.5.0-2_i386.deb/download) in the "pmagic/pmodules" folder on your pmagic disk.

ps gdisk != gparted, if you're using the gparted gui you're doomed (google "gparted microsoft reserved").
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: rocco on December 21, 2009, 06:08:10 PM
my problem is, that after i create the gpt partition table with gparted i get an error (after typing "gdisk \dev\sda" in terminal) which says:

"fdisk (gdisk) version 0.5.1
note: write test failed with error number 2. it will be impossible to save changes to this disk's partition table!
problem oppening devsda for reading! error is 2"

That usually means that you  typed in the device name incorrectly. Perhaps you have an IDE (hda) drive?
At the console type in
Code: [Select]
fdisk -l (that's a lowercase F and a lowercase L) and see if it shows /dev/sda.

I'm assuming that you typed (not cut and paste) the error message, it says devsda without the slashes.
It looks like parted magic has a new release with an updated gdisk, hope that's not a bug....
You can try an earlier version of the gdisk program by putting http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.5.0/gdisk_0.5.0-2_i386.deb/download (http://sourceforge.net/projects/gptfdisk/files/gptfdisk/0.5.0/gdisk_0.5.0-2_i386.deb/download) in the "pmagic/pmodules" folder on your pmagic disk.

ps gdisk != gparted, if you're using the gparted gui you're doomed (google "gparted microsoft reserved").

i used the gparted gui to set the disk partition table to gpt. no error received. then i switched to terminal and typed gdisk \dev\sda in, then the error message came up. i'm pretty sure it's sda but i'm gonna try your suggestion when i'm back at home.

hey buddy, thanks for your help!
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 26, 2009, 07:02:26 AM
Hi, thanks to your help I have now succeeded in getting OSX to boot, but I'm confused about where the kexts that Chameleon reads are. In your 500M partition you have /Extra/Extensions as well as /System/Library/Extensions. Which one takes priority as I'm having some problems with AppleintelCPUPowermanagement causing a kernel panic?

 
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 26, 2009, 08:29:59 AM
Hi, thanks to your help I have now succeeded in getting OSX to boot, but I'm confused about where the kexts that Chameleon reads are. In your 500M partition you have /Extra/Extensions as well as /System/Library/Extensions. Which one takes priority as I'm having some problems with AppleintelCPUPowermanagement causing a kernel panic?

When you boot the Chameleon partition the load order should be EE then SLE from the Chameleon partition.  Once you install and boot the OSX install disk EE is loaded from the Chameleon partition and SLE is loaded from your OSX partition (you can delete SLE from the Chameleon partition once OSX is installed.)

What kexts do you have in EE?  Are you using NullCPUPowerManagement.kext or Disabler.kext? Either of those should disable the Apple kext.  You are running an Intel processor right?  You can't do a vanilla retail install with an AMD processor.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 26, 2009, 05:24:45 PM
Quote
What kexts do you have in EE?  Are you using NullCPUPowerManagement.kext or Disabler.kext? Either of those should disable the Apple kext.

Thanks again for your help. I've now got it booting into OSX with the following kexts. I haven't got the audio working yet, but the rest looks promising. I'm running an MSI Wind, so it's an atom processor.

AppleACPIPS2Nub.kext
AppleIntelGMA950.kext
AppleIntelGMA950GA.plugin
AppleIntelGMA950GLDriver.bundle
AppleIntelGMA950VADriver.bundle
AppleIntelIntegratedFramebuffer.kext
ApplePS2Controller.kext
fakesmc.kext
NullCPUPowerManagement.kext
RealtekR1000.kext
VoodooBattery.kext
VoodooHDA.kext

I suppose my next question is should I be running update.sh. These all seem to be set up for disk0S1, but I'm running on your setup on disk 1. Do I need to update the kexts or just put them in Chameleon EE and reboot?
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 26, 2009, 06:41:34 PM
Thanks again for your help. I've now got it booting into OSX with the following kexts. I haven't got the audio working yet, but the rest looks promising. I'm running an MSI Wind, so it's an atom processor.
....snip.....
I suppose my next question is should I be running update.sh. These all seem to be set up for disk0S1, but I'm running on your setup on disk 1. Do I need to update the kexts or just put them in Chameleon EE and reboot?

Great, glad you got it booting. 

On using VoodooHDA for sound, I can't get it to load from EE so I set up a modules.d in /Library and have a LaunchDeamon load it at boot time, you can just put it in SLE if you don't mind a non-vanilla SLE.  Run "sudo kextstat | grep VoodooHDA" in terminal to see if it loaded.

I don't know where you got update.sh from so I really can't help you there.  If it's updating your EE kexts, then yes they should go into EE of the Chameleon partition, but some kexts just don't want to load from EE and I haven't figured out the proper incantation to make everything load from EE.

PS you know that you can't let the 10.6.2 update run for an atom, Apple removed atom support from the kernel, there are some patched kernels around if you want to go that route.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: audioian on December 26, 2009, 09:13:19 PM
Quote
On using VoodooHDA for sound, I can't get it to load from EE so I set up a modules.d in /Library and have a LaunchDeamon load it at boot time, you can just put it in SLE if you don't mind a non-vanilla SLE.  Run "sudo kextstat | grep VoodooHDA" in terminal to see if it loaded.

You were right - neither of the Voodoo kexts loaded, not even after I moved them to SLE. Setting up a launchdeamon is beyond me, so I need to play some more. On the other hand I now have wifi working with the Realtek card thanks to their unofficial OSX driver.

Thanks
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: ewela on December 30, 2009, 02:56:32 PM
Hy,
I´ve a Problem to mount the Retail DVD.

When I enter

mkdir /s
losetup -o 1034489856 /dev/loop3 /dev/sr0
mount -t hfsplus /dev/loop3 /s

I Get the Message :
Wrong fs type, bad option, bad superblock on /dev/loop3,
missing codepage or helper programm .....

So I think that my DVD is wrong.
I get it from a new MacBook. You can see it by the Attachment.

Can anyone help ?
Thank´s
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on December 30, 2009, 08:57:24 PM
So I think that my DVD is wrong.
I get it from a new MacBook. You can see it by the Attachment.

That looks like a system restore disk you get with a new Mac, you need a retail DVD like this
http://www.amazon.com/Mac-version-10-6-Snow-Leopard/dp/B001AMHWP8/ref=sr_1_1?ie=UTF8&s=software&qid=1262202733&sr=1-1

I do not know how or if you can build a hack from a disk like that.  All of the retail install guides usually state that you need the retail disk not the restore disk.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: ewela on January 04, 2010, 05:33:14 PM
Thanks for your answer.. and a happy new year

I´ve bought the Version you have Posted.
Now i can Mount the DVD.

When I Boot from the Harddisk the Cameleon Loader
I Enter rd=disk0s3 and the PC Boot from the DVD.

After some time the PC hangs. :-(

So i Think i must search für kext Files for my Asus p5Q Pro Board ?

Thank´s
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on January 04, 2010, 06:52:18 PM
When I Boot from the Harddisk the Cameleon Loader
I Enter rd=disk0s3 and the PC Boot from the DVD.

After some time the PC hangs. :-(

So i Think i must search für kext Files for my Asus p5Q Pro Board ?

Happy New year to you as well.
I'm surprised that your DVD is disk0, disk0 is usually the first internal HDD, do you see/hear it reading the DVD?

Check that your BIOS has HDD mode set to AHCI, also try the -x option with the rd=disk?s3 to boot in safe mode.

If you google "Asus p5Q pro osx86 snow" there are several guides that should lead you to the correct kext combo for your board.

Good luck
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: Gringo Vermelho on January 04, 2010, 06:56:32 PM
Try booting with the CPUS=1 switch.

As far as I know, Asus P5Q series boards cannot boot OS X without a modified DSDT with the CPU aliases removed.

If CPUS=1 doesn't work, visit InsanelyMac and search for a patched P5Q Pro DSDT.aml that you can use with Chameleon. Or you can extract your own and remove the CPU aliases yourself. Google if you want to know more, there are tutorials out there.

There are modified BIOSes with the CPU aliases removed for just about the whole P5Q range available at Insanely too but I would only recommend flashing your motherboard with a modified BIOS as a last resort. It's a gamble, as you never know what else was modified. Decide for yourself if you trust a complete stranger or not.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: ewela on January 05, 2010, 07:10:44 PM
Hy,
the rd=disk0s3 is correct, because during the boot from Harddisk
the PC mount´s the dvd and read´s something.

Then the PC switched into another Grafik Mode, it looks like a GUI
without entry´s. I only can see a Mouse Cursor, which I cannot move.

The PC hangs.

I´ve not patched the BIOS, I will test it with the patched  DSDT.aml. I am now
searching for it.
 Thanks
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: gpnet on January 23, 2010, 12:40:44 AM
Hi to all guys, Great work !.

I am a newbie, I stumble in this post accidentally , but it's just what I was looking for. I don't have a mac , just XP SP3, and I Want to try OSX for fun.  I Have an Acer aspire A0751H with no DVD , so I would like to install OSX using a USB Drive , specifically I Have an external 80GB HDD formatted HFS+ where I want to install the target OSX and a 8GB USB drive where I want to put  all the necessary stuff ( OSX Retail etcc..  ) to boot the installer.

I read about a PDF tutorial, But I didn't find  it , could me give the link to dounload it ? thanks.

Do you this I can do the work I would like  using an external USB HDD so that when I plug this drive I get OSX running  ?

Thank in advance for the help ?

^ r0m30's pdf is in the 1st post of this thread
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on January 23, 2010, 08:31:46 AM
Hi to all guys, Great work !.

I am a newbie, I stumble in this post accidentally , but it's just what I was looking for. I don't have a mac , just XP SP3, and I Want to try OSX for fun.  I Have an Acer aspire A0751H with no DVD , so I would like to install OSX using a USB Drive , specifically I Have an external 80GB HDD formatted HFS+ where I want to install the target OSX and a 8GB USB drive where I want to put  all the necessary stuff ( OSX Retail etcc..  ) to boot the installer.

I read about a PDF tutorial, But I didn't find  it , could me give the link to dounload it ? thanks.

Do you this I can do the work I would like  using an external USB HDD so that when I plug this drive I get OSX running  ?

Thank in advance for the help ?

 

I tried to create a bootable USB installer using this method and while it booted and I got the language selection screen it would not run the install app, it told me to gently clean the DVD.....

I didn't mess with it a lot (it takes a long time to copy the DVD), but it won't be a certainty that this will work for your purposes. 

External USB DVD drives are less than $100, might save you a lot of pain.

Good luck
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: gpnet on January 23, 2010, 09:52:12 AM
Hi Guys, Thanks for replay.

I found the PDF thanks.

@r0m30 :  I read the whole guide. It is not a walking ! (form me ).  So my question is : Can you suggest me the right way to install the OSX on an External USB HDD so that when I plug in the external USB HDD I boot and Run the  OSX ?

State that I'll buy an external DVD device , do I follow this guide or what else ? I mean I don't want to clear or wipe anything on the current target but install on external USBHDD ?.



Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on January 24, 2010, 01:56:11 AM
@r0m30 :  I read the whole guide. It is not a walking ! (form me ).  So my question is : Can you suggest me the right way to install the OSX on an External USB HDD so that when I plug in the external USB HDD I boot and Run the  OSX ?

State that I'll buy an external DVD device , do I follow this guide or what else ? I mean I don't want to clear or wipe anything on the current target but install on external USBHDD ?.
Yes, you can use this guide to install to an external USB drive without wiping out your existing install, you just have to be careful that you point to the right drive whenever you partition, format or do anything that could destroy data.
 
If you buy the external DVD then you should be able to use this guide if your laptop will boot from external USB drives and you find the proper kexts to support your laptop.  I'd google your laptop model and "OSX86 snow" to see what issues you might run into before buying the USB DVD drive.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: JCSopko on January 27, 2010, 08:09:03 AM
I went through the entire guide with no problems, however no matter what bios drive number i put in, it'll end up booting. This isn't necessarily a problem, I was just confused as to why it works no matter what I do, even if I don't stop the countdown bar by pressing a key and it countdown it'll automatically boot to the kernel panic. Is this normal out of curiosity?
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on January 27, 2010, 05:10:48 PM
I went through the entire guide with no problems, however no matter what bios drive number i put in, it'll end up booting. This isn't necessarily a problem, I was just confused as to why it works no matter what I do, even if I don't stop the countdown bar by pressing a key and it countdown it'll automatically boot to the kernel panic. Is this normal out of curiosity?
I've never experienced it, so I'd say no it's not normal.  It sounds like your hard drives are not being recognized, do you have the proper kexts for your motherboard in /Extra/Extensions?
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: JCSopko on January 27, 2010, 08:08:08 PM
I don't believe so, I'm going to wipe my drive, reinstall Windows 7 and get full specs to get help. From memory I have a Toshiba Sattellite P300 laptop which specifies the motherboard as "Toshiba Satellite P300 Motherboard". I can't find a kext and have tried many system information applications to try and find out more about the Motherboard to maybe find anoter kext that'll work for it. Any suggestions? I've already googled and looked at several other forums, still no help. Thanks.
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: r0m30 on January 28, 2010, 09:45:11 PM
The best suggestions I can give you on researching your hardware is to use lspci while booted from the pmagic disk.  You can use windows hardware manager and google the drivers to try and determine your mobo chipset and graphics card.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: kbear on February 09, 2010, 10:14:52 PM
Hi r0m30,

I'm having trouble finding the correct rd=disk?s3. I've tried everything from disk0s3 through disk6s3, and Chameleon can't seem to find the DVD drive.

Is there a sure way to find out which number I must input? the BIOS does not assign a specific number to the drivers. It only lists them as IDE Channel 1 Master, IDE Channel 1 Slave, IDE Channel 2 Master, etc.

Is there a way to find the disk?s3 number through Windows or PartedMagic?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on February 10, 2010, 01:12:39 AM
Hi r0m30,
Is there a sure way to find out which number I must input? the BIOS does not assign a specific number to the drivers. It only lists them as IDE Channel 1 Master, IDE Channel 1 Slave, IDE Channel 2 Master, etc.

If there is I haven't figured it out  :(

I think it should be drive order (IDE1 Master, IDE1 Slave,IDE2 Master, IDE2 Slave or SATA port1...SATA portn) but it doesn't seems to be consistent across different motherboard configs and USB makes it even more interesting. If you're using an IDE board are you sure you have the correct kext (IOATAFamily), in my experience OSX is less IDE friendly.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: kbear on February 10, 2010, 12:20:47 PM
If there is I haven't figured it out  :(

OK, I think I'm going to save myself some aggravation, and copy the entire Snow Leopard Mac OS X install DVD to a USB stick.

Only problem is, I can't mount it using the PDF instructions.

In the Parted Magic terminal I typed:
Code: [Select]
mkdir /s
losetup -o 1034489856 /dev/loop3 /dev/sr0

and got this response:
Code: [Select]
losetup:  /dev/loop3: No such file or directory
I tried to load the man page for losetup, to understand what it's supposed to do, but Parted Magic does not have one.

I typed losetup without arguments in case there was any online help. I got this result:
Code: [Select]
/dev/loop0: 0 /lib/unionfs/usr.sqfs
/dev/loop1: 0 /lib/unionfs/firmware.sqfs
/dev/loop2: 0 /lib/unionfs/modules.sqfs

No /dev/loop3 was listed.

Could you please explain what this command is supposed to do?

Isn't there an simpler way to access the hidden Mac OS X install partition from Windows? I could then use MacDisk (http://www.macdisk.com/mden.php3) to copy the files to the USB stick.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: outragedtony on February 10, 2010, 01:48:11 PM
To copy the whole disc with all partitions, just use
Code: [Select]
dd if=/dev/sr0 of=/dev/sdb
(assuming usb stick is on /dev/sdb and has no valuable data on it...)

Try it with dd for windows, should be the same (apart from the device naming scheme). You may want to add --progress and a bs option to speed things up.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: kbear on February 10, 2010, 02:03:37 PM
To copy the whole disc with all partitions, just use
Code: [Select]
dd if=/dev/sr0 of=/dev/sdb
(assuming usb stick is on /dev/sdb and has no valuable data on it...)

Try it with dd for windows, should be the same. You may want to add --progress and a bs option to speed things up.

Thanks. Problem is, I only want/need the third partition.  :(

UPDATE: I just tried the (losetup) procedure again from a PC (first try was from VirtualBox) and it worked. It seems this is VirtualBox-related problem after all.  :P
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on February 10, 2010, 11:13:31 PM
Could you please explain what this command is supposed to do?
The losetup command tells mount to look for the HFS+ partition at an offset other than the default (the beginning of the device).

Isn't there an simpler way to access the hidden Mac OS X install partition from Windows? I could then use MacDisk (http://www.macdisk.com/mden.php3) to copy the files to the USB stick.
The MacDisk page says it can read hybrid CD/DVDs, never used it. In MacDrive (http://www.mediafour.com/products/macdrive/) there is an option that lets you chose to show the ISO9660 data or the Mac data on a CD/DVD.

I thought you were trying to do this with free tools?  In earlier versions of the PDF I used MacDrive to read the install DVD but I changed to the PMagic mount so I didn't have to rely on a time limited trial or purchased software to access the the kernel and /S/L/E on the DVD.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: kbear on February 11, 2010, 10:09:49 AM
I thought you were trying to do this with free tools?  In earlier versions of the PDF I used MacDrive to read the install DVD but I changed to the PMagic mount so I didn't have to rely on a time limited trial or purchased software to access the the kernel and /S/L/E on the DVD.

This is now a moot point, since I managed to mount the HFS+ Hybrid Mac OS X DVD partition from Parted Magic, using your PDF instructions.  :)

As I mentioned in my previous post, the problem had arisen from the fact that I was running Parted Magic on VirtualBox instead of a real PC. Once I brainstormed myself to try it on a real PC, your instructions worked like a charm.

As for MacDisk, the only limitation of the demo is the file size you can transfer from Windows, otherwise it's fully functional. It might prove useful (but certainly not essential) for making changes to the Chameleon Extras folder from Windows, without having to reboot from Parted Magic.

BTW, MacDisk could not mount the Mac OS X install DVD HFS partition. Either Apple did something decidedly non standard with it, or MacDisk is not up to date.

Which reminds me: do you know why the Mac OS X install DVD appears to have three partitions? one is for the BootCamp drivers, one for the actual installer, and one for... what? In OS X install DVDs that come bundled with hardware, there is a system diagnostics partition. But I would not expect this to be present in the retail DVD.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on February 11, 2010, 07:23:03 PM
Which reminds me: do you know why the Mac OS X install DVD appears to have three partitions? one is for the BootCamp drivers, one for the actual installer, and one for... what? In OS X install DVDs that come bundled with hardware, there is a system diagnostics partition. But I would not expect this to be present in the retail DVD.

I never tried mount it so I don't know for sure what it is, I always assumed it was the HFS partition that told users of older Mac OS versions that their computer couldn't use the DVD because they didn't have HFS+ support.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: stephens on February 21, 2010, 02:10:45 PM
Just an update to this howto, because the Parted Magic USB boot is a nearly perfect solution for making changes; however, it lacks ONE critical tool -- IASL compiling/decompiling tools.

This is EASILY fixed, however!

Parted Magic can automatically install additional Slackware 12.x packages.  You simply need to place them in the /pmagic/pmodules directory on the USB key.

Thus, if you download the package from here: Precompiled IASL Package for Slackware (http://scxd.info/enpkginfo.php?pkg=iasl), or the Direct Link (http://scxd.info/pub/packages/ap/iasl-20061109-i686-1X.tgz), you can simply copy the .tgz file(s) into the /pmagic/pmodules directory for custom DSDT hacking while you're inside the Parted Magic distribution.  Parted Magic already has the glibc dependencies installed, so there's no need to fetch other files.

For the DSDT uninitiated, and as an extra to r0m30's howto, here's the quick run-down of my personal procedure:
Code: [Select]
# Dump the DSDT to a file:
cat /proc/acpi/dsdt > dsdt.aml

# Decompile the dsdt.aml file into dsdt.dsl:
iasl -d dsdt.aml

# Save a copy of your original dsdt.dsl file to the USB drive:
cp dsdt.dsl /f/dsdt-orig.dsl

# Make whatever changes you want using vi (or nano, or leafpad):
vi dsdt.dsl

# Save a copy of your custom dsdt.dsl to the USB drive:
cp dsdt.dsl /f/dsdt-custom.dsl

# Recompile the dsdt.dsl file into dsdt.aml:
iasl -ta dsdt.dsl

# Copy your custom dsdt.aml file to the partition you're installing to, Chameleon will recognize it in the / or /Extra directories:
cp dsdt.aml /c/

Someone let me know if this works as well for them as it did for me, it was exceptionally inconvenient to have to keep copying the dsdt.dsl|aml files around while testing!

Happy hacking!  ;D

P.S. Don't forget that lspci -vvvxxx is also available from within Parted Magic for additional system analysis.
P.P.S. Just in case the file goes away in the near future, I've attached it to this post for easy reference as well.
P.P.P.S. In before the sticky.. and first contribution/post!
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: stephens on February 21, 2010, 02:27:13 PM
One last note:

When mounting your OSX HFS+ partition from within Parted Magic after booting, or perhaps rebooting several times, it is wise to run fsck against the partition before mounting it; otherwise, it may not be writable.

Code: [Select]
# Substitute /dev/sda2 with whatever your HFS+ partition is, and run fsck against it:
fsck.hfsplus /dev/sda2

# Create a directory to mount the HFS+ partition on:
mkdir /c

# Mount the HFS+ partition (You can use -o ro, or -o rw, depending if you want to make it Read-Only or Read-Write as well):
mount /dev/sda2 /c
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on February 21, 2010, 07:51:45 PM
Just an update to this howto, because the Parted Magic USB boot is a nearly perfect solution for making changes; however, it lacks ONE critical tool -- IASL compiling/decompiling tools.

I did my initial DSDT patching in Windows, this would have been much easier, thanks

When mounting your OSX HFS+ partition from within Parted Magic after booting, or perhaps rebooting several times, it is wise to run fsck against the partition before mounting it; otherwise, it may not be writable.

Good tip, I'll add this to the update for RC5 when it is released.

Thanks!
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: fillet54 on March 03, 2010, 08:25:56 AM
I tried following your guide but i cannot get Chameleon to boot. I am installing to an internal sata drive and it does not boot from the hard drive. Instead i get a "No bootable device.." message.

any help would be appreciated.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 03, 2010, 08:45:54 PM
I tried following your guide but i cannot get Chameleon to boot. I am installing to an internal sata drive and it does not boot from the hard drive. Instead i get a "No bootable device.." message.

any help would be appreciated.

Is you BIOS set to AHCI mode for your disks?
Do you have any required kexts for your chipset in /Extra/Extensions?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 04, 2010, 03:41:57 AM
I don't know if I should create a new thread for this or use this one, but here it goes.

I'm trying to install SL since a while and just can't believe how many ways there are to do it, and how none seems functional. Look like OSX86 is a project where everyone is trying to develop the same thing their own way and sabotage the work of others, while writing parts of incomplete guide scattered through internet forums. I'm a C++ programmer and Linux user and never had difficulties like this before.

My hardware:
Asus P5W DH Deluxe
Core2Duo E6600 stock
GeForce 9800GTX
SATA DVD-RW plugged in a Intel SATA port. (TSSTcorp SH-S203B)
80gb  Maxtor IDE hard drive plugged in a Intel IDE port as first master. (6Y080L0)

Even though I got a original SL dvd, I first grabbed a pirate distro on a torrent site because I though it was the only way. Of course, it failed to boot, I don't remember how but we don't care. I then learned about myHack, but since I don't have a original Mac and neither have a 6gb USB drive, I can't use it. I then found out about certain EFI bootcd. I tried EmpireEFI, but it kernel panic in SL installation when entering disk tool or choosing disk to install. I then searched for my motherboard and found out a Polish thread on osx86.org.pl where a guy did a custom EFI bootcd for my motherboard. I updated my BIOS and set the bios options as he instructed (AHCI and cpu thingy). With his disk, I managed to format my hard drive in the disk tool, then started the installation. At 50% complete, it asked me to reboot the computer to finish installation. I rebooted on his bootcd, and the hard drive was not in the list of visible device. Booting on SL dvd again started the installation from scratch and gave the same result afterward. I asked him on his thread, and he is clueless.

Finally, I though I would step down one level and install chameleon myself, where I finally found this thread. Everything from your PDF guide seems to work great, I managed to format, partition the disk and copy every files. Regenerating the dsdt.aml from the dsdt.dsl output an error though, I can try it again if you need it. I then booted on the hard drive, saw the Chameleon background while it loaded bunch of kext. The Chameleon background then disappeared to give a black background, and in about 1second a few pages scrolled to end up with a kernel panic. Sorry I don't have a picture, but from what I could read it fail loading AppleACPIPCI, then it load fakesmc correctly, then it fail loading AppleUSBEHCI, then it kernel panic, which look like:

kernel trap at 0x35928fcd type 14=page fault
first line of the call stack is: 0x2fb43c48 : 0x21acfa (0x5ceb50 0x2fb43c7c 0x223156 0x0)
and last line is talking about kext : com.apple.iokit.IOATAFamily(2.5.0)@0x35924000 -> 0x35930fff

From what I can tell, IOATAFamily is causing the problem, but I guess this is an important kext? Here's the list of kext I put on my usb drive /Extra/Extensions directory, not sure about everything but I got a package for my motherboard and installed a few others from kext.com:
AHCIPortInjector.kext, ALCinject.kext, AppleAC97Audio.kext, AppleACPIPlatform.kext, AppleGenericPCATA.kext, AppleHDA.kext, AppleIntelIntegratedFramebuffer.kext, ApplePS2Controller.kext, AppleSMBIOS.kext, AppleUSBEHCI.kext, AppleUSBOHCI.kext, AppleUSBUHCI.kext, ATAPortInjector.kext, Disabler.kext, fakesmc.kext, IOAHCIBlockStorageInjector.kext, IOATAFamily.kext, IONetworkingFamily.kext, JMicronATAInjector.kext, NullCPUPowerManagement.kext, OpenHaltRestart.kext, PlatformUUID.kext.
Of course, I'm not sure about those who cause errors, but I'm not sure about the kext like Disabler which I took from the Chameleon .gz package in Optional Extra\Extensions\(10.6,Common) and copied there

Also, what's your opinion about using the boot file from netkas's PC EFI 10.6 instead of the Chameleon default one?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 04, 2010, 05:07:19 AM
First, the boot sequence you describe (chameleon, black screen with scrolling test) is what you should be getting.  That is how verbose (-v) mode works.

As the guide said "You should get your first Kernel Panic soon"

I would suggest starting with the minimum kexts in /Extra/Extensions and then adding kexts to fix each problem (Kernel Panic) as it occurs.  I know this is a slow and boring process but then you know why you have each kext installed and don't have a lot of extra kexts that may or may not be doing anything useful. 

I noticed a few things in you kext list, you are loading a IOATAFamily.kext and that is where you are getting your KP, maybe you should ask for help with that kext where you found it, I have no way of knowing what has been done to it. Also, you are loading AppleAC97Audio.kext and AppleHDA.kext  I don't see how you would need both unless you have multiple sound chips.  This is one of the reasons for the advice above.

The boot file from netkas's PC EFI 10.6 is really great if you have an ATI graphics card (the ATI support has been ported to Chameleon in the REPO) but you should be able to use the Chameleon boot file with your 9800GTX, you can certainly try it but I doubt it will fix your IOATAFamily problem.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 05, 2010, 01:06:56 AM
Thx for the reply.
I did as you suggested, only booting with Disabler.kext (from Chameleon "\Optional Extra\Extensions\10.6\" directory, is that ok?), fakesmc.kext, NullCPUPowerManagement.kext and OpenHaltRestart.kext from the kext.com essential SL pack.

From the verbose lines, I see AppleACPICPU logs seems ok, then fakesmc which also seems ok, then AppleUSBEHCI whine about "Unable to initialize UIM" even though I don't have this kext anymore, is this one from the DVD? Then I see AppleYukon2 load, which also seems ok. It then stop there, and after a while write "Still waiting for root device." repetitively. My guess is that I'm missing some kext for the HDD, but how can I know which one to add next? If I have too much, it crash, if I have not enough it crash, so how the hell are you supposed to know what do to? Is there a list somewhere with every error message/kernel panic and which kext fix them?

Another question, does having any other hard drive than my targeted SL drive plugged (all in Intel controller) or any USB devices (such as the Parted Magic usb key or the Microsoft Xbox 360 Gamepad Wireless Receiver) change something on the kernel panic and needed kext? Probably, but it's a pain having to physically unplug every drives every time I want to try chameleon and  boot back in Windows­.

A final question, let's say I actually manage to start the SL installation, I guess I don't format the drive using the disk utility? I simply select the drive with Chameleon on it and press next?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 05, 2010, 03:30:16 AM
It then stop there, and after a while write "Still waiting for root device." repetitively.
This is the step in the guide where you have to figure out which drive is the DVD drive. From the guide:

Quote
"When Chameleon comes up press the right arrow key until your Chameleon disk is highlighted, press the space bar and enter “rd=disk?s3” (? = the bios drive number of your DVD) without the quotes at the boot: prompt and hit enter. If you get a message that says “Still Waiting for root device” you entered the wrong disk in your rd= parameter."

Is there a list somewhere with every error message/kernel panic and which kext fix them?
Not that I'm aware of, google is your friend, use keywords like the kext that is giving you the panic and add "OSX86" then trudge through the hits until you find a fix.  It's not a lot of fun or easy but that's the current state of OSX86.

A final question, let's say I actually manage to start the SL installation, I guess I don't format the drive using the disk utility? I simply select the drive with Chameleon on it and press next?
You need to use disk utility to add and format the OSX partition, use the "+" button to add a partition and make it HFS+ journaled.  The retail OSX DVD won't install on a non-journaled partition.  The Chameleon partition should be left there or else you wont have a boot loader.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 05, 2010, 02:11:28 PM
This is the step in the guide

Opps, terribly sorry for that. Guess I was sleepy when I first read it. I managed to get an install going and a kernel crash at about 45% complete. I know finding the kexts isn't related to your topic, so I just have to say your method works perfectly and allow quick switching of kexts fast and easy. Problem now is waiting 30mins for the installation between each try, and that none of the hexa code of the kernel dump give me something related on Google. I don't have any kexts keywords written in the kernel panic dump.

I'm just gonna have to trust the Chameleon Disabler and everything in the Common folder, added with the pack you get from the second link in Google when you search "kexts" which is directly for my Motherboard (P5W Dh) at mckill.ca
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Blackosx on March 05, 2010, 02:22:38 PM
Hi r0m30

I have finally got round to downloading your PDF to have a read of what this install is all about so at least I can maybe help out with some of the questions here.. So I have just printed it out to read in my spare time when I see standard disclaimer on page 1.... ROFL!  ;D
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 06, 2010, 12:06:21 AM
Still me, sorry to flood this thread of personal questions but hey I got great answer until now :).
After the first failed installation (with only 3 kexts), I tried to add some others. In Parted Magic the disk was read-only, so I had do to a fsck and it worked. I then copied the new kexts and re-booted Chameleon. To my surprise, it now stop directly at the start saying "Can't find mach_kernel". I rebooted in Parted Magic, mounted my drive, verified that mach_kernel is still on the root directory and still referenced by my com.apple.Boot.plist. The file never moved, it worked before and now it stopped. I then tried to re-copy it from the DVD, and to run a fsck again afterward. Nothing, still say it's missing when I try to boot?!
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 06, 2010, 01:10:35 AM
... when I see standard disclaimer on page 1.... ROFL!  ;D
Glad someone else thought it was humorous....
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 06, 2010, 01:25:13 AM
Still me, sorry to flood this thread of personal questions ....

Not a problem as long as we don't go down the what kexts do I need for MoBo x with graphics card y road.

I tried to add some others. In Parted Magic the disk was read-only, so I had do to a fsck and it worked. I then copied the new kexts and re-booted Chameleon. To my surprise, it now stop directly at the start saying "Can't find mach_kernel".

When I've had issues like this I copy my Chameleon disk to the Parted Magic USB stick, reformat the Chameleon partition, then copy the saved data back and redo the dd boot1h to the Chameleon partition.

I'm not sure but I think there is a bug in either the Chameleon HFS+ tree traversal logic or the Linux HFS+ support.  This has also fixed my "boot loop" errors when they occur. Once you get installed and update the Chameleon partition from OSX it doesn't occur as often.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 06, 2010, 03:42:15 AM
Glad to see this happened to you before and is a bug, and not a stupid mistake of my part. Problem is, I just tried and it don't work. I entered gdisk, did "x enter z enter" then re-created both partitions, copied files, dd boot0 and boot1h, umount, reboot on it. Still the same thing, can't find mach_kernel. The file is there, what else does it needs?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 06, 2010, 07:49:51 PM
Problem is, I just tried and it don't work.

Sorry,  if that didn't fix it I don't know what the issue is.  The only advice I have to offer is instead of adding all of your kexts at once, add them on at a time, perhaps one of them is causing problems. 
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Dunge on March 09, 2010, 01:44:08 AM
I just installed Ubuntu on another drive, and for the first time I noticed the drive I was trying to install SnowLeopard on have bad sectors. Strange, because I used it on Windows, it was nearly filled up and never had any problem. My bios also say the S.M.A.R.T. test passed, but when I boot linux it tells me my SMART is failing. I downloaded seagate-tools and it say it is failing too, so that may explain my SL installation failures.

Now I know this is a recurrent question, but is it possible to dual boot the same disk Ubuntu/SnowLeopard using your method? Of course I won't touch my Win7 disk to be safe. Ubuntu disk currently installed GRUB as the bootloader. I have doubts because SL need the GUID partitioning scheme, and Linux/Windows need MBR. Can Linux support both? Can I convert an existing disk from MBR to GUID? If yes, what should I do next? Create two small partitions like in this guide for the boot/chameleon, a third for SL move the Ubuntu ext4 to fourth and the ubuntu swap to a fifth? I am saying something that make sense or not?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on March 09, 2010, 03:48:49 AM
Now I know this is a recurrent question, but is it possible to dual boot the same disk Ubuntu/SnowLeopard using your method?

Yes, take a look starting at page two or three of this thread, there is a discussion of mult-ibooting from an install that was started using this method.  There is even a link somewhere in there to a tutorial on another forum that someone followed after getting SL installed using this method. 
Title: Re: [How To]: Installing OSX without acces to a Mac
Post by: user3214 on September 27, 2010, 10:43:56 AM

Hi,

First off, thanks for taking the time to write up a guide for someone NOT starting out with a Mac. Sorta defeats the purpose otherwise.

So I think that my DVD is wrong.
I get it from a new MacBook. You can see it by the Attachment.

That looks like a system restore disk you get with a new Mac, you need a retail DVD like this
http://www.amazon.com/Mac-version-10-6-Snow-Leopard/dp/B001AMHWP8/ref=sr_1_1?ie=UTF8&s=software&qid=1262202733&sr=1-1

I do not know how or if you can build a hack from a disk like that.  All of the retail install guides usually state that you need the retail disk not the restore disk.

So I have purchased the item linked to above. I received a disk that said it was MacOS X v10.6.3. However, I still get the mount: wrong fs type... error. I ran the TestDisk data recovery util included on the PartedMagic distro and it scanned the following partitiion

Disk /dev/sr0 - 81010 MB / 7725 MiB - CHS 3955664 1 1 (RO)
        Partition                           Start      End         Size in Sectors
P HFS                                   404058     3955663  3551606

I'm not sure I understand the purpose of the offset 1034480856. This doesn't seem to correspond to a byte, block, or cylinder offset. However, my mount commands using loopback fail. Dmesg tells me "hfs: unable to find HFS+ superblock".  Am I using the wrong offset?

Would appreciate an assist.

Thanks.

Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on September 27, 2010, 09:41:43 PM
Hi,

I guess Apple updated their pressing of the SL DVD, mine says 10.6 (no dot 3).

First, I'd try 827510784 (404058 * 2048) for the offset and if that doesn't work then use the method at the end of the PDF to get a new offset.

Quote
VII. Determining the offset for the losetup command
If you need to mount a different retail DVD or any other hybrid DVD this is how you can determine the offset to use in the
losetup command. At the linux command line enter:
dd if=/dev/sr0 bs=2048 count=1 skip=3 | hexdump –C
At offset 08 in block 3 (0 based) you will find the 4 byte offset to the HFS+ partition in blocks (on the SL DVD it is
0007B522). Convert that number to decimal (505122 for SL) then multiply that by 2048.
505122 * 2048 = 1034489856

If you need help with the math post the output of the dd command and I'll work with you on getting a new offset.  Please post back with the new offset if you get it working so I can update the document.

Thanks
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: user3214 on September 28, 2010, 09:08:03 AM
Thanks for helping me with the math and the prompt reply. The offset you suggested worked perfectly. In case it is helpful, I've included the output of the dd command below.

Quote

00000000  50 4d 00 00 00 00 00 04  00 06 2a 5a 00 36 31 76  |PM........*Z.61v|
00000010  4d 61 63 5f 4f 53 5f 58  00 00 00 00 00 00 00 00  |Mac_OS_X........|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000030  41 70 70 6c 65 5f 48 46  53 00 00 00 00 00 00 00  |Apple_HFS.......|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000050  00 00 00 00 00 36 31 76  40 00 00 33 00 00 00 00  |.....61v@..3....|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|


Thanks again.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: luckylz on September 29, 2010, 07:11:09 AM
quite thanks for the guidence
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: r0m30 on September 29, 2010, 08:57:26 AM
Glad to help, good luck on your install!
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: AdamO666 on October 01, 2010, 12:02:32 AM
I'm sorry, this is probably going to be really high in the running for dumbest question ever, but: Where is the guide? I see the top post with updates and a ton of replies to the OP, but where is the actual guide?
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: Gringo Vermelho on October 01, 2010, 12:30:21 AM
where is the actual guide?

It's in a pdf file attached to the first post.
Title: Re: [How To]: Installing OSX without access to a Mac
Post by: AdamO666 on October 01, 2010, 02:25:23 AM
 :lol: HAHAHAHA! It only appears when you're logged in.  :-[ God I must be tired, LOL. Thank You Gringo.