Monday, September 26, 2011
OSX86 online Support
Saturday, November 1, 2008
Still waiting for root device II

This post is a continue part of my previouse "Still waiting for root device" post that covered several solutions including:
- use RD=DiskXsY darwin switch
- BIOS configuration
- flag OSX86 partition as bootable
this post will display more good options to get pass this error, starting with the simplest:
1. Download another distribution
the simplest solution is sometimes the less obviouse, although you probably thinking "what good can another copy of Hackintosh do for my hardware compatability error?" well the thing is that OSX86 is a shrinked OSX with hacked, tweaked, opensource drivers for a PC, this what makes you PC compatible with OSX, one distribution does not include the same drivers as the other, also versions of the same published contains different drivers, for instamce Leo4All_v2 may work on your machine but Leo4All_v3 might not. so be sure to download as much distributions you can until your problem is solved.
2. Plug USB/Firewire drive (even DiskOnKey)
another simple solution is to plug an external drive like a USB or Firewire drive or even a USB DiskOnKey (size doesn't matter, in this case anyway) in your USB port and reboot the system, with the Hackintosh OSX86 DVD in the DVD drive, once the darwin countdown appear press F8 in order to get the boot prompt and use the RD=DiskXsY switch (switch use is explained in this post in greater details) and point the disk number and partition number to the external drive. this solution is only to get the installtion started, not a permanent solution, after the installation is running you can choose different combination of drivers until the installed system will load without the need to use the USB plug trick.
3. Use External DVD
if you can access external DVD drive or a SATA drive then try using it, most of the times the problem is hardware inconsistency with the driver installed on the DVD, this means that you might have a DVD that the booting driver set (this set is different then the driver it contains in order to install on your system) includes SATA harddrive driver, and your harddrive might be SATA but the DVD is IDE, and ofcource it can be vice versa, that the HD is IDE and the DVD is SATA and driver is one of them (IDE/SATA), so try to make it consistent, use the same HD and DVD type (even by plugging external DVD so it will be USB instaed of SATA or IDE) and find a distribution that will load them.
4. Play with Master/Slave settings
sometimes when your PC contains IDE hraddrive and IDE DVD you need to play with the master slave configuration (use this option only if you know what it means, this option involve openning the PC case and play with harddrive/DVD jumpers)
5. More darwin swiches to try
there are more swich you can try beside rd=diskXsY, you can read about them in this post, try these next swiches: platform=X86PC -x -f cpus=1, try them in different combinations until you succeed.
6. Create an HFS+ partition prior to the installation
if the installation cannot find your root device although you tried previouse sulutions then try creating an HFS+ partition and point to it using the rd=diskXsY at boot time.
from windows create a partition of AF type (HFS+ type), do it like this:
- from windows press Start->run and write: cmd and press enter
- write diskpart and press enter
- write: list disk (it will display all available HD)
- select the number of the one you want to install Leopard on like this: write: select disk NUM_OF_DISK and press enter (replace NUM_OF_DISK with the number of the disk you want)
- next write: list partition and press enter
- it will display all the partitions on that disk, now delete the partition you planed to install on like this: delete part NUM_OF_PART and press enter (replace NUM_OF_PART with the partition you wanted to install leopard on), if you don't have such partition then skip to the next part
- create a partition of the AF type like this: write: create partition primary id=AF and press enter
- write: active and press enter
- reboot and try to load the installation from the DVD again
7. Copy the Extensions folder from DVD to the Harddrive
this solution is for all of you that got the "Still waiting" error after the installation processed finished and first reboot occurred. if this is your case then it means that you have succeeded to boot into the DVD inorder to install (so the correct drivers for your system reside in the DVD boot extensions folder) but when you finished installing the drivers you selected they just won't boot and the Still waiting for root device appears, then all you have to do is to copy the DVD boot extensions folder into your installed copy and by that boot from your harddrive using the DVD drivers, do it like this:
boot from the install DVD, from utilities menu item select the terminal and write the following commands, but replace the word Leopard with your installation partition name (you set it during installation):
cd /System/Library
mv /Volumes/Leopard/System/Library/Extensions /Volumes/Leopard/System/Library/Extensions.bak
cp -R Extensions /Volumes/Leopard/System/Library
cd /Volumes/Leopard/System/Library
chmod -R 755 Extensions
chown -R 0:0 Extensions
after this the system should be able to boot on its own, you may need to flag the partition as bootable read how to do this here.
8. Change the ATA driver on the DVD
this last suggestion is very good but very hard to nail. it involves hacking the IOATAFamily.kext. this is the kext that is responsible for the attached hardware on your machine (ATA= AT Attachments, SATA = Serial ATA) like IDE hard drives or CD/DVD we will insert your controller Vendor ID and Device ID to it. follow these instructions:
- boot into windows
- open control panel
- find your Disk controller
- right click and choose properties
- chose the Details tab
- the first line contains something like this: PCI\VEN_30BE&DEV_004A...
- Vendor id is the 4 characters after the word: VEN_
- Device id is the 4 characters after the word: DEV_
- write on a paper the sting like this: 0x + VendorID + DeviceID (without plus or space for instance this example should be like this: 0x30BE004A)
- next stage involve using MacDrive and some util that will mount your install DVD ISO file (like alcohol), you need to mount the DVD after installing MacDrive that allows you to access Mac file system,
- cd into the folder:
- make sure you have at least these folders in there: AppleGenericPCATA.kext AppleOnboardPCATA.kext IOATAPIProtocolTransport.kext AppleIntelPIIXATA.kext AppleVIAATA.kext AppleNForceATA.kext IOATABlockStorage.kext
- also make sure you have the folder: /System/Library/Extensions/JMicronATA.kext (if you use a JMicron controller and IDE hard drive)
- next open in an editor the file: /System/Library/Extensions/IOATAFamily.kext/Contents/PlugIns/AppleVIAATA.kext/Contents/Info.plist
- find this tag: <>IOPCIPrimaryMatch< /key >
- after it you will find a tag: <> with allot of strings like you wrote on the paper in it.
- add your string (one you wrote on the paper, but first make sure it is not already there, if it is - abort this step (Solution 8) completely) with a space between it to the others (location isn't matter as long as it is in the tag like the others)
- save it
- delete the file: /System/Library/Extensions.mkext
- save the ISO file with these changes, burn it onto a DVD, boot from it with -F at the darwin prompt.
hope all these solutions help you,
ShayBC.
You might want to read these related posts:
Still waiting for root device
Darwin Boot Options
Download Hackintosh OS X Leopard
Blinking cursor after OSX86 install
Restore bootable partition
Friday, April 11, 2008
HFS+ partition type changed - what to do?
if you have for some reason a partition that is not recognized as HFS+ but it is (for instance if you tried to resize using Gparted and the HFS+ converted to something else), this is what you do in order to fix it:
enter fdisk, once you have entered fdisk and pressed p for print it will display a table with partitions details looking like this:
Note the second column (id), it is telling us what is the type of the partition in a hex representation. the HFS+ partitions should have AF as ID.
if it is not AF and the last column does not say HFS+ then use the command:
setpid X (where X stands for the partition number)
then the fdisk will show the partition table just for the X partition and ask for the partition ID you want to set like this:
write AF as the ID and press enter.
u (stands for Update)
w (stands for write)
it will tell you that you need a reboot like this:
write y (stands for yes)
q (stands for quit)
reboot, your done.
Enjoy.
Restore bootable partition
You have recently installed kext, application, update, another OS on a different partition and after boot all you get is a blinking cursor, and no darwin boot, and system not booting.
- how many drives do you have
- how many partition on each drive
- what OS and File System is installed on each Partition
- what OS you would like to restore as primary boot loader
first solution is accomplished using the "GNU Gparted Live CD", it is free Linux based application, you can download it here as an ISO file, you need to burn the iso file on to a CD and boot from it.

in the upper graphic parts you see square shapes that each represent a partition, above them there is a drop down that display the currently selected hard drive (in this case hda and its size is 37G), in linux (as in mac) drive is represented as file under folder dev, so the first drive is: /dev/hda.
if you choose from the drop down another driver it will display that drives partitions.
the lower table display the partitions in more details, you can see in this example that the first partition is NTFS, and it has the boot flag marked, that means that the NT file system will be booted from.
one of the thing you can do, is set a partition to being a bootable by setting the boot flag to it. you do that by right clicking with the mouse on the desired partition and choosing "manage flags" , from the pop up window check the boot flag check-box, close the window and click the "Apply Changes" button after it finish, reboot, and your HFS+ file system should be bootable again.
Solution 2:
there is another option to do this from command line using the fdisk utility available from the leopard DVD.
steps:
- insert the Leopard install DVD and boot from it
- at boot time press F8, and you will see the darwin boot screen
- write -s and press enter this will enter "Single User" mode
- execute the two lines that appear there regarding fsck and mount as described in the "Single User" post.
- next enter these commands:
then in the fdisk utility write ? for list of commands (help screen)

write p (short for print) and press enter then it will display a table of disks and partitions
find your HFS+ partition and remember its number (if it is the first partition it will be 1)
next write: f X where X stands for the HFS+ partition probably 1 if it is the first partition,
next write: u (short for update) and press enter
then write: w (short for write) and press enter
lastly press q (quit)
then restart and the HFS+ partition should be bootable again.
so for summary, the commands should look like this:
boot single mode (after restart press F8, at the prompt write -s and press enter)
/usr/sbin/fdisk -e /dev/rdisk0
if these solutions did not help that means one of two things:
- you have just installed Leopard and did not install Darwin as described in the "Install Leopard" post.
- or for some reason your partition ID has changed from AF to something else causing the HFS+ file system to recognized incorrectly.
the second case can be solved from the fdisk utility instructions in this post.
Enjoy.
Thursday, April 10, 2008
How to read and understand Kernel Panic Screen

here are some Panic messages example and how to read them:
Latest crash info for cpu 0:
Exception state (sv=0x27CA4500)
PC=0x27B5CD3C; MSR=0x00009030; DAR=0x30D6334E; DSISR=0x40000000; LR=0x27B5CD24; R1=0x0D80BAE0; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x27B5E6C4 0x27B5D82C 0x27B5607C 0x27B45C74 0x002E9A80 0x002EB94C
0x0008C248 0x00029234 0x000233F8 0x000ABEAC 0x8001016C
Kernel loadable modules in backtrace (with dependencies):
com.apple.GeForce(4.1.8)@0x27b3a000
dependency: com.apple.iokit.IOPCIFamily(1.7)@0x1d8f7000
dependency: com.apple.iokit.IOGraphicsFamily(1.4.2)@0x27867000
dependency: com.apple.iokit.IONDRVSupport(1.4.2)@0x2788b000
dependency: com.apple.NVDAResman(4.1.8)@0x278a1000
Proceeding back via exception chain:
Exception state (sv=0x27CA4500)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x1D92D280)
PC=0x9000B348; MSR=0x0200F030; DAR=0x02A8A000; DSISR=0x42000000; LR=0x9000B29C; R1=0xBFFFE900; XCP=0x00000030 (0xC00 - System call)
Kernel version:
Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC
panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
Latest stack backtrace for cpu 0:
Backtrace:
0x000954F8 0x00095A10 0x00026898 0x000A8204 0x000ABB80
Proceeding back via exception chain:
Exception state (sv=0x27CA4500)
PC=0x27B5CD3C; MSR=0x00009030; DAR=0x30D6334E; DSISR=0x40000000; LR=0x27B5CD24; R1=0x0D80BAE0; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x27B5E6C4 0x27B5D82C 0x27B5607C 0x27B45C74 0x002E9A80 0x002EB94C
0x0008C248 0x00029234 0x000233F8 0x000ABEAC 0x8001016C
Kernel loadable modules in backtrace (with dependencies):
com.apple.GeForce(4.1.8)@0x27b3a000
dependency: com.apple.iokit.IOPCIFamily(1.7)@0x1d8f7000
dependency: com.apple.iokit.IOGraphicsFamily(1.4.2)@0x27867000
dependency: com.apple.iokit.IONDRVSupport(1.4.2)@0x2788b000
dependency: com.apple.NVDAResman(4.1.8)@0x278a1000
Exception state (sv=0x1D92D280)
PC=0x9000B348; MSR=0x0200F030; DAR=0x02A8A000; DSISR=0x42000000; LR=0x9000B29C; R1=0xBFFFE900; XCP=0x00000030 (0xC00 - System call
*********
CR0: 0x8001003b, CR2: 0x00000024, CR3: 0x00d7b000, CR4: 0x000006e0
EAX: 0x00000000, EBX: 0x02bacc00, ECX: 0x025dc9a4, EDX: 0x00000000
CR2: 0x00000024, EBP: 0x14053ef8, ESI: 0x00841684, EDI: 0x0083df64
EFL: 0x00010206, EIP: 0x003bd3b3, CS: 0x00000008, DS: 0x14050010
Backtrace, Format - Frame : Return Address (4 potential args on stack)
0x14053d38 : 0x128d08 (0x3cb134 0x14053d5c 0x131de5 0x0)
0x14053d78 : 0x1a429b (0x3d0e4c 0x0 0xe 0x3d0670)
0x14053e88 : 0x19ada4 (0x14053e98 0x14053ea8 0xe 0x48)
0x14053ef8 : 0x83df81 (0x2bacc00 0x841684 0x14053f28 0x38073e)
0x14053f28 : 0x39c536 (0x2bacc00 0x28b9880 0x8 0x2)
0x14053f78 : 0x13d7d9 (0x28b9880 0x2686021 0x0 0xbffff378)
0x14053fc8 : 0x19ac1c (0x0 0x0 0x4 0x207) Backtrace terminated-invalid frame pointer 0x0
Kernel loadable modules in backtrace (with dependencies):
com.apple.driver.IOBluetoothHIDDriver(1.7.2b2)@0x8 37000
dependency: com.apple.iokit.IOBluetoothFamily(1.7.14f14)@0x6be 000
dependency: com.apple.iokit.IOHIDFamily(1.4.10)@0x531000
Latest crash info for cpu 0:
Exception state (sv=0x3D849280)
PC=0x000819E8; MSR=0x00009030; DAR=0x00000010; DSISR=0x40000000; LR=0x000819CC; R1=0x2720BB00; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x00032AC8 0x000823DC 0x00075F58 0x00075918 0x0006B45C 0x0006B730
0x000578A0 0x0002921C 0x000233F8 0x000ABAAC 0x414C5945
Proceeding back via exception chain:
Exception state (sv=0x3D849280)
previously dumped as "Latest" state. skipping...
Exception state (sv=0x42AF9280)
PC=0x9000AB48; MSR=0x0000F030; DAR=0x011DB004; DSISR=0x42000000; LR=0x9000AA9C; R1=0xF0101080; XCP=0x00000030 (0xC00 - System call)
Kernel version:
Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC
panic(cpu 0 caller 0xFFFF0003): 0x300 - Data access
Latest stack backtrace for cpu 0:
Backtrace:
0x00095138 0x00095650 0x00026898 0x000A7E04 0x000AB780
Proceeding back via exception chain:
Exception state (sv=0x3D849280)
PC=0x000819E8; MSR=0x00009030; DAR=0x00000010; DSISR=0x40000000; LR=0x000819CC; R1=0x2720BB00; XCP=0x0000000C (0x300 - Data access)
Backtrace:
0x00032AC8 0x000823DC 0x00075F58 0x00075918 0x0006B45C 0x0006B730
0x000578A0 0x0002921C 0x000233F8 0x000ABAAC 0x414C5945
Exception state (sv=0x42AF9280)
PC=0x9000AB48; MSR=0x0000F030; DAR=0x011DB004; DSISR=0x42000000; LR=0x9000AA9C; R1=0xF0101080; XCP=0x00000030 (0xC00 - System call)
Kernel version:
Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC
*********
Hackintosh Hang - what to do?

this is a Troubleshooting post due to all the comments i get from users that face this problem and don't know what to do.
Friday, February 1, 2008
Should i install Tiger or Leopard or both
my first question was should i install Tiger (10.4) or Leopard (OS X 10.5) or both.
at first i installed tiger, then i installed leopard as an upgrade to the tiger in a different partition,
Side Note: i tried tiger for a while to get the feel of the OS learned what is so good in mac, that was a quite a reprogram of my habits and knowledge regarding how OS should be, Microsoft has ruin us all but i was willing to learn and try, once you get the hang of it you understand how good the OS is, and, little by little i found that all new features that i was exited about on MSOS was just a rip-off a copy from OS X and not only that, but a bad copy, a heavy copy and slow copy! so today i enjoy both worlds since i have parallels and dual boot, but you should know that i use MS only for gaming purposes although most of my games i use in OS X many more accessible only to MS, i am an average joe but i develop, do office stuff, surf the web, blog,see video, listen to music, gaming, torrents... etc. but i have yet to find why i need MS OS (beside gaming) but again on mac i can get both worlds.
a cute youtube movie on that:
then i upgraded to leopard, that was an amazing leap from windows especially from vista, after leopard i had no need for tiger, i upgraded the tiger partition into leopard as well, so at this point i had two separated installation of leopard, i use the tigerToLeopard partition as a test partition and every install that can crash (Panic) my system i test there, kind of a sand box. after perfecting the install i deleted the partition and joined it with the primary leopard installation but that how-to will be covered in another post.
also note that since leopard (that i used, i assume all other hackintosh are also upgrades) is upgrade to an existing mac, so it is mandatory to install mac os x before leopard, if you try to install it without previous system it will display the welcome video in a loop 3 times and crash
i tried in the "Do you already own a Mac" screen to choose "do not transfer my information now" but it looped through the welcome screen, so the conclusion (4 me) that Tiger is mandatory, but if you find a better method please comment here.
Note: i think tiger is a very good OS it has all the basics of leopard that i love and enjoy, it is more stable and less hardware demanding, but leopard has made the final leap and got me converted, it has spaces and time machine that realy leaves no question as to if i will indure windows for another year or two,
