Red Hat Bugzilla – Bug 1251558
Can't boot from USB Drive from virt-manager
Last modified: 2015-08-11 18:13:57 EDT
Description of problem:
I just can't boot USB Driver from virt-manager.
Version-Release number of selected component (if applicable):
On a newly created VM I'm push Add hardware - USB Host Device and then choosing my USB flash drive. After that in Boot Options I'm changing boot priority of USB 0204:6025 moving it to first position in a list.
As a result starting VM I have next messages:
Booting from Hard Disk...
Boot failed: not a bootable disk
No bootable device.
Linux x86_64 4.2.0RC5
Ubuntu 15.10 Wily
Works fine for me on stock fedora 22. You sure the USB stick is bootable?
I don't think this is a virt-manager problem, I'd suggest you file a bug with your host distro
I works if I try:
qemu-system-x86_64 -usb /dev/sdc
but it's not working throuth virt-manager. Also it can't boots like this for some reason:
qemu-system-x86_64 -usb /dev/sdc -hda /dev/sdx
Those are all very different things. What virt-manager is doing is telling the VM to boot off the USB hardware.
Your first command is basically 'enable usb support, use /dev/sdc as hda', which in fact is not depending on host USB usage at all, except that /dev/sdc is mounted by your host kernel.
The last command I think maps to -hda /dev/sdx -hdb /dev/sdc
I'm guessing your USB device is not marked as bootable, but the /dev/sdc partition _is_ marked as bootable, which could be throwing things off. Attach the /dev/sdc partition to your VM as a regular disk, I'm guessing that will work
Not really understand what you mean. The thing is that and some other my USB flash drives boot on real hardware without any problem. So how to boot them through virt-manager? /dev/sdc is my mounted USB flash drive in host. I can add them through 'Add hardware' button, from 'USB Host Device" list as:
>0204:6025 Chipsbank Microelectronics Co., Ltd CBM2080 / CBM2090 Flash drive controller
After that it appears in Boot Options list. I'm turning on boot menu and 'USB 0204:6025' device and switching it's position to first.
Trying to boot gives nothing.