Re: How to convert a physical drive (running Vista) as VM to be run on KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thomas,


Thanks for your advice.


Quoting Thomas Beinicke <thomas.beinicke@xxxxxxxxxx>:

- snip -

When you "dd" off a device it will always be raw format, kvm will recognize it as raw even though the extension is qcow2. If you really want a qcow container
you have to convert it with "qemu-img".


I made following test before;

$ sudo qemu-img convert VM/VMWIN/vm07_vista.qcow2 -O raw /dev/sdb
qemu-img: Error while formatting '/dev/sdb'

I don't understand why it needs to format the hard drive? I need to keep this hard drive including its OS without touched. Please help. TIA


Will /etc/libvirt/qemu/vm07_vista.xml be created automatically running
above command?

For hard drives you should use something like this:
-drive file=hda.qcow2,boot=on

Sorry I don't follow.  Please explain in more detail.

Other advice noted with thanks.


B.R.
Stephen L

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux