Qemu-img will not recognise file size?

Moderator: mike

Post Reply
BairStrokes
Posts: 1
Joined: Fri Mar 26, 2021 9:38 am

Qemu-img will not recognise file size?

Post by BairStrokes » Fri Mar 26, 2021 9:39 am

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?

Post Reply