I'm trying to create a VM using KVM and virt-installer. When i use virt-install I get the following error:
Starting install...
Retrieving file .treeinfo... | 0 B 00:00:00
Retrieving file content... | 0 B 00:00:00
Retrieving file info... | 63 B 00:00:00
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 test
otherwise, please restart your installation.
This is my virt-install command:
virt-install \
--name test \
--ram 16384 \
--location="./images/ubuntu-18.04.4-desktop-amd64.iso" \
--disk path=/var/lib/libvirt/images/kaleb.qcow2,bus=virtio,size=100 \
--vcpus 4 \
--graphics none \
--os-variant=ubuntu18.04 \
--network bridge=test \
-x "console=ttyS0"
I saw in here https://askubuntu.com/questions/1116383/couldnt-find-hvm-kernel-for-ubuntu-tree to switch from location arg to cdrom, but I need the extra-args to forward the console to tty. Any help please?
0 Answers