Ubuntu的qcow2图像为本地使用

我正在使用kvm,我想在其上运行ubuntu服务器。 我的目标是运行db2数据库实例进行开发。

有没有准备在网上使用ubuntu qcow2图像用于这样的目的? 或者我应该从活CD安装它?


我发现这个指令UEC /图像 ,但在推出时,我得到:

$ kvm -fda ${floppy} -drive if=virtio,file=./disk.img -boot a ... Nothing to boot: No such file or directory (http://ipxe.org/...) No more network devices No bootable device. 

解:

我没有find预装的Ubuntu的虚拟机镜像在线,所以解决scheme是由你自己安装。

你当然不应该从软盘安装它。 尝试这样的事情:

 kvm -enable-kvm \ -drive file=./disk.img,index=0,media=disk,if=virtio \ -drive file=./UBUNTU.iso,index=1,media=cdrom \ -boot cd ...