Page 1 of 1

Qemu-img will not recognise file size

Posted: Sun Jan 17, 2021 3:46 pm
by adgwytc
I am trying to install a Windows 7 virtual machine following the instructions and am encountering the following error when using:

/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G

This is what keeps happening:

qemu-img: Invalid Image size specified! You may use k, M, G, T, P or E suffixes for
qemu-img: kilobytes, megabytes, gigabytes, terabytes, petabytes and exabytes.

Does not matter what I type n for the disk size it keeps throwing up that response.

Any one got any ideas why please?

Re: Qemu-img will not recognise file size

Posted: Sun Jan 17, 2021 3:51 pm
by adgwytc
Ignore. Fixed the issue.