/etc/grub.d
NameSizeModeActions
00_header106270755editdlrm
01_track_initrdless_boot_fallback6380755editdlrm
05_debian_theme62600755editdlrm
10_linux186830755editdlrm
10_linux_zfs430310755editdlrm
20_linux_xen143870755editdlrm
30_os-prober133690755editdlrm
30_uefi-firmware13720755editdlrm
35_fwupd7000755editdlrm
40_custom2140755editdlrm
41_custom2150755editdlrm
README4830644editdlrm
Edit: /etc/grub.d/01_track_initrdless_boot_fallback (638B)
#! /bin/sh # # CLOUD_IMG: This file was created/modified by the Cloud Image build process # This will detect if we attempt to boot with an initramfs and fail. # In the case of a failure, initrdless_boot_fallback_triggered is set to # a non-zero value in the grubenv. This value can be checked after boot # by looking in /boot/grub/grubenv or by using the grub-editenv list command. set -e cat <<"EOF" if [ -n "${have_grubenv}" ]; then if [ -n "${initrdfail}" ]; then set initrdless_boot_fallback_triggered="${initrdfail}" else unset initrdless_boot_fallback_triggered fi save_env initrdless_boot_fallback_triggered fi EOF