Qemu-img will not recognise file size

Moderator: mike

Post Reply
adgwytc
Posts: 6
Joined: Tue Jan 14, 2020 1:32 pm

Qemu-img will not recognise file size

Post by adgwytc » Sun Jan 17, 2021 3:46 pm

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?

adgwytc
Posts: 6
Joined: Tue Jan 14, 2020 1:32 pm

Re: Qemu-img will not recognise file size

Post by adgwytc » Sun Jan 17, 2021 3:51 pm

Ignore. Fixed the issue.

Post Reply