- Download and Install VirtualBox (Install to the default path)
- Click the start button Type “diskmgmt.msc” and open the program.
Find and note your disk number.
- Open Windows Powershell as an admin
- Change your directory to the default Vbox directory
cd "c:Program FilesOracleVirtualbox"
- Type the following to make your USB drive a virtual drive in VBox (replace the # with your USB Disk number from step 2)
VBoxManage internalcommands createrawvmdk -filename "%USERPROFILE%".VirtualBoxusb.vmdk -rawdisk \.PhysicalDrive#
- Start VirtualBox as an admin and create a New Virtual Machine
- When prompted for a Virtual Hard Disk, tick use existing hard disk and select the disk we created in step 5: usb.vmdk
- When you have finished creating the New VM, click Start
If everything went well, VirtualBox should now be running from the Linux version installed on your USB Device.
Thanks to PenDriveLinux for the original write up.