Mender image doesn't boot in quiet mode

Hi,
In order to boot and shutdown mender image in quiet mode I added “quiet” parameter in console_bootargs in grub.cfg file and rebooted system.
But It doesn’t show any effect.
I also tried “splash” parameter to display splash screen but that also not working.

Please find below code of my grub.cfg file,

Start of ---------- 00_mender_grubenv_defines_grub.cfg ----------

mender_rootfsa_part=2
mender_rootfsb_part=3
mender_kernel_root_base=/dev/sda
grub_storage=${root}
echo “showing grub_storage”
if [ “$grub_storage” == “hd0,msdos1” ]; then
mender_grub_storage_device=hd0
elif [ “$grub_storage” == “hd1,msdos1” ]; then
mender_grub_storage_device=hd1
elif [ “$grub_storage” == “hd2,msdos1” ]; then
mender_grub_storage_device=hd2
elif [ “$grub_storage” == “hd3,msdos1” ]; then
mender_grub_storage_device=hd3
elif [ “$grub_storage” == “hd4,msdos1” ]; then
mender_grub_storage_device=hd4
elif [ “$grub_storage” == “hd5,msdos1” ]; then
mender_grub_storage_device=hd5
elif [ “$grub_storage” == “hd6,msdos1” ]; then
mender_grub_storage_device=hd6
elif [ “$grub_storage” == “hd7,msdos1” ]; then
mender_grub_storage_device=hd7
fi
kernel_imagetype=vmlinuz-5.3.0-51-generic
initrd_imagetype=initrd.img-5.3.0-51-generic
kernel_devicetree=kernel.dtb

End of ---------- 00_mender_grubenv_defines_grub.cfg ----------

Start of ---------- 01_console_bootargs_grub.cfg ----------

set console_bootargs="quiet splash console=tty0,115200n8 console=ttyS0,115200n8 console=ttyO0,115200n8 console=ttyAMA0,115200n8"

End of ---------- 01_console_bootargs_grub.cfg ----------

Start of ---------- 05_mender_setup_grub.cfg ----------

See the fw_printenv script for how this works.

function maybe_pause {
# By default we do nothing. debug-pause PACKAGECONFIG replaces this so we
# can pause at strategic places.
echo
}

Load environment.

MENDER_ENV1={prefix}/mender_grubenv1/env MENDER_ENVPREFIX1={prefix}/mender_grubenv1/
MENDER_LOCK1={prefix}/mender_grubenv1/lock MENDER_LOCKSUM1={prefix}/mender_grubenv1/lock.sha256sum
MENDER_ENV2={prefix}/mender_grubenv2/env MENDER_ENVPREFIX2={prefix}/mender_grubenv2/
MENDER_LOCK2={prefix}/mender_grubenv2/lock MENDER_LOCKSUM2={prefix}/mender_grubenv2/lock.sha256sum

function mender_check_and_restore_env {
if ! hashsum --hash sha256 --prefix {MENDER_ENVPREFIX2} --check {MENDER_LOCKSUM2}; then
load_env --skip-sig --file {MENDER_ENV1} bootcount mender_boot_part upgrade_available save_env --file {MENDER_ENV2} bootcount mender_boot_part upgrade_available
editing=0
save_env --file {MENDER_LOCK2} editing if ! hashsum --hash sha256 --prefix {MENDER_ENVPREFIX2} --check {MENDER_LOCKSUM2}; then echo "Environment 2 still corrupt after attempted restore. Halting." halt fi elif ! hashsum --hash sha256 --prefix {MENDER_ENVPREFIX1} --check {MENDER_LOCKSUM1}; then load_env --skip-sig --file {MENDER_ENV2} bootcount mender_boot_part upgrade_available
save_env --file {MENDER_ENV1} bootcount mender_boot_part upgrade_available editing=0 save_env --file {MENDER_LOCK1} editing
if ! hashsum --hash sha256 --prefix {MENDER_ENVPREFIX1} --check {MENDER_LOCKSUM1}; then
echo “Environment 1 still corrupt after attempted restore. Halting.”
halt
fi
fi
}

