Art of BI: Setting MacOS into 64-bit Mode

By | In Art of BI, Potpourri | February 23rd, 2012

I came a cross an issue where I had the 32-bit version of VMWare Fusion on my Mac but I needed to run a 64-bit OS guest virtual machine image.  The 32-bit mode of the Mac OS wouldn’t allow it.  The message was something to the affect that the Mac must be running in 64-bit mode.  I thought it did that by default – wrong.  So, I sought a way to change the OS to operate in 64-bit mode.  I thought it would be as simple as flipping a switch in the System Preferences.  But of course, it couldn’t be that easy. Or, could it? Well, I found the answer and I am sharing that below for all of the hard core demo junkies wanting to get the Oracle BI SampleApp VirtualBox VM Image up on a VMWare app running on the Mac.

In the end I also found out that the version of VMWare Fusion (32-bit) that I had did not not allow a 64-bit guest OS to run on it. Damn VMWare!  So, I coughed up the cash and purchased the 64-bit version of VMWare Fusion.  Now my 64-bit OS VM guest images operate with no problem when the Mac OS is running in 64-bit mode, of course.

Here are the instructions I grabbed from a site I found on the net to switch the Mac to 64-bit mode.

Instructions

You can choose to hold down the “6″ and “4″ (I just keep hitting the 4 & 6 key together until it gets to the login screen)
keys on startup to boot into 64 bit mode. This will boot you into 64 bit for that boot cycle.
When you reboot you will fall back to 32 bit again.

Likewise, holding down the “3″ and “2″ keys on boot will put you into 32 bit mode.

If you want to change the mode and make it stick you need to do it at the command line.
Fortunately Apple has added a command in the systemsetup tool for just that.

To check which mode you’re currently in run this command in 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

One oddity I’ve found so far is that on some machines that were upgraded from
Leopard to Snow Leopard this command doesn’t appear in systemsetup.

Do a man systemsetup before running it to make sure you have the Snow Leopard version of systemsetup.

References:

Enhanced by Zemanta
Contact Us
Christian Screen
Christian is an innovator in analytics and data warehousing design, best practices, and delivery. With more than fifteenyears of decision support and data warehousing with key experiences at Office Depot HQ, Sierra-Cedar, and Capgemini, he oversees the Oracle Analytics Practice which includes the technical development and delivery of Oracle BI collaboration software, data warehouse solutions, Oracle BI/EPM projects, and packaged analytics solutions at Datavail.

Leave a Reply

Your email address will not be published.
Required fields are marked (*).