vboxme / Portable-VirtualBox

Portable-VirtualBox is a free and open source software tool that lets you run any operating system from a usb stick without separate installation.
Other
806 stars 234 forks source link

Virtualbox 6: vboxdrv has been renamed to vboxsup #86

Open Woipi opened 2 years ago

Woipi commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

Any idea if this fix allows version 7 to run?

d4k0 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Not worried about network, just the latest version of virtualbox 7

-------- Original message -------- From: p060477 @.> Date: 10/19/22 4:10 PM (GMT-05:00) To: vboxme/Portable-VirtualBox @.> Cc: pendragonmikel @.>, Comment @.> Subject: Re: [vboxme/Portable-VirtualBox] Virtualbox 6: vboxdrv has been renamed to vboxsup (Issue #86)

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... :(

— Reply to this email directly, view it on GitHubhttps://github.com/vboxme/Portable-VirtualBox/issues/86#issuecomment-1284518289, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYMXH5RIEMY4NBUS32R6QNLWEBISJANCNFSM5NNCP66Q. You are receiving this because you commented.Message ID: @.***>

pendragonmikel commented 1 year ago

Awesome! Thanks for the response

-------- Original message -------- From: d4k0 @.> Date: 10/19/22 3:58 PM (GMT-05:00) To: vboxme/Portable-VirtualBox @.> Cc: pendragonmikel @.>, Comment @.> Subject: Re: [vboxme/Portable-VirtualBox] Virtualbox 6: vboxdrv has been renamed to vboxsup (Issue #86)

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.

— Reply to this email directly, view it on GitHubhttps://github.com/vboxme/Portable-VirtualBox/issues/86#issuecomment-1284506020, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYMXH5VN477E2XOJEO4IYRLWEBHGHANCNFSM5NNCP66Q. You are receiving this because you commented.Message ID: @.***>

d4k0 commented 1 year ago

@p060477 I don't know if this works:

https://zotovp.wordpress.com/2017/04/02/portable-virtualbox-network-support-windows-10/

p060477 commented 1 year ago

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

badrelmers commented 1 year ago

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 commented 8 months ago

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

badrelmers commented 6 months ago

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