davidbrenner3 / vmub Goto Github PK
View Code? Open in Web Editor NEWA tool for testing boot configurations on USB drives
A tool for testing boot configurations on USB drives
I updated my VB to 6.1 and i am getting this error upon hitting start button.
--startvm is an option for the VirtualBox VM runner (VirtualBoxVM) application, not the VirtualBox Manager.
On older version of VB utility works
When starting with the "Start" button
Both virtualbox and that app opened with admin rights
However, I noticed that when I click start it doesn't use existing VirtualBox instance. It shows that message and opens another instance of vbox
I tried below script from usb:
xcopy /S /E /Q /Y %~d0\\VirtualMachineUSBBoot "%USERPROFILE%\Desktop\VirtualMachineUSBBoot\"
del /s /f /q "%USERPROFILE%\Desktop\VirtualMachineUSBBoot\Virtual Machine USB Boot.cfg"
del /s /f /q "%USERPROFILE%\Desktop\VirtualMachineUSBBoot\Virtual Machine USB Boot.vml"
(
echo Width=575
echo Height=287
echo Left=2892
echo Top=3365
echo #ColumnWidth=24
echo #ColumnShow=1
echo VMNameColumnWidth=148
echo VMNameColumnShow=1
echo DriveColumnWidth=269
echo DriveColumnShow=1
echo SecondDriveColumnWidth=275
echo SecondDriveColumnShow=0
echo WaitTimeToFlush=500
echo LockTheVolumes=1
echo ShowSecondDriveOption=0
echo DefaultVMType=VirtualBox
echo ListOnlyUSBDrives=1
echo AutomaticFont=1
echo FontName=Tahoma
echo FontSize=10
echo FontBold=0
echo FontItalic=0
echo FontUnderline=0
echo FontStrikeOut=0
echo FontColor=-16777208
echo FontScript=1
echo ShowTrayIcon=0
echo EscapeKeyClosesMain=1
echo KeyCombStart=Shift+Ctrl+V
echo CurrLanguageFile=ENGLISH
echo VirtualBoxPath=%USERPROFILE%\Desktop\PortableVbox\Portable-VirtualBox\Portable-VirtualBox.exe
echo MethodToUpdateTheVM=Autodetect
echo useLoadedFromInstalled=0
echo LoadNetPortable=0
echo LoadUSBPortable=0
echo PrecacheVBFiles=0
echo PrestartVBExeFiles=0
echo RemoveDriveAfterClosing=0
echo QemuPath=C:\Program Files\QEMU\qemu-system-x86_64.exe
echo HideConsoleWindow=1
echo EmulationBusType=1
echo QemuDefaultParameters=-name "USB Boot Test" -boot c -m 512 -soundhw sb16
echo LastSelected=0
echo DriveMessageShowed=1
echo StartMessageShowed=0
echo PreviousDPI=96
) >> "%USERPROFILE%\Desktop\VirtualMachineUSBBoot\Virtual Machine USB Boot.cfg"
(
echo [1]
echo Type=VirtualBox
echo ModeToLoadVM=PathToVM
echo ExeParams=
echo VMID=dbddbce1-a764-4ca5-a593-353d9de587b1
echo VMName=Boot
echo PathToVM=%USERPROFILE%\Desktop\PortableVbox\Boot\Boot.vbox
echo FirstDriveName=SanDisk Cruzer Blade, 29.3 GB
echo FirstDriveBusType=USB
echo UseHostIOCache=On
echo EnableCPUVirtualization=On
echo Run=Normal
echo Priority=High
echo.
) >> "%USERPROFILE%\Desktop\VirtualMachineUSBBoot\Virtual Machine USB Boot.vml"
pause
But when opening it was'nt loading config specified in those cfg and vml files
"Could not automatically add the drive(s) to the VirtualBox VM."
I have noticed recently that VMUB cannot dismount the USB drive even if I retry numerous times.
I suspect this is due to a recent Windows update (I have 1803) or perhaps other change because it always used to work without a problem.
Using tools like 'What is locking this folder' just shows 'System' process accessing the drive.
The Windows SysTray 'Safely Remove' icon also will NOT work on the drive and refuses to unmount it.
The 'USB Disk Eject' application does manage to eject the USB drive though when the SysTray 'Safely Remove' does not work.
I have Comodo AV installed and Windows Defender is disabled.
This problem does not always happen, but is does happen very often.
The funny thing is, if I click Ignore on the VMUB pop-up, it often (but not always) then boots to the USB drive via Virtual Box OK BUT I can the quit VB and run VMUB again and this time it does work and VMUB dismounts the drive correctly.
So recently I have been using VMUB - Ignore - quit VB - VMUB .... each time I need to boot.
I was wondering if whatever you do when I select 'Ignore' can always be done first, before you attempt to fully lock/dismount the USB drive? It's curious that 'Ignore' + VB seems to do 'something' which then 'releases' the drive for the next attempt.
I've been using this since virtualbox 5, but needed to upgrade to 7. now i discovered that this wonderful program won't mount drives in virtualbox anymore.
PortableVBOX (https://www.vbox.me/files/Portable-VirtualBox_v5.1.22-Starter_v6.4.10-Win_all.exe)
Location: C:\Users\T\Desktop\Vbox\Portable-VirtualBox
Preferences MachineFolder: C:\Users\T\Desktop\Vbox
VMUB
Location:
Tried Both
ON Easy2boot Drive: F:\Vmub
As well as Desktop
Options: EXE Path: C:\Users\T\Desktop\Vbox\Portable-VirtualBox\Portable-VirtualBox.exe
VM Path: C:\Users\T\Desktop\Vbox\Boot\Boot.vbox
Above are my configurations:
But booting isnt happening.
Same config work when i use installed Vbox
But notwith Portable Vbox
Possible reason: unable to find a storage controller in the VirtualBox VM, please add one and try again. You can do that by starting the VirtualBox Manager, editing the VM’s storage options and adding a storage controller.
Are you sure you want to continue (not recommended)…?
The options provided are “Abort” and “Retry.”
I am getting the following error:
Possible reason: "MediaRegistry" section not found in the vbox file.
I am using VMUB 1.7x64 and VirtualBox 5.2.8
Thanks!
Hi,
I am reporting an issue happened two time using different USB key, this make me sure there is something wrong somewhere.
Details:
My Host: Windows 10 Enterprice using VirtualBox 5.2.16
My USB key have 2 partitions: EFI + Bitlocker Password protected Disk with Windows 10
My USB Key work fine, no issue booting directly from PC, but as you can image using as VirtualMachine is much better.
Ho to reproduce:
After successfuly configure with Virtual Machine USB Boot I run my VM booting from USB, type Bitlocker passord and then no issue.
Closing my VM I found the following problem: second partition is not anymore usable, reports "The disk structure is corrupted and unreadable"
As I mention at beginning this issue happened two times , the firts with EFI + Bitlocker Password protected Disk with Windows 8
Please let me know
Hi David,
Greetings!
I am getting the below mentioned error. Please Advice!
I tried using in C drive: USB1.zip
I tried using in E drive(Pen drive): USB2-linking.zip
Thanks & Regards,
Tajamul Sheeraz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.