{"id":74,"date":"2006-01-30T10:54:04","date_gmt":"2006-01-30T08:54:04","guid":{"rendered":"http:\/\/neosmart.net\/blog\/archives\/74"},"modified":"2013-08-26T18:08:57","modified_gmt":"2013-08-26T23:08:57","slug":"bypassing-the-acpi-and-bios-functions-of-xp-on-macintel","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/bypassing-the-acpi-and-bios-functions-of-xp-on-macintel\/","title":{"rendered":"Making XP work with Apple&#8217;s EFI"},"content":{"rendered":"\n<p class=\"alert\">Macintel Articles @ NeoSmart:\n  <\/p>\n<ul>\n<li><a href=\"http:\/\/neosmart.net\/blog\/archives\/70\" rel=\"follow\">Windows XP on Mac?<\/a> <\/li>\n<li><a href=\"https:\/\/neosmart.net\/blog\/hardware-mods-to-get-xp-on-a-macintel\/\" rel=\"follow\">XP-Macintel Hardware Hacks<\/a> <\/li>\n<li><a href=\"https:\/\/neosmart.net\/blog\/bypassing-the-acpi-and-bios-functions-of-xp-on-macintel\/\" rel=\"follow\">Hacking XP to Support EFI<\/a> <\/li>\n<li><a href=\"http:\/\/neosmart.net\/blog\/archives\/75\" rel=\"follow\">Free Macintels!<\/a> <\/li>\n<\/ul>\n<p>What&#8217;s wrong with us!? With me? Windows was my first OS, yet it never crossed my mind to modify Windows to work on EFI? Instead I&#8217;ve been taking the super-long, weary, and winding road of getting an iMac to become BIOS compatible. Well, I&#8217;m back on familiar terrain, modding XP is where I think I can make it work. Instead of using BIOS emulators or chain-bootloaders and what not, how about just making XP run on EFI? <strong>What is NTLDR??<\/strong>\n<\/p>\n<p>To put it real simple, the NTLDR is activated by the BIOS in order to boot an NT-based OS. NT based OSes include Windows XP, our current focus. NTLDR requires a bootsector in the MBR. EFI <strong>requires<\/strong> that a null MBR exist, so using fixntfs as highlighted in my previous post activates the MBR, and allows the booting of XP. After you activate NTLDR, ntdetect.com is run, which gathers hardware information and creates the low-level hardware information layer, which in turn is where <strong>Windows XP sends its BIOS-related commands!<\/strong> From Wikipedia:\n<\/p>\n<blockquote><p>NTLDR runs <em>ntdetect.com<\/em>, which gathers information about the computer&#8217;s hardware (if ntdetect hangs during hardware detection there is a debug version called ntdetect.chk which can be found on Microsoft support [&#8230;] Starts <em><span class=\"new\">ntoskrnl.exe<\/span><\/em>, passing to it the information returned by <em>ntdetect.com<\/em>.\n<\/p><\/blockquote>\n<p><!--more-->All of these are low-level system programs. The *likelihood* of them being compiled for access <strong>only<\/strong> on x64 platforms is very low. What this means is, <strong>if you can get NTLDR and ntdetect.com from an x64 machine<\/strong>, you might be able to replace the original XP x86 files with these. Why would you want to do that? Well, ntoskernel.exe is the actual &#8220;Windows&#8221; so to speak.\n<\/p>\n<p>Unfortunately the kernel used in x64 is NT version 5.2 while XP uses 5.1. Either way, ntoskernel.exe on x64 is compiled strictly for x64, it won&#8217;t run on x86 systems. The way I see it, if you use NTLDR and ntdetect.com from a x64 machine instead of the ones on your x86 copy <strong>it should work<\/strong> to let <strong>Windows XP <\/strong><em>not<\/em> BSOD!! BTW, further proof that they will run and not hang is that on a system with dual boot x64 and x86 (a PC, not a Mac), these files are used by x86 as well.\n<\/p>\n<p>What this all adds up to is, the NTLDR and ntdetect.com on x64 <strong>have EFI compatibility<\/strong>, and <strong>they run on x86 too!<\/strong> If you use these steps together with my previsou &#8220;outline&#8221; of getting XP to boot on a Macintel, you might just be getting somewhere.\n<\/p>\n<p>[<a href=\"http:\/\/digg.com\/apple\/Making_XP_work_with_Apple_s_EFI\" rel=\"follow\">digg<\/a>] [<a title=\"NTLDR and ntdetect.com\" href=\"http:\/\/neosmart.net\/downloads\/miscellania\/Boot Files.zip\" rel=\"follow\">x64 ntldr and ntdetect<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Macintel Articles @ NeoSmart: Windows XP on Mac? XP-Macintel Hardware Hacks Hacking XP to Support EFI Free Macintels! What&#8217;s wrong with us!? With me? Windows was my first OS, yet it never crossed my mind to modify Windows to work &hellip; <a href=\"https:\/\/neosmart.net\/blog\/bypassing-the-acpi-and-bios-functions-of-xp-on-macintel\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[107,102],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-software","tag-apple","tag-macintel"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-1c","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=74"}],"version-history":[{"count":3,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":1875,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/74\/revisions\/1875"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}