zbm-dev/zfsbootmenu

autosize feature is broken in master

ofthesun9 opened this issue · 2 comments

ZFSBootMenu build source

Container build, dracut

ZFSBootMenu version

f4da4fa

Boot environment distribution

ubuntu

Problem description

I noticed that autosize feature was not working with zfsbootmenu generated from current master (local build)

Steps to reproduce

Using current master and following the documentation to create my local builder container :
https://github.com/zbm-dev/zfsbootmenu/blob/v2.2.2/releng/docker/README.md (using buildah)
and then using zbm-builder.sh script, I will get initramfs-bootmenu.img and vmlinuz-bootmenu
If I boot (systemd-boot) using these files, the font is not adapted to my screen

I will provide a PR with a fix which is working on my setup.

Nota: there is also a message displayed during zfsbootmenu start-up:

setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version

The setfont log line that you've noted isn't coming from the autosize hook, but rather from the i18n Dracut module. The autosize hook captures and discards stdout and stderr.

What specific kernel version are you booting in the ZFSBootMenu initramfs?

From zfsbootmenu prompt, uname -ar returns 6.1.63_1