Skip to content

Adapt to different BLS configurations

Both in kiwi case and in Oz case we have

GRUB_ENABLE_BLSCFG=true

This means the actual files that matter for the root filesystem are the ones in /boot/loader/entries/*.conf

It seems what ever kiwi does in the UUID case it does not populate root= in the /etc/default/grub

We end up with:

GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0 dis_ucode_ldr rd.auto crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M net.ifnames=0"

instead of

GRUB_CMDLINE_LINUX="console=ttyS0,115200 console=tty0 root=UUID=e43e7e66-9c5e-45e7-a366-9ab8bcc9e04c rd.auto net.ifnames=0 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M"

Again not too worried since /proc/cmdline is correct but its definitely a change of note in the kiwi images.

Note this only affects EL8,9. On EL10 we chose LABEL and not UUID and in that case /etc/default/grub is populated with root= as well.

Don't really understand but:

  • /boot/loader are the ones that matter.
  • /proc/cmdline

is correct.

Basically how kiwi and the old system are setting up grub is different.

Merge request reports

Loading