diskimage-builder/diskimage_builder/elements/bootloader
Julia Kreger 59831c10df Enable the no_timer_check option to be removable
Turns out, some kernels on some versions of hardware, can
fail to boot when the hardware clock timer is not explicitly
checked. Normally, with virtual machines, you want to disable
the timer check, becuase the virutal machine inherently gets time
slices, and checking the timer can create issues booting.

Co-Authored-By: Ella Shulman <eshulman@redhat.com>
Change-Id: I8b9697ba60748bfe1e1e1914f24f207439cda2f1
2024-01-04 12:44:13 -08:00
..
environment.d Enable the no_timer_check option to be removable 2024-01-04 12:44:13 -08:00
finalise.d Enable the no_timer_check option to be removable 2024-01-04 12:44:13 -08:00
README.rst Enable the no_timer_check option to be removable 2024-01-04 12:44:13 -08:00
pkg-map RHEL/Centos 9 does not have package grub2-efi-x64-modules 2021-09-13 09:32:53 +12:00

README.rst

bootloader

Installs grub[2] on boot partition on the system.

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_GRUB_TIMEOUT_STYLE sets the visibility of the grub menu. It defaults to hidden (or countdown as an alias). Set this to menu to display the menu and then wait for the timeout set by DIB_GRUB_TIMEOUT to expire before booting the default entry.
  • 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.
  • DIB_BOOTLOADER_VIRTUAL_TERMINAL sets the virtual terminal be used as a console. It defaults to tty0. When explicitly set to an empty string then no virtual terminal console kernel argument is added.
  • DIB_NO_TIMER_CHECK allows the default kernel argument, no_timer_check to be removed from the kernel command line when the value is set to False.