The VM failed to boot from USB

Discussions related to using VirtualBox on Linux hosts.
Post Reply
a_subscriber
Posts: 18
Joined: 26. Jul 2021, 15:33

The VM failed to boot from USB

Post by a_subscriber »

Given:
Linux Mint 21.2 - host machine
Virtual Box 7.0 + Extenstion Pack
Bootable USB drive with Windows installation. This usb drive was formated on Windows machine.

I successfully mount USB on Linux Machine.
The list of files in bootable USB is smt like this:
\boot\
\efi\
\sources\
\support\
\System Volume Information
autorun.inf
bootmgr
bootmgr.efi
setup.exe


Size of all folders and files in this usb drive is about 10 GB.
I need on Linux host machine to make Windows Virtual machine from this USB drive.

Here VB's settings. On VM I enable USB

But when I try to run VM then raise error:
Attachments
usb.png
usb.png (71.68 KiB) Viewed 5360 times
error.png
error.png (50.62 KiB) Viewed 5360 times
a_subscriber
Posts: 18
Joined: 26. Jul 2021, 15:33

Re: The VM failed to boot from USB

Post by a_subscriber »

I was found solution:

Make sure to enable EFI under the System tab in the VM's config.
Attachments
vb_vm_system_settings.png
vb_vm_system_settings.png (89.8 KiB) Viewed 5347 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: The VM failed to boot from USB

Post by scottgus1 »

Yes, EFI can boot from a USB drive through a USB Filter. Legacy BIOS cannot boot from USB directly, though there is a trick using Raw Disk Access that can get around this limit in Legacy BIOS.
Post Reply