VirtualBox – How to Boot from a Flash Drive OS

bootusb-flash-drivevirtualbox

I have two flash drive, one with Slax installed and another for Android x86 Live installed, but they do not boot in my laptop (in my work they boot perfectly).

I can boot from some live CDs/DVDs or its ISO files using VirtualBox, but I cannot do it for live flash drives – I put the flash drives and start a VirtualBox without any virtual HD, but VirtualBox does not recognize them as boot options, as it does for CDs/DVDs.

Any ideas? Any alternatives if VirtualBox does not support it?

Edit1: I'm using Windows (Windows 7) but I would like to know how to do it in Linux (Ubuntu, for example) too.

Best Answer

For Windows, see this article : Boot your USB Drive in VirtualBox.
For Linux, the same approach is described in : How to boot from USB in virtualbox on Ubuntu.

The approach is to attach a physical drive to a virtual machine using the VBoxManage command-line tool that comes bundled with VirtualBox. You can then boot your virtual machine from the attached Physical drive.

Alternatively, and only for Windows, Linux Live USB Creator (formerly uSbuntu) is a free software for Windows that allows you to create a bootable Live USB key with a Linux on it. It offers the option of automatic virtualization using portable VirtualBox to directly run Linux in Windows without any configuration nor installation.