Skip to content

Virtualbox 6: vboxdrv has been renamed to vboxsup #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Woipi opened this issue Feb 2, 2022 · 12 comments
Open

Virtualbox 6: vboxdrv has been renamed to vboxsup #86

Woipi opened this issue Feb 2, 2022 · 12 comments

Comments

@Woipi
Copy link

Woipi commented Feb 2, 2022

Unfortunately the Virtualbox-Support gets worse again. Not only has the automatic unpacking stopped working (see existing issues). With release 6.1.32 the virtualbox driver has been renamed from vboxdrv to vboxsup. This results in a "NtCreateFile(\Device\VBoxDrvStub)" error.

@d4k0
Copy link
Contributor

d4k0 commented Feb 21, 2022

Thanks for the explanation, I just had the same error. I stumbled upon vkalenic's fork and compiled it. VirtualBox now works again. You can find it here:

https://github.com/vkalenic/Portable-VirtualBox

@pendragonmikel
Copy link

Any idea if this fix allows version 7 to run?

@d4k0
Copy link
Contributor

d4k0 commented Oct 19, 2022

I'm using this fork which works fine with VirtualBox 7:

https://github.com/zongou/portable-vbox

But it would be nice if someone could merge the improvements from all the forks.

@p060477
Copy link

p060477 commented Oct 19, 2022

none of these forks are able to let you use the bridged network..only nat...so they are not really full working...since 2015 with the came of windows 10 runar buvik abandoned the project... :(

@pendragonmikel
Copy link

pendragonmikel commented Oct 19, 2022 via email

@pendragonmikel
Copy link

pendragonmikel commented Oct 19, 2022 via email

@d4k0
Copy link
Contributor

d4k0 commented Oct 19, 2022

@p060477
Copy link

p060477 commented Oct 19, 2022

thxs so much...no in my case do not work..anyway thxs so much indeed

@badrelmers
Copy link

virtualbox already have an option to make it semi-portable: the manual says:
https://www.virtualbox.org/manual/ch10.html

You can specify an alternate configuration directory by either setting the VBOX_USER_HOME environment variable, or on Linux or Oracle Solaris by using the standard XDG_CONFIG_HOME variable. Since the global VirtualBox.xml settings file points to all other configuration files, this enables switching between several Oracle VM VirtualBox configurations.

In this configuration directory, Oracle VM VirtualBox stores its global settings file, an XML file called VirtualBox.xml. This file includes global configuration options and a list of registered virtual machines with pointers to their XML settings files.

so setting that variable solve the problem of portabilizing the machines, now i can format my pc , then put that variable and everything will work as before.

a simple command will portabilize virtualbox: say for example that you want to always save your machines to E:\VBOX, then open a command line window (cmd) and run this:
setx VBOX_USER_HOME E:\VBOX
that s all.

if you want virtualbox to be fully portable (in the sense of removing all files and registry entries...etc ), then a simple script to install virtualbox and uninstall it will solve it.

now we can install the latest virtualbox and have it working without errors.

if you think that those forks work fine with virtualbox v7 then you are wrong
https://github.com/zongou/portable-vbox
https://github.com/vkalenic/Portable-VirtualBox
https://github.com/timsky/Portable-VirtualBox

they did simple changes and left a lot of things that should be done, for example the drivers and services are not fully cleaned, use for example https://github.com/zongou/portable-vbox fork , compile it, install it, run virtualbox and stop it, see services , you will find a service of virtualbox there (VBoxSDS)... and other errors will happen too of services and drivers not starting..etc. so use the official installer it will work better

@d4k0
Copy link
Contributor

d4k0 commented Oct 7, 2023

@badrelmers
If it's that simple, can you provide this "simple script" to install and uninstall VirtualBox?

@badrelmers
Copy link

@d4k0
here it is: https://gist.github.com/badrelmers/20990cd518fed05e5f171961c63e85ba

@Peppernrino
Copy link
Contributor

I'm using this fork which works fine with VirtualBox 7:

https://github.com/zongou/portable-vbox

But it would be nice if someone could merge the improvements from all the forks.

This page does not exist anymore... does anyone have a fork of it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants