2

Author Topic: [How To]: Installing OSX without access to a Mac  (Read 82143 times)

0 Members and 1 Guest are viewing this topic.

Dunge

  • Entrant
  • Posts: 6
Re: [How To]: Installing OSX without access to a Mac
« Reply #90 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
« Last Edit: March 05, 2010, 02:14:12 PM by Dunge »

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: [How To]: Installing OSX without access to a Mac
« Reply #91 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
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Dunge

  • Entrant
  • Posts: 6
Re: [How To]: Installing OSX without access to a Mac
« Reply #92 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?!

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #93 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....
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #94 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.
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

Dunge

  • Entrant
  • Posts: 6
Re: [How To]: Installing OSX without access to a Mac
« Reply #95 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?

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #96 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. 
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

Dunge

  • Entrant
  • Posts: 6
Re: [How To]: Installing OSX without access to a Mac
« Reply #97 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?

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #98 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. 
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

user3214

  • Entrant
  • Posts: 2
Re: [How To]: Installing OSX without acces to a Mac
« Reply #99 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.


r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #100 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
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

user3214

  • Entrant
  • Posts: 2
Re: [How To]: Installing OSX without access to a Mac
« Reply #101 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.

luckylz

  • Entrant
  • Posts: 1
Re: [How To]: Installing OSX without access to a Mac
« Reply #102 on: September 29, 2010, 07:11:09 AM »
quite thanks for the guidence

r0m30

  • Forum Moderator
  • Posts: 98
    • r0m30's OSX86 site
Re: [How To]: Installing OSX without access to a Mac
« Reply #103 on: September 29, 2010, 08:57:26 AM »
Glad to help, good luck on your install!
--- r0m30 ---
HP Mini 1033CL (Costco) OSX Retail 10.6 Chameleon-2.0-RC3-r658
HP m9077c -  ASUS IPIBL-LA MoBo with Core 2 Quad Q6600
    Retail 10.6.2 Chameleon-2.0-RC4-r684

AdamO666

  • Entrant
  • Posts: 2
Re: [How To]: Installing OSX without access to a Mac
« Reply #104 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?