Subject: Re: Xen pygrub boot problems

From: Natanael Copa <[email-masked]>
Date: Mon, 4 May 2020 23:14:59 +0200

On Mon, 4 May 2020 23:54:29 +0300
HL <[email-masked]> wrote:

> Hello!!!
> 
> Can't figure out what is going on
> 
> Alpine linux 3.11
> 
> 5.4.34-0-lts xen
> 
> domU host on  lvm  = /dev/mapper/vg0-test
> 
> created the domU image  ( debian stretch install )
> 

...

> cat /var/log/xen/bootloader.13.log
> Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub/grub.cfg
> Traceback (most recent call last):
>     File "/usr/lib/xen/bin/pygrub", line 931, in <module>
>       raise RuntimeError("Unable to find partition containing kernel")
> RuntimeError: Unable to find partition containing kernel
> 
> ----------------------------------------------------------------------------------
> No problems on alpine 3.10 same config !
> No problems on alpine 3.9 same config!
> Anybody with a hint ?

Hi!

What filesystem do you use?

I think pygrub does not work well with ext4 in 64bit mode.

https://gitlab.alpinelinux.org/alpine/aports/-/issues/6962#note_31210

See also this commit:

https://gitlab.alpinelinux.org/alpine/alpine-conf/-/commit/e244f655f05a60d426235773f496bded4622fc8c

> Regards
> GrHarry!