Created
June 11, 2018 14:23
-
-
Save fortitudepub/c671bd2d73cba6702d9e8bde617598c9 to your computer and use it in GitHub Desktop.
quickly test usb installer using qemu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 0 | |
Find the Bus and Device ID: | |
$ lsusb | |
... | |
Bus 001 Device 008: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive | |
... | |
Step 1 | |
Boot with QEMU: | |
sudo qemu-system-x86_64 -m 512 -enable-kvm -usb -device usb-host,hostbus=1,hostaddr=8 | |
You need to run this with root privilegues, because QEMU needs access to the corresponding files under /dev/bus/usb/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment