Mailinglist Archive: opensuse (4237 mails)

< Previous Next >
BUG in mkinitrd Prevents Silent Bootsplash
  • From: Larry I Smith <larry.i.smith@xxxxxxxxxxx>
  • Date: Thu, 12 Aug 2004 15:51:31 -0500
  • Message-id: <411BD853.2000500@xxxxxxxxxxx>
SuSE Pro v9.0.

After YOU updated my machine to kernel v2.4.21-238 the
other day, the SuSE 'silent' bootsplash screen no longer
worked (the one with the 'progress bar').
All attempts to fix it failed. Only "verbose" mode worked.

Evidently '/sbin/mkinitrd' script was updated as part
of a recent YOU upgrade. Perhaps as part of the
v2.4.21-238 upgrade?

The new '/sbin/mkinitrd' script (rev 1.23 on my machine)
has a *BUG* in the RegExp used to extract the "vga=..."
value found in the GRUB 'menu.lst' file and the
LILO 'lilo.conf' file. There is only one set
of parens in the RegExp found at line 292 (inside the
"for vga in..." block), but there should be two.
Here's the 'diff' output (line-wrapped by the e-mailer
of course); I've put carets (^) below the missing close
and open parens that need to be added to make it work
correctly again:

292c292
< -e 's/^.*[ \t]*vga
[ \t]*=[\t]*\([0-9]\+\|0[xX][0-9a-fA-F]\+\).*$/\1/p'` ; do
---
> -e 's/^.*[ \t]*vga
[ \t]*=[\t]*\([0-9]\+\)\|\(0[xX][0-9a-fA-F]\+\).*$/\1/p'` ; do
^^ ^^
As 'root':

1) Make a backup copy of the original '/sbin/mkinitrd' before
making this change (just in case...).

2) Edit '/sbin/mkinitrd' to make the change

3) Execute 'mkinitrd'. It should output a "Bootsplash:..."
message as part of its diagnostics. That tells you
it worked ok.

4) The 'silent' bootsplash will work correctly the next time
the machine is booted.

Regards,
Larry

< Previous Next >