re-use qemu qcow2 image for qubes-os

338 views
Skip to first unread message

peter.p...@gmail.com

unread,
Sep 6, 2017, 7:17:41 AM9/6/17
to qubes-users
I try to use an existing win7 qemu qcow2 image with qubes os R3.2

The image does not boot. I tried various xml settings for the drive image inspired by

https://wiki.libvirt.org/page/After_import_a_guest_from_an_existing_disk_image_using_virt-install,_the_guest_starting_stalls_with_%22No_boot_device%22

but no success. Converting to raw is not an option.

What can I do?
Thanks,
Peter.

Drew White

unread,
Sep 7, 2017, 10:36:56 PM9/7/17
to qubes-users
Have you tried the Startup Wizard Fix under Windows 7 boot?

peter.p...@gmail.com

unread,
Sep 8, 2017, 2:22:29 AM9/8/17
to qubes-users

If this is using 'cirrus' instead of 'xen' as video device in the config file, then yes.
Or is this wizard something else that i am not aware of?

peter.p...@gmail.com

unread,
Sep 8, 2017, 12:30:53 PM9/8/17
to qubes-users


I tried playing around with the disk definition of root.img (which is my qcow2 image) in the config file:

<driver name='phy' type='qcow2'/>
gives "libxenlight does not support disk format qcow2 with disk driver phy"

<driver name='qdisk' type='qcow2'/>
gives "libxenlight does not support disk driver qdisk"

<driver name='qemu' type='qcow2'/>
gives "libxenlight failed to create new domain 'win7'"
also changing the target dev from xvda to hda like in
https://github.com/libvirt/libvirt-php/blob/master/tests/data/example-qcow2-disk.xml
does not help.

a plain
<driver name='qemu'/>
boots my win7 installation iso, but the 'repair' function does not detect the root.img drive...


Is there any way to use qcow2 images in qubes-os?

Drew White

unread,
Sep 12, 2017, 12:45:20 AM9/12/17
to qubes-users
I mean LITERALLY the Windows Startup Wizard that comes up when it tried to boot it.

Drew White

unread,
Sep 12, 2017, 12:51:26 AM9/12/17
to qubes-users
Try converting the disks to just be img files, not qcow.

This is my config file for Windows that works on all my PCs.

If they don't work when you convert them, then there is something else wrong.

Just as a test, that is all.

If they do work when converted, then that will tell me everything I need to know to resolve the issue.

win7-guest.conf
Reply all
Reply to author
Forward
0 new messages