Build & Install the VirtualBox for Yosemite

Discussions related to using the OSE version of VirtualBox.

Build & Install the VirtualBox for Yosemite

Postby wonsange » 5. Dec 2014, 10:07

Hi, everyone.

I'm using the custom VirtualBox for our system.
So, I build and install our custom VirtualBox (4.3.10).
It runs OK, until Mavericks.

But, for Yosemite, it has one issue.
In the Yosemite, my custom VirtualBox doesn't install and run.
Cause is the kext(kernel extension) authorized.

I found the temporarily solution.
1. Run the [# sudo nvram boot-args="kext-dev-mode=1"], and reboot.
2. Reinstall my custom VirtualBox.

For Yosemite, how can I authorize to .kext files?
I was registered to the Mac Developer.
Please advise for me.

Build Environment
MacOS version: 10.6.8
VirtualBox source version: 4.3.10
wonsange
 
Posts: 7
Joined: 4. Jul 2014, 10:20

Re: Build & Install the VirtualBox for Yosemite

Postby mpack » 5. Dec 2014, 15:31

What is a "custom VirtualBox"?

VirtualBox is the name of the software. If you are making custom builds of VirtualBox for a host that is supported by official builds, then you're pretty much on your own!

If "custom VirtualBox" just means a VM then I'll want details of the VM: Minimum information needed for assistance.
mpack
Site Moderator
 
Posts: 29825
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 5. Dec 2014, 16:34

fwiw, VB 4.3.20 runs perfectly well in OSX 10.10.1
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby wonsange » 6. Dec 2014, 09:55

Custom VirtualBox means the VirtualBox builded by me.
I compile and use the VirtualBox Host.
I download the source of the VirtualBox, build the custom virtualbox.

it cannot install at Yosemite caused by un-authorized kext.

Please advise me.
wonsange
 
Posts: 7
Joined: 4. Jul 2014, 10:20

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 12:55

OSX build instructions

The bottom line, is if you built VirtualBox from the source code and it ran fine in OSX versions up through OSX 10.9, it will run in OSX 10.10. If there was some difference, there would have to be a separate Yosemite version of VirtualBox but there isn't.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby wonsange » 6. Dec 2014, 14:39

I was compiled from this site.
I make the dmg file using [kmk packing].
Generated dmg file is working fine until mavericks.
But, Yosemite can not install and run.
Yosemite change the authorized policy.
So, kext files of the compiled VirtualBox cannot install.

How can I authorize?
wonsange
 
Posts: 7
Joined: 4. Jul 2014, 10:20

Re: Build & Install the VirtualBox for Yosemite

Postby Perryg » 6. Dec 2014, 15:44

I'm afraid that there are so few Mac users that build their own version of VirtualBox you may not get a viable reply. You might try asking someone on the VirtualBox IRC channel as the DEVs monitor that one themselves. https://www.virtualbox.org/wiki/Community

Moving to VirtualBox OSE.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 16:04

Actually I suspect I know what the OP's problem is. Seeing he says his build environment is OSX 10.6.8, his version of XCode is most likely out of date.

I also suspect the authorization policy he is talking about changed with Mavericks and not Yosemite which is in the Mac's Security settings...
Allow apps downloaded from:
Mac App Store
Mac App Store and identified developers
Anywhere

So if his build is viable it should install by choosing "Anywhere".
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 16:31

p.s. once you install a program with "Anywhere" enabled it will continue to run, even if you re-enable one of the other two choices. (and you should).
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby Perryg » 6. Dec 2014, 17:47

@Lou,

Color me confused but what does "Allow apps downloaded from" have to do with building your own version of VirtualBox?

Are you saying that to compile your own version still requires the "install" from anywhere, even though you don't actually install it?
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 17:51

No, sorry. What I am saying is once you build it you have to change the security settings in order to install it. The OP was getting an authorization error when he was trying to install it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 18:00

From what I gathered he already had a build he was using which wouldn't install in Yosemite because it was being flagged by the security settings. I suppose he may be trying a new build and wants to circumvent the security settings but I don't know that.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby Perryg » 6. Dec 2014, 18:05

Alrighty then. I will leave it to the Mac experts. :wink:

Although I must say it seems pretty non-productive to "not" allow you to install your own builds without jumping through hoops.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build & Install the VirtualBox for Yosemite

Postby loukingjr » 6. Dec 2014, 18:10

LOL you can install your own builds :) You just have to change the security settings. :wink:

You could always leave them set to allow apps from anywhere then you wouldn't have to fuss with them. The settings are there to disallow anyone from downloading or installing bad stuff. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
 
Posts: 8827
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Build & Install the VirtualBox for Yosemite

Postby wonsange » 8. Dec 2014, 02:48

I found these informations about my error.
http://stackoverflow.com/questions/2667 ... emite10-10
https://github.com/Homebrew/homebrew/issues/31164

After I run the "nvram boot-args=kext-dev-mode=1" and reboot, my virtualbox install successfully.

How can I sign the kext of my VirtualBox?
wonsange
 
Posts: 7
Joined: 4. Jul 2014, 10:20

Next

Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 3 guests