# Libvirt virt-install rocky10 gives us "Couldn't find kernel for install tree"

**URL:** https://forums.rockylinux.org/t/libvirt-virt-install-rocky10-gives-us-couldnt-find-kernel-for-install-tree/18982
**Category:** Rocky Linux Help & Support
**Tags:** rocky-linux-10
**Created:** [June 30, 2025, 7:50am UTC](https://forums.rockylinux.org/t/libvirt-virt-install-rocky10-gives-us-couldnt-find-kernel-for-install-tree/18982 "2025-06-30T07:50:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bishopolis](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@bishopolis](https://forums.rockylinux.org/u/bishopolis)
#### Post date: [June 30, 2025, 7:50am UTC](https://forums.rockylinux.org/t/libvirt-virt-install-rocky10-gives-us-couldnt-find-kernel-for-install-tree/18982/1 "2025-06-30T07:50:14Z")

</div>

```auto
# 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

```auto
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:

```auto
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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)
#### Post date: [August 29, 2025, 7:50am UTC](https://forums.rockylinux.org/t/libvirt-virt-install-rocky10-gives-us-couldnt-find-kernel-for-install-tree/18982/2 "2025-08-29T07:50:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