function mender_save_env {
# Save redundant environment.
editing=1
save_env --file {MENDER_LOCK2} editing save_env --file {MENDER_ENV2} bootcount mender_boot_part upgrade_available
editing=0
save_env --file ${MENDER_LOCK2} editing

editing=1
save_env --file ${MENDER_LOCK1} editing
save_env --file ${MENDER_ENV1} bootcount mender_boot_part upgrade_available
editing=0
save_env --file ${MENDER_LOCK1} editing

}

function mender_check_grubenv_valid {
if [ “{mender_boot_part}" != "{mender_rootfsa_part}” -a “{mender_boot_part}" != "{mender_rootfsb_part}” ]; then
return 1
fi

if [ "${bootcount}" != "0" -a "${bootcount}" != "1" ]; then
    return 1
fi

if [ "${upgrade_available}" != "0" -a "${upgrade_available}" != "1" ]; then
    return 1
fi

return 0

}

mender_check_and_restore_env

Now load environment.

Skipping signatures?? Yes, because these values will change over time, so they

cannot be signed. There is also no checksum facility that will work for

changing values. Instead we check their content for validity.

load_env --skip-sig --file ${MENDER_ENV1} bootcount mender_boot_part upgrade_available

if ! mender_check_grubenv_valid; then
if [ “${check_signatures}” == “enforce” ]; then
echo “Unverified environment and signatures enabled. Halting.”
halt
fi
fi

if [ “{upgrade_available}" = "1" ]; then if [ "{bootcount}” != “0” ]; then
echo “Rolling back…”
if [ “{mender_boot_part}" = "{mender_rootfsa_part}” ]; then
mender_boot_part="{mender_rootfsb_part}" else mender_boot_part="{mender_rootfsa_part}"
fi
upgrade_available=0
bootcount=0
else
echo “Booting new update…”
bootcount=1
fi

mender_save_env

fi

End of ---------- 05_mender_setup_grub.cfg ----------

Start of ---------- 10_bootargs_grub.cfg ----------

set bootargs="{bootargs} {console_bootargs}"

End of ---------- 10_bootargs_grub.cfg ----------

Start of ---------- 90_mender_boot_grub.cfg ----------

if test -e ({mender_grub_storage_device},gpt{mender_boot_part})/; then
ptable_type=gpt
else
ptable_type=msdos
fi

if test -n "{kernel_devicetree}"; then if test -e ({mender_grub_storage_device},{ptable_type}{mender_boot_part})/boot/{kernel_devicetree}; then devicetree ({mender_grub_storage_device},{ptable_type}{mender_boot_part})/boot/${kernel_devicetree}
fi
fi

if [ test -n “{mender_rootfsa_uuid}" -a test -n "{mender_rootfsb_uuid}” ]; then
if [ “{mender_boot_part}" = "{mender_rootfsa_part}” ]; then
mender_root=“PARTUUID={mender_rootfsa_uuid}" elif [ "{mender_boot_part}” = “{mender_rootfsb_part}" ]; then mender_root="PARTUUID={mender_rootfsb_uuid}”
fi
else
mender_root="{mender_kernel_root_base}{mender_boot_part}"
fi

if linux ({mender_grub_storage_device},{ptable_type}{mender_boot_part})/boot/{kernel_imagetype} root={mender_root} {bootargs}; then
if test -e ({mender_grub_storage_device},{ptable_type}{mender_boot_part})/boot/{initrd_imagetype}; then
initrd ({mender_grub_storage_device},{ptable_type}{mender_boot_part})/boot/{initrd_imagetype}
fi
maybe_pause “Pausing before booting.”
boot
fi
maybe_pause “Pausing after failed boot.”

End of ---------- 90_mender_boot_grub.cfg ----------

Start of ---------- 95_mender_try_to_recover_grub.cfg ----------

if [ “${upgrade_available}” == “1” ]; then
reboot
fi

End of ---------- 95_mender_try_to_recover_grub.cfg ----------

@drewmoseley any idea why it is not working for me ?