Boot screen: Quiet or not?

John Richard Moser nigelenki at comcast.net
Sun Oct 7 15:00:58 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Liam Proven wrote:
> On 06/10/2007, John Richard Moser <nigelenki at comcast.net> wrote:
> 
>> That's an interesting way of doing it.
> 
> There speaks someone who came into Linux with Ubuntu, at a guess?
> 

Redhat 5.2, Mandrake 7.2, then 8.0, Debian Potato, Slackware 7.2, Debian
again, SuSE, Gentoo, then Ubuntu.

> Long before Ubuntu had been thought of, SuSE was doing this. A
> graphical loading screen with a logo and so on, just like Ubuntu later
> re-implemented, but with the option to see the bootup messages without
> changing vconsole or anything else.
> 
> The only argument I can see /against/ it is that ISTM that the Linux
> kernel boots much faster when it's in "quiet" mode, which is to say,
> not displaying console debug output.
> 
>>  I still prefer the non-quiet
>> messages ("Preparing restricted drivers" "Starting cups printing system"
>> etc) during the boot process;
> 
> That would do if it was all I could get, at least as an option. I'd

In /etc/init.d/rc there's a line that reacts to 'quiet'.  You could make
it react to 'splashquiet' or just a vanilla configuration setting in
/etc/defaults/rcS via the given patch:

<<EOF
- --- rc.old      2007-10-07 10:52:07.000000000 -0400
+++ rc  2007-10-07 10:58:15.000000000 -0400
@@ -149,14 +149,19 @@ trap on_exit EXIT # Enable emergency han
 # Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
 trap ":" INT QUIT TSTP

+. /etc/default/rcS
+export VERBOSE
+
 # Should we also output to the console?
 # /proc won't be mounted if we don't have an initramfs, but then we're
 # dealing with custom systems so it's their own fault that they'll get
 # output from rcS ;)
- -if grep -w -q quiet /proc/cmdline 2>/dev/null; then
- -    QUIET=yes
- -else
- -    QUIET=no
+if [ -z "$QUIET" -o "$QUIET" = "boot" ]; then
+    if grep -w -q quiet /proc/cmdline 2>/dev/null; then
+       QUIET=yes
+    else
+       QUIET=no
+    fi
 fi
 export QUIET

@@ -192,9 +197,6 @@ then
        fi
 fi

- -. /etc/default/rcS
- -export VERBOSE
- -
 # Is there an rc directory for this new runlevel?
 if [ -d /etc/rc$runlevel.d ]
 then
EOF

> rather that than just a progress bar, and I /hate/ the modern pretend
> "progress bars" which just show an animated bar going back and forth.
> This tells you nothing about how far it's got, just that it's doing
> something!
> 

- --
Bring back the Firefox plushy!
http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good
https://bugzilla.mozilla.org/show_bug.cgi?id=322367
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRwj0qQs1xW0HCTEFAQKHkg/+N4tSTFoTclELcu/Rd54tvZj0oEC4UtL6
V4Zd+6P5OIWRvFO+hr0f5kHBNlrSiuohSnPSTH/kR60bENY5O7lbZrabjxv9046R
Hix3bBKAJ8Q3vNt9455YBDQAhOoe1Df07+bagNLqD47uVac77ymj9Mq7+w5gUdVq
D4nNS/Yb2kY1l1hH40x8WJOrOYQsoCR9Sbl1hqC1WHoFsrgVd3SPJ2G+BFhufy0V
qfw0st1dnYrBDEMpa3vqscsbmCUNpINZ15OkbDeTAJnx532wVfICMrXSECbpXeMB
rg9iwDhjnw7uU9KXGvsKoWj0VsrBQOUSKL83Xvf7T9fYfu1brS2hZwe8RlH4q9EN
XPDn0TuFnbkHt8Ai4XFM9rrVyoZgRoDfZa+AYO/h6Yvh6mGpyuSdRTiUMNKFmOzb
ERiD0760hIuYn90JE7CkhWSHmKhbsvJZCInMczFtZpHD2lwZ7pauv7ENHLm4SvBl
iQPKVB65/GCG7llyHi1oY+Z2ED/4NmIs8AFpllfBgy2lj/xIo4+QUgN6RsXdp4Nr
73kBE4JQBaxmk0Fg/PXklX5C6s2ocs0inBEg0urZomKN+6d0fTbxbRlVePBjq032
adLTP7QIizEcqfT1psqVsK0AwsQMq2BkkAtyb1U8ubqArzGDj82+DZ1lzYeqqh24
ud0U1gLYJkY=
=HlAA
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list