[libvirt-users] p2v a single bootable partition

Martin Kletzander mkletzan at redhat.com
Wed Mar 30 11:23:14 UTC 2016


On Wed, Mar 30, 2016 at 11:06:57AM +0200, arnaud.bougeard at univ-rennes1.fr wrote:
>Hello
>
>How to convert a bootable linux partition to virtual disk ?
>I tried :
>
>|dd if=/dev/sda1 of=/mnt/mydisk3/sda1.raw|
>
>|||qemu-img convert -f raw -O qcow2 sda1.raw sda1.qcow2|
>
>|but the disk ||sda1.qcow2|is not bootable
>
>
>The second partition contains data and is very large, so I want to check
>the process with the system partition
>

https://rwmj.wordpress.com/2010/09/30/technique-for-synthesizing-a-partition-table-on-a-naked-filesystem/

>Arnaud
>
>

>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20160330/964f2db4/attachment.sig>


More information about the libvirt-users mailing list