Boot VirtualBox from USB Flash Drive (Win 8.1)

  1. Download and Install VirtualBox (Install to the default path)
  2. Click the start button Type “diskmgmt.msc” and open the program.
    Find and note your disk number.
  3. Open Windows Powershell as an admin
  4. Change your directory to the default Vbox directory
    1. cd "c:Program FilesOracleVirtualbox"
  5. 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#
  6. Start VirtualBox as an admin and create a New Virtual Machine
  7. When prompted for a Virtual Hard Disk, tick use existing hard disk and select the disk we created in step 5: usb.vmdk 
  8. 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.



Leave a Reply

Your email address will not be published. Required fields are marked *