snipt

Ctrl+h for KB shortcuts

Bash

Switch between 32 bit and 64 bit

1
2
3
4
5
6
7
#Switching between Lion 64-bit and 32-bit

#To check which mode you?re currently in, run this command on the terminal: systemsetup -getkernelbootarchitecturesetting

#To set your machine to boot into 64-bit mode, enter this command and reboot: sudo systemsetup -setkernelbootarchitecture x86_64

#To set your machine to boot into 32-bit mode, enter this command and reboot: sudo systemsetup -setkernelbootarchitecture i386
https://snippets.siftie.com/embed/5976098fec37ee87d1e5572a54d961cd/
/raw/5976098fec37ee87d1e5572a54d961cd/
5976098fec37ee87d1e5572a54d961cd
bash
Bash
7
2019-03-24T04:53:51
True
False
False
/api/public/snipt/29824/
switch-between-32-bit-and-64-bit
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c1">#Switching between Lion 64-bit and 32-bit</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="c1">#To check which mode you?re currently in, run this command on the terminal: systemsetup -getkernelbootarchitecturesetting</span> </span><span id="L-4"><a name="L-4"></a> </span><span id="L-5"><a name="L-5"></a><span class="c1">#To set your machine to boot into 64-bit mode, enter this command and reboot: sudo systemsetup -setkernelbootarchitecture x86_64</span> </span><span id="L-6"><a name="L-6"></a> </span><span id="L-7"><a name="L-7"></a><span class="c1">#To set your machine to boot into 32-bit mode, enter this command and reboot: sudo systemsetup -setkernelbootarchitecture i386</span> </span></pre></div> </td></tr></table>
mac