[CentOS] failed: Could not start storage pool: cannot open directory: ... No such file or directory

Sat Jan 14 14:14:24 UTC 2023
Anand Buddhdev <anandb at ripe.net>

On 14/01/2023 13:38, Kaushal Shriyan wrote:

Kaushal,

You keep asking questions here, but I haven't seen you thank anyone so 
far. All the people trying to help you here do this in their own time, 
and don't get paid for it. You would do well to show some gratitude.

Coming to your issue. You want to work with Linux, but you're not even 
prepared to do some basic reading of the manual pages, as suggested by 
several people.

The problem you have described below is caused by your misusage of the 
virt-install command. You could have easily come across the solution by 
doing a simple Google search of the error message. There are several 
places where this question has been answered.

There's nothing wrong in asking for help. But if you expect others to do 
your work for you, then you're asking for too much. If you're lucky, 
some kind souls might even go that far and spoon-feed you the answer, 
but I certainly would not.

-- 
Anand

> Hi,
> 
> I am encountering an ERROR: Couldn't find hvm kernel for Ubuntu tree.
> 
> # cat installubuntu.sh
> virt-install \
> --name fiservreactitestui \
> --virt-type kvm \
> --hvm \
> --ram 8096 \
> --disk path=/linuxkvmguestosdisk/fiservreactitestui.img,size=20 \
> --vcpus 2 \
> --os-variant ubuntu20.04 \
> --network bridge=br0 \
> --graphics none \
> --console pty,target_type=serial \
> --location /var/lib/libvirt/isos/ubuntu-20.04.4-live-server-amd64.iso \
> --extra-args 'console=ttyS0,115200n8 serial'
> [root at dac-inhousebaseserver1 ~]# ./installubuntu.sh
> 
> ** (process:23128): WARNING **: 18:06:57.479: Entity
> http://linux-kvm.org/qemu-kvm/1.2.0 should be in file platform/
> linux-kvm.org/qemu-kvm-1.2.0.xml not tests/data/positive/platform/
> linux-kvm.org/qemu-kvm-1.2.0.xml
> 
> ** (process:23128): WARNING **: 18:06:57.507: Entity
> http://x.org/x11-keyboard should be in file datamap/x.org/x11-keyboard.xml
> not tests/data/positive/datamap/x.org/x11-keyboard.xml
> 
> ** (process:23128): WARNING **: 18:06:57.530: Entity
> http://fedoraproject.org/fedora/rawhide should be in file os/
> fedoraproject.org/fedora-rawhide.xml not tests/data/negative/os/
> fedoraproject.org/fedora-rawhide.xml
> 
> ** (process:23128): WARNING **: 18:06:57.546: Entity
> http://ibm.com/ps2/keyboard should be in file device/
> ibm.com/ps2-keyboard.xml not tests/data/positive/device/
> ibm.com/ps2-keyboard.xml
> 
> ** (process:23128): WARNING **: 18:06:57.561: Entity
> http://fedoraproject.org/silverblue/kickstart/desktop should be in file
> install-script/fedoraproject.org/silverblue-kickstart-desktop.xml not
> tests/data/positive/install-script/
> fedoraproject.org/silverblue-kickstart-desktop.xml
> 
> ** (process:23128): WARNING **: 18:06:57.598: Entity
> http://fedoraproject.org/fedora/rawhide should be in file os/
> fedoraproject.org/fedora-rawhide.xml not tests/data/positive/os/
> fedoraproject.org/fedora-rawhide.xml
> 
> Starting install...
> Retrieving file .treeinfo...
> 
>                                |    0 B  00:00:00
> Retrieving file content...
> 
>                                |    0 B  00:00:00
> Retrieving file info...
> 
>                               |   68 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 fiservreactitestui
> otherwise, please restart your installation.
> #
> 
> Any clue and I look forward to hearing from you. Thanks in advance.
> 
> Best Regards,
> 
> Kaushal
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos