# rpm -q kernel virt-install osinfo-db
kernel-6.12.0-55.12.1.el10_0.x86_64
kernel-6.12.0-55.18.1.el10_0.x86_64
virt-install-5.0.0-1.el10.noarch
osinfo-db-20250124-1.el10.rocky.20250604.noarch
virt-install \
--name ${VM} \
:
--os-variant rocky10 \
--location /var/lib/libvirt/images/isos/Rocky-10.0-x86_64-dvd1.iso \
--extra-args "inst.ks=file:/el.ks noipv6 hostname=${VM}"
:
(Using location here because I need those --extra-args)
Sadly, the result looks like
Starting install...
ERROR Couldn't find kernel for install tree.
Domain installation does not appear to have been successful.
Some googling later, I learned it’s a nifty change the Fed made around fc37/fc38 – ditching isolinux for a shiny grub setup means no more isolinux dir. The (formerly redundant) kernel and initrd in images/pxeboot are the new cheddar.
Here’s the fix if your osinfo-db
looks like mine:
sed -i 's:isolinux:images/pxeboot:' /usr/share/osinfo/os/rockylinux.org/rocky-10.xml
At least, I think so. Mine’s still borked, but it’s borked further along. Let me know what you find out. GLuck.