简体   繁体   English

使用 qemu-img 将 qcow2 转换为 vdi 时出错

[英]Error by converting qcow2 to vdi with qemu-img

I'm trying to convert.qcow2 to.vdi on my Ubuntu VM with a command qemu-img convert -f qcow2 qcow2_file_name.qcow2 -O vdi vdi_file_name.vdi我正在尝试使用命令qemu-img convert -f qcow2 qcow2_file_name.qcow2 -O vdi vdi_file_name.vdi

But I'm getting the following message: qemu-img: Could not open 'qcow2_file_name.qcow2': No such file or directory但我收到以下消息: qemu-img: Could not open 'qcow2_file_name.qcow2': No such file or directory

The file is in a Downloads folder, and I tried to move it to Home, but it didn't help.该文件位于下载文件夹中,我试图将其移至主页,但没有帮助。 Any ideas what could be wrong here?任何想法这里可能有什么问题?

The command must be like this: qemu-img convert -f qcow2 -O vdi file.qcow2 file.vdi命令必须是这样的: qemu-img convert -f qcow2 -O vdi file.qcow2 file.vdi

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM