fnOS虚拟机安装img镜像文件

假设已经下载了Openwrt的IMG文件:openwrt-23.05.5-x86-64-generic-ext4-combined.img.gz,解压得到img文件。

则需要通过ssh连接飞牛,并执行如下指令:

qemu-img convert -f raw -O qcow2 openwrt-23.05.5-x86-64-generic-ext4-combined.img openwrt.qcow2

然后创建虚拟机,并在存储信息中查的实际文件,如:

/vol1/vm/pool/0aaa8615-1861-43e7-b92c-7ce06855f3bc-tg58

将刚刚得到的qcow2文件重命名为“0aaa8615-1861-43e7-b92c-7ce06855f3bc-tg58”,并通过文件管理左下角的管理员视角,覆盖刚刚查询到的实际文件即可。