Video thumbnail for How to Boot a USB Flash Drive in VirtualBox

How to Boot a USB Flash Drive in VirtualBox

Aug 28, 2026
VirtualBox can't directly boot a physical USB drive from its boot menu, but you can get around this with a raw VMDK file that maps to the drive. This lets you test a bootable USB without restarting your computer. Step-by-step commands for Windows, macOS and Linux: https://pendrivelinux.com/boot-a-usb-flash-drive-in-virtualbox/ How it works: 1. Identify your USB drive's disk number or device path 2. Run a terminal command to create a raw VMDK that points to that drive 3. Attach the VMDK to your virtual machine and start it Check the disk number carefully: the wrong one gives the virtual machine raw access to a different drive. YUMI Py users can also test drives with its built-in QEMU or VirtualBox USB boot support. #VirtualBox #USBBoot #VirtualMachine

View Video Transcript
Software Utilities Hobbies & Leisure