[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display message during kernel & initrd loading?
From: |
Felix Miata |
Subject: |
Re: display message during kernel & initrd loading? |
Date: |
Thu, 2 Jan 2025 18:38:37 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.19 |
From: Andrei Borzenkov
Date: Thu, 2 Jan 2025 21:00:14 +0300
Felix Miata wrote:
With legacy Grub, messages appeared onscreen to indicate what was happening
after making a selection from its menu, first for loading the kernel, then
for loading the initrd.
[code]
title openSUSE on HD0,12
root (hd0,12)
pause Press any key to load kernel
kernel /boot/vmlinuz showopts root=LABEL=mylabel noresume
consoleblank=0
pause post-kernel, pre-initrd, Press any key to load initrd
initrd /boot/initrd
pause post-initrd, Press any key to finish booting
[/code]
In legacy Grub, above is valid. Pausing between the two operations helps one
estimate loading times of today's relative giant kernels and initrds that
take can considerable time to load on older hardware. I'm having no luck
finding an equivalent for Grub2, or to even just to display some message
to indicate they are loading without any pausing, instead of just a black
screen from having made a selection until kernel messages begin to appear.
echo Press RETURN to continue
read
Nice! Thanks! :)
The reason instigating my interest in this area was loading delays, begun
nearly 8
years ago, and described here:
<https://www.linuxquestions.org/questions/linux-general-1/grub-legacy-delay-of-more-than-2-minutes-loading-initrd-from-ext4-filesystem-4175599620/>
--
Evolution as taught in public schools is, like religion,
based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata