Open steve6375 opened 5 years ago
Workaround for VBox v6: VMUB - Options - VirtualBox - Exe Path = C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.exe
Better workaround for VBox v6 (--startvm error):
In VMUB - Options - VirtualBox - change Exe Path to C:\Program Files\Oracle\VirtualBox\VMUB.cmd
Run an Admin cmd shell
cd \Program Files\Oracle\VirtualBox
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]
Better workaround for VBox v6 (--startvm error):
- In VMUB - Options - VirtualBox - change Exe Path to C:\Program Files\Oracle\VirtualBox\VMUB.cmd
- Run an Admin cmd shell
- cd \Program Files\Oracle\VirtualBox
- 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
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.
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.
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
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.
- Boot to grub4dos in VBOX 6 using VMUB and new VMUB.cmd
- Use grub4dos to change a file on the USB drive (e.g. echo ddd > /existingfile.txt
- 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?
Just install VBOX v5 and change path back to VirtualBox.exe
The new version 6 of VBox does not work with VMUB 1.72![image](https://user-images.githubusercontent.com/1469350/51106304-4a1de900-17e3-11e9-8431-a0ab99d00816.png)