ERROR Couldn't find hvm kernel for Ubuntu tree.

Hi, I am running the below command to spawn Ubuntu 18.04 based Virtual Machine using KVM based technology. #virt-install --version 1.5.0 # virt-install --name=snipeitassetmanagement
--file=/linuxkvmguestosdisk/snipeitassetmanagement.img --file-size=40 --nonsparse --vcpus=2 --ram=8096 --network=bridge:br0 --os-type=linux --os-variant=ubuntu18.04 --graphics none --location=/linuxkvmguestosdisk/var/lib/libvirt/isos/ubuntu-18.04.5-live-server-amd64.iso --extra-args="console=ttyS0"
Starting install... Retrieving file .treeinfo...
| 0 B 00:00:00 Retrieving file content...
| 0 B 00:00:00 Retrieving file info...
| 70 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 snipeitassetmanagement otherwise, please restart your installation.
Any clue and i look forward to hearing from you. Thanks in advance. Best Regards,

On Thu, Jul 29, 2021 at 8:19 PM Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
Hi,
I am running the below command to spawn Ubuntu 18.04 based Virtual Machine using KVM based technology.
#virt-install --version 1.5.0 #
virt-install --name=snipeitassetmanagement
--file=/linuxkvmguestosdisk/snipeitassetmanagement.img --file-size=40 --nonsparse --vcpus=2 --ram=8096 --network=bridge:br0 --os-type=linux --os-variant=ubuntu18.04 --graphics none --location=/linuxkvmguestosdisk/var/lib/libvirt/isos/ubuntu-18.04.5-live-server-amd64.iso --extra-args="console=ttyS0"
Starting install... Retrieving file .treeinfo...
| 0 B 00:00:00 Retrieving file content...
| 0 B 00:00:00 Retrieving file info...
| 70 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 snipeitassetmanagement otherwise, please restart your installation.
Any clue and i look forward to hearing from you. Thanks in advance.
Best Regards,
Hi, #cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) #virt-install --version 1.5.0 #virt-install -n snipeitassetmanagementubuntu --ram 8096 --vcpus 2 --virt-type kvm --os-type linux --os-variant ubuntu18.04 --graphics none --location ' http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' --extra-args "console=tty0 console=ttyS0,115200n8" --disk path=/linuxkvmguestosdisk/snipeitassetmanagementubuntu.img,size=30 I am unable to connect to the guest VM instance. Any clue and i look forward to hearing from you. Thanks in advance. Best Regards, Kaushal

On 8/4/21 5:21 PM, Kaushal Shriyan wrote:
Hi,
#cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) #virt-install --version 1.5.0 #virt-install -n snipeitassetmanagementubuntu --ram 8096 --vcpus 2 --virt-type kvm --os-type linux --os-variant ubuntu18.04 --graphics none --location ' http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' --extra-args "console=tty0 console=ttyS0,115200n8" --disk path=/linuxkvmguestosdisk/snipeitassetmanagementubuntu.img,size=30
I am unable to connect to the guest VM instance. Any clue and i look forward to hearing from you. Thanks in advance.
Hey, what do you mean by 'connect'? Is it connecting to graphical console (e.g. via virt-viewer) or it's serial console or connecting to guest's ssh or something else? Michal

Hi Michal, $virsh console snipeitassetmanagemeubuntu Connected to domain snipeitassetmanagementubuntu Escape character is ^] The screen is frozen. To connect it to the VM guest instance, I need to configure the static private IP for this VM instance. Please suggest. Best Regards, Kaushal On Thu, Aug 5, 2021 at 2:56 PM Michal Prívozník <mprivozn@redhat.com> wrote:
On 8/4/21 5:21 PM, Kaushal Shriyan wrote:
Hi,
#cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) #virt-install --version 1.5.0 #virt-install -n snipeitassetmanagementubuntu --ram 8096 --vcpus 2 --virt-type kvm --os-type linux --os-variant ubuntu18.04 --graphics none --location ' http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' --extra-args "console=tty0 console=ttyS0,115200n8" --disk path=/linuxkvmguestosdisk/snipeitassetmanagementubuntu.img,size=30
I am unable to connect to the guest VM instance. Any clue and i look forward to hearing from you. Thanks in advance.
Hey, what do you mean by 'connect'? Is it connecting to graphical console (e.g. via virt-viewer) or it's serial console or connecting to guest's ssh or something else?
Michal
participants (2)
-
Kaushal Shriyan
-
Michal Prívozník