我的服务器环境是centos7.3,我想在上面安装kvm Ubuntu 16.04。我的安装命令如下:
virt-install --name demo01 --ram 4096 \
--disk path=/var/lib/libvirt/images/demo01.img,size=90 \
--vcpus 2 --os-type linux --os-variant ubuntunatty \
--network bridge=br0 --graphics none --console pty,target_type=serial \
--location /workspace/ubuntu-16-server.iso \
--extra-args 'console=ttyS0,115200n8 serial' --host-device 04:00.0 \
--features kvm_hidden=on --machine q35 \
然后发生了一个错误:
ERROR Couldn't find hvm kernel for Ubuntu tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start demo01
otherwise, please restart your installation.
1条答案
按热度按时间zte4gxcn1#
针对Ubuntu 20.04 Server的测试解决方案,包含我为autoinstall提供的额外参数:
从
man virt-install
开始: