Skip to content
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

VMUB will not run VBox version 6 - get --startvm error #6

Open
steve6375 opened this issue Jan 14, 2019 · 7 comments
Open

VMUB will not run VBox version 6 - get --startvm error #6

steve6375 opened this issue Jan 14, 2019 · 7 comments

Comments

@steve6375
Copy link

steve6375 commented Jan 14, 2019

The new version 6 of VBox does not work with VMUB 1.72
image

@steve6375
Copy link
Author

steve6375 commented Jan 14, 2019

Workaround for VBox v6:
VMUB - Options - VirtualBox - Exe Path = C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe

@steve6375
Copy link
Author

steve6375 commented Jan 18, 2019

Better workaround for VBox v6 (--startvm error):

  1. In VMUB - Options - VirtualBox - change Exe Path to C:\Program Files\Oracle\VirtualBox\VMUB.cmd

  2. Run an Admin cmd shell

  3. cd \Program Files\Oracle\VirtualBox

  4. Create a new file in the \Program Files\Oracle\VirtualBox folder called VMUB.cmd

Notepad VMUB.cmd and type and save the following text:

@echo off
if "%1"=="" start VirtualBox.exe
if not "%1"=="" start VirtualBoxVM.exe %*

[Edit]Note: This does not lock the USB drive however and so does not work properly![/Edit]

@ghost
Copy link

ghost commented Nov 4, 2019

Better workaround for VBox v6 (--startvm error):

  1. In VMUB - Options - VirtualBox - change Exe Path to C:\Program Files\Oracle\VirtualBox\VMUB.cmd
  2. Run an Admin cmd shell
  3. cd \Program Files\Oracle\VirtualBox
  4. Create a new file in the \Program Files\Oracle\VirtualBox folder called VMUB.cmd

Notepad VMUB.cmd and type and save the following text:

@echo off
if "%1"=="" start VirtualBox.exe
if not "%1"=="" start VirtualBoxVM.exe %*

thanks heaps working for me on MX linux

@steve6375
Copy link
Author

I found this had a problem though as it was not actually locking the USB drive to allow write access, Accesses were still in snapshot mode because the volume was not locked.

So VMUB locks the USB drive for sole access and then runs VBox. If you run a cmd file then the USB drive is no longer locked and so it does not work properly.

e.g.

  1. Boot to grub4dos in VBOX 6 using VMUB and new VMUB.cmd
  2. Use grub4dos to change a file on the USB drive (e.g. echo ddd > /existingfile.txt
  3. Reboot and check /existingfile.txt - it will be unaltered!

With no cmd and VBox 5 the file will be permanently altered, so this defeats the main purpose of VMUB which was to get locked write access to the USB drive!

Therefore we have to use VBOX v5 for proper functionality.

@ghost
Copy link

ghost commented Nov 4, 2019

hehe yes I have just found that out , i thought I broke my USB lol ,
for some reason when using MX 19 it doesn't work for me on 5,0 but does work on 6.0
but MX Linus just updated from 18.3 which work 5.0

@ghost
Copy link

ghost commented Nov 4, 2019

h

I found this had a problem though as it was not actually locking the USB drive to allow write access, Accesses were still in snapshot mode because the volume was not locked.

So VMUB locks the USB drive for sole access and then runs VBox. If you run a cmd file then the USB drive is no longer locked and so it does not work properly.

e.g.

  1. Boot to grub4dos in VBOX 6 using VMUB and new VMUB.cmd
  2. Use grub4dos to change a file on the USB drive (e.g. echo ddd > /existingfile.txt
  3. Reboot and check /existingfile.txt - it will be unaltered!

With no cmd and VBox 5 the file will be permanently altered, so this defeats the main purpose of VMUB which was to get locked write access to the USB drive!

Therefore we have to use VBOX v5 for proper functionality.

how does a noob like me revert back so I can use my USB?

@steve6375
Copy link
Author

Just install VBOX v5
and change path back to VirtualBox.exe

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

1 participant