Jump to content

Trully enable 32bit mode


Best Answer bsld, 16 August 2017 - 04:06 PM

Chameleon boot option arch=i386 is normally sufficient. Once booted up, use Terminal command uname -a to verify kernel mode. You'll see it immediately: i386 for 32bit and x86_64 for 64bit.

 

However, there's a flag -force64 to run apps in 64bit mode (it's required for some apps such as HWMonitor or PlistEditPro for instance). This flag aplies to user space. Check that out in your o.c.B.plist. You can use Chameleon Wizard too. OS X does support mixing 32bit kernel and 64bit apps; and vice-versa. You can Google for this. If the flag is present, remove it and apps will be liited to 32bit mode only (and an app such as PlistEditPro will no longer run).

I'm fairly certain that I've never specified this flag unless is implied - I tried adding '-force32' in o.c.B.plist kernel flags but it didn't change anything.

/Extra/org.chameleon.Boot.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>GraphicsEnabler</key>
    <string>No</string>
    <key>Kernel Flags</key>
    <string>arch=i386 -v -f -force32</string>
</dict>
</plist>
Go to the full post


  • Please log in to reply
3 replies to this topic

#1
bsld

bsld

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

I'm booting with 'arch=i386' flag, additionally I had run the 'sudo systemsetup -setkernelbootarchitecture i386' command on my terminal but every-time I boot up:
 

 

8/16/17 3:04:58 PM    kernel    64 bit mode enabled

8/16/17 3:04:58 PM    kernel    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386

 

How to trully enable this glorious 32bit mode.

I'm assuming that the fact that the "64 bit mode enabled" is linked Activity Monitor showing that all process in Intel 64 bit mode. I know that the kernel is booted in 32 bit mode (RELEASE_I386) but I don't think that is enough.

EDIT: -legacy



#2
Hervé

Hervé

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,825 posts
  • Gender:Male
  • Location:Rennes, BZH of course!

Chameleon boot option arch=i386 is normally sufficient. Once booted up, use Terminal command uname -a to verify kernel mode. You'll see it immediately: i386 for 32bit and x86_64 for 64bit.

 

However, there's a flag -force64 to run apps in 64bit mode on custom kernels (it's required for some apps such as HWMonitor or PlistEditPro under AMD kernels for instance). This flag aplies to user space. Check that out in your o.c.B.plist. You can use Chameleon Wizard too. OS X does support mixing 32bit kernel and 64bit apps; and vice-versa. You can Google for this. If the flag is present, remove it and apps will be limited to 32bit mode only.



#3
bsld

bsld

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Best Answer

Chameleon boot option arch=i386 is normally sufficient. Once booted up, use Terminal command uname -a to verify kernel mode. You'll see it immediately: i386 for 32bit and x86_64 for 64bit.

 

However, there's a flag -force64 to run apps in 64bit mode (it's required for some apps such as HWMonitor or PlistEditPro for instance). This flag aplies to user space. Check that out in your o.c.B.plist. You can use Chameleon Wizard too. OS X does support mixing 32bit kernel and 64bit apps; and vice-versa. You can Google for this. If the flag is present, remove it and apps will be liited to 32bit mode only (and an app such as PlistEditPro will no longer run).

I'm fairly certain that I've never specified this flag unless is implied - I tried adding '-force32' in o.c.B.plist kernel flags but it didn't change anything.

/Extra/org.chameleon.Boot.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>GraphicsEnabler</key>
    <string>No</string>
    <key>Kernel Flags</key>
    <string>arch=i386 -v -f -force32</string>
</dict>
</plist>


#4
Hervé

Hervé

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,825 posts
  • Gender:Male
  • Location:Rennes, BZH of course!

:lol: You "best answer" your own answer?

 

-force32 is not an available flag; it does not exist... And -force64 is obviously not implied as per my explanations above.
 
 With regards to 32bit kernel mode, you would normally define it in your o.c.B.plist using:


    <key>arch</key>
    <string>i386</string>

rather than as a flag as you showed above, though I believe that works.
 
If you used, say, Chameleon Wizard v4.3.2 and configured this:
Attached File  CW_v4.3.2.png   183.09KB   0 downloads
You'd get this in o.c.B.plist:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>
<key>GeneratePStates</key>
<string>Yes</string>
<key>Graphics Mode</key>
<string>1280x800x32</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Quiet Boot</key>
<string>Yes</string>
<key>SystemType</key>
<string>2</string>
<key>Theme</key>
<string>Default</string>
<key>UseKernelCache</key>
<string>Yes</string>
<key>arch</key>
<string>i386</string>
</dict>
</plist>

`
I'm not sure the kernelbootarchitecture command really works on Hackintoshes; I mean I've set it to i386 and booted MacOS X without Chameleon's 32bit option and I ended up in 64bit kernel mode by default! So, it's clearly the Chameleon option that prevails for kernel.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy