On Mon, Sep 3, 2012 at 10:41 AM, franxico <893...@bugs.launchpad.net> wrote: > Hi, > > I'm having the same problem. I'm using qemu-img 1.0, running from a > Ubuntu Server 12.04 x64 on a SW RAID, ext4. > > The .VHD has 29GB and was made using disk2vhd. > > Here is the command and the results: > sudo kvm-img convert -f vpc -O raw image.VHD image.img > [sudo] password for sysop: > kvm-img: Could not open 'image.VHD': File too large > kvm-img: Could not open 'image.VHD' > > Same error doing a simple qemu-img info image.vhd
Please post the output of the following commands: $ hexdump -C -n 512 image.VHD $ hexdump -C -n 512 -s $(($(ls -l image.VHD | awk '{ print $5 }') - 512)) image.VHD This will show the file header/footer, which contains fields that are validated when opening the file. Thanks, Stefan