8f12d9530e
The rhel8.2 .qcow2 images have moved from a single xfs partition into an EFI style layout with separate /boot/efi partition. This means the root partition has /boot/grub2/grubenv as a symlink to ../efi/EFI/redhat/grubenv, which is dangling when we are running the bootloader element as /boot/efi is blank. grub-install tries to call rename() in the process of re-writing this file, which fails and bails out dib. Remove this symlink if it exists Change-Id: I5591144a3617dbae148b0c5d2a6a404942ffcd4e Parital-Bug: #1893029 Redhat-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1871669 |
||
---|---|---|
.. | ||
cleanup.d | ||
environment.d | ||
finalise.d | ||
pkg-map | ||
README.rst |
========== bootloader ========== Installs ``grub[2]`` on boot partition on the system. In case GRUB2 is not available in the system, a fallback to Extlinux will happen. It's also possible to enforce the use of Extlinux by exporting a ``DIB_EXTLINUX`` variable to the environment. Arguments ========= * ``DIB_GRUB_TIMEOUT`` sets the ``grub`` menu timeout. It defaults to 5 seconds. Set this to 0 (no timeout) for fast boot times. * ``DIB_BOOTLOADER_DEFAULT_CMDLINE`` sets parameters that are appended to the ``GRUB_CMDLINE_LINUX_DEFAULT`` values in ``grub.cfg`` configuration. It defaults to ``nofb nomodeset gfxpayload=text``. * ``DIB_BOOTLOADER_SERIAL_CONSOLE`` sets the serial device to be used as a console. It defaults to ``hvc0`` for PowerPC, ``ttyAMA0,115200`` for ARM64, otherwise ``ttyS0,115200``.