ok. I tried to fix the broken installation and now the error is changed :

Traceback (most recent call last):
  File "/usr/lib/xen-4.17/bin/pygrub", line 884, in <module>
    raise RuntimeError("Unable to find partition containing kernel")
RuntimeError: Unable to find partition containing kernel

On Wed, Nov 29, 2023 at 2:53 PM Michal Prívozník <mprivozn@redhat.com> wrote:
On 11/29/23 14:04, marietto2008@gmail.com wrote:
> The reason for that error maybe written inside this log messages :
>
> libxl: libxl_event.c:855:libxl__ev_xswatch_deregister: remove watch for path @releaseDomain: Descrittore di file errato
>
> libxl: libxl_event.c:855:libxl__ev_xswatch_deregister: remove watch for path @releaseDomain: Bad file descriptor
>
> libxl: libxl_event.c:855:libxl__ev_xswatch_deregister: remove watch for path @releaseDomain: Bad file descriptor
>
> libxl: libxl_arm.c:1538:libxl__arch_domain_create_info_setdefault: Converting PV guest to PVH.
>
> libxl: libxl_arm.c:1539:libxl__arch_domain_create_info_setdefault: Arm guest are now PVH.
>
> libxl: libxl_arm.c:1540:libxl__arch_domain_create_info_setdefault: Please fix your configuration file/toolstack.
>
> libxl: libxl_bootloader.c:648:bootloader_finished: Domain 1:bootloader failed - consult logfile /var/log
> /xen/bootloader.1.log
>

This tells you to look into the log file. Did you? What is there?

<snip/>
>
> Traceback (most recent call last):
>  File "/usr/lib/xen-4.17/bin/pygrub", line 27, in <module>
>    import xenfsimage
> ImportError: libxenfsimage.so.4.17: cannot open shared object file: No such file or directory

Is this the contents of that file? If so, then your xen installation is
broken because it did not install the .so.

Michal



--
Mario.