[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
The image apfs2 here is created with "-S 0"and the .bin is a working one generated on a ubuntu machine. Strange thing is that this say they are identical: $ time qemu-img compare -f qcow2 -F raw coreos_production_openstack_image.img.org coreos_production_openstack_image.bin.apfs Images are iden

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
Adding "-S 0" on the APFS convert only makes the file 8.5Gb but its still "bad". -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1738840 Title: qemu-img convert qcow2 to raw fails on OS X Status in

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
I tried to make a quick grep of the start of the disk in the "bad" raw image and it does not exist anywhere so there is more ot it then just a offset issue. rg -M 20 -a --encoding=ascii '\xeb\x63\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00' coreos_production_openstack_image.bin.apfs or rg -M 20 -a -

[Qemu-devel] [Bug 1738840] Re: qemu-img convert qcow2 to raw fails on OS X

2017-12-19 Thread Robert Marklund
I gave it a try here: http://termbin.com/ufv4 Its only the first 4096 bytes. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1738840 Title: qemu-img convert qcow2 to raw fails on OS X Status in QEM

[Qemu-devel] [Bug 1738840] [NEW] qemu-img convert qcow2 to raw fails on OS X

2017-12-18 Thread Robert Marklund
Public bug reported: I try to convert a image from qcow2 to raw and the result is a not bootable image. I dont know if it is a bug in qemu-img convert or with the image it self. See this error report for better readability: https://github.com/coreos/bugs/issues/1121#issuecomment-351968518 As a