Need a 64-bit guest (Ubuntu 12.04)

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
scooter262
Posts: 2
Joined: 21. Nov 2012, 22:38

Need a 64-bit guest (Ubuntu 12.04)

Post by scooter262 »

I have a MacBook Pro and need to run a 64-bit version of Ubuntu. When I try to load the 64-bit image, I get an error: this kernel requires an x86-64 CPU, but only detected an i686 CPU.
Is there any way to run a 64-bit guest on my MacBook Pro?
brycesteiner
Posts: 97
Joined: 7. Nov 2008, 16:04
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by brycesteiner »

Is PAE enabled, VT-X/AMD-V
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by Perryg »

PAE won't allow a 64 bit guest to boot in VirtualBox.
You need to start the Mac in 64-bit mode
scooter262
Posts: 2
Joined: 21. Nov 2012, 22:38

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by scooter262 »

How do I start the mac in 64-bit mode?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by Perryg »

It should be holding the 6 and 4 keys down while you boot, if it supports 64-bit mode or you can look in your owners manual.
brycesteiner
Posts: 97
Joined: 7. Nov 2008, 16:04
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by brycesteiner »

The new Mac OSX defaults to 64 bit mode.

To see what bit mode you are in type in the terminal

uname -a

Does it say i386 or x86_64?

Perhaps it is the PAE selection
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by Perryg »

@brycesteiner,
Do you know what PAE is/does?
This will not help hardware virtualization (VMX) and the way the guest connects to the CPU.
brycesteiner
Posts: 97
Joined: 7. Nov 2008, 16:04
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by brycesteiner »

PAE is a way for 32 bit systems to get around the 4GB limit.

I'm trying to say it could be a problem if enabled. I'm also saying that Mac OS X is 64 bit by default.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by Perryg »

OS X is an operating system the Macbook pro is hardware. The error is saying that it does not see 64-bit capability simple as that. Until VirtualBox can see the VMX portion of the CPU it will not be able to work for 64-bit guests. Since Mac's don't use bios they use the kernel. Since the OP is getting the error about being an i686 it has to be that they are using the 32-bit kernel. Look I don't make this stuff up just read what apple has to say about it. http://support.apple.com/kb/HT3773
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Need a 64-bit guest (Ubuntu 12.04)

Post by ChipMcK »

brycesteiner wrote:I'm also saying that Mac OS X is 64 bit by default.
Only if you are running Mountain Lion. Lion is 32 bit by default, unless . . .

as I recall, you need to boot while holding 6 and 4 on Lion

Check Activity Monitor (located in Utilities folder)
All Processes to see which mode the kernel is running
Post Reply