Showing posts with label loop. Show all posts
Showing posts with label loop. Show all posts

Friday, March 14, 2008

BIOS Options for hackintosh

this post is a continue to the "Prepare the disk partitions" post,

this post cover BIOS options that you need to try and play with in order to get the installation running, the installed system to boot and allow the leopard work smoothly.

*****for newbies*****
todays all PC computers have a BIOS (Basic Input Output System), it is a CMOS chip saving both configurable data and permanent data and a small code part needed to boot the machine and handle hardware initialization commands.

BIOS have a setup screen that allows you to specify the configuration you prefer for the system. the bios screen can be accessed in many different ways depending on the computer. some machines use "del" button, when the computer loads, just press delete and the BIOS appears, some use F2 or F12 all depends on the type of bios installed on your machine ("American MegaTrends" or "Award Software" or "Phoenix Technologies" etc.), in the first screen you see when the PC powers up there should be a message saying how to enter setup/bios.



*****for newbies End*****

Execute Disable (XD/NX)
this should be the first thing to set in the bios, it is the most important part if you decided to use vanilla kernel, the thing is that intel created a virus/warm protection in the CPU level (some sort of security feature), since warm and virus infect the computer by copying their execution instructions to a buffer, the CPU allows the OS to mark what areas in the memory are for data usage only and if someone tries to execute code from those areas the CPU wont allow it, that is why you can set the CPU to activate its "No Execution" (NX on AMD CPU) protection or "Execute Disable" (XD on intel CPU) protection. probably leopard decided to support it fully, and not load if this option is not enabled in order to provide a safer OS, and probably that is why if this parameter is set to false or disabled the system will loop reboot forever until the parameter is set back to enable.

set the "Execute Disable Function" to Enabled

sometimes it is called XD (eXecution Disabled) and looks like this:

Max CPUID Value Limit
During runtime the OS ask the CPU for information regarding different areas, each query is done using a hex value set to a CPU register, not all CPU supports all features this is why at boot time the OS check what are the supported features, each CPU gives different answers to a given value depending on the number of features it support, and in this way it determines what CPU it is running on, but older OS such as NT, 95, 98, Jaguar, Panther etc. don't know of the new feature that new CPU has, that is why this BIOS parameter exist, it tells the CPU to act as if it is limited in the number of features it support for the sake of older OS, in our case leopard support all the CPU query features (leafs), that is why we need to set this parameter to disable and to allow the CPU to return its true values and to be able to identify the CPU for its true type.

set the Max CPUID Value Limit to Disabled

CPU Internal Thermal Control
latest CPUs support internal thermal sensors and the CPU track the temperature, if it reaches a high or too low threshold counter measures are taken, such as: lowering voltage and speed of CPU (so less heat is generated) allowing CPU to cool down, sometimes when temperatures are critical the CPU is allowed to freeze all work or shutdown the computer as precaution measures (depending on the BIOS setup). this parameter can be set to enabled or disabled since today the hackintosh scene cannot support the thermal control from leopard (for all PCs), and as part of the installation you are asked to remove the kext (kernel extension) responsible for it, so you may enable it, i prefer to disable it and if everything is working well you can return and enable it back on to enabled value, if you don't have disabled (like me) Auto value will do just fine.

set CPU Internal Thermal Control to Disabled or Auto

ACPI 2.0 Support (Advanced Configuration and Power Interface)
ACPI is a standard that allow the OS to control the power management of hardware components, the BIOS feature only enable or disable the interface not the OS feature, that means that if the BIOS parameter is enabled then the OS can use (or not) the ACPI interface to control board and peripherals power supply, but if this feature is disabled then even if the OS will try to use the interface and activate components power it cannot do it (hence the word 'Support' in the title), and when leopard tries to control the power of the computer components and the ACPI is not available the result is eather leopard wont load or crash during runtime.
another parameter that needs to be set is the: ACPI APIC Support and it should be set to enabled for the same reasons.

set ACPI 2.0 Support to yes
set ACPI APIC Support to enable


Core Multi-Proccessing
this BIOS feature is very simple yet very important, it allows Core 2 Duo CPUs to turn into Core 2 Solo, meaning the CPU will use only one of its cores, after hackintosh install if you experience a reboot loop (without the ability to reach single mode even) then try disable this option, otherwise use enabled.

set Core Mutil-Proccessing disable (if all goes well set enabled)


ATA/IDE Mode
in this BIOS option you can set the standard your hard driver controller support,
it can support: IDE for legacy drives, SATA for new driver and RAID if available in your PC system, make sure these option set comply with your hardware setup.

if you use SATA then choose the AHCI option if you use IDE choose the ATA/IDE Mode: Legacy.
S.M.A.R.T option should be enabled unless you receive a S.M.A.R.T. error during DVD boot time, in that case disable it.

for SATA:
set ATA/IDE Mode: Native
set Configure SATA as: AHCI
set S.M.A.R.T: Enabled

for IDE driver:
set ATA/IDE Mode: Legacy
set Configure SATA as: IDE
set S.M.A.R.T: Disabled

thats it, next step is the installation process it self refer to "Install Tiger" or "Install Leopard" posts.

Enjoy.

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,

 
the menu is from: Milonic DHTML menus