On Wed Sep 13, 2000 at 12:50:19PM +0200, Jaeger Marc wrote:
> Hello,
> i wouldlike replace all loading messages (like
> mounting,.. setting ... enable..) with the string
> "Loading. Plaese wait..."
> How can i do that ?
I use the following to shut up the kernel on boot -- I just
apply this patch, then give the bootloader the command-line
option "debug=2".
-Erik
--
Erik B. Andersen email: [EMAIL PROTECTED]
--This message was written using 73% post-consumer electrons--
diff -Nur linux.orig/arch/i386/boot/compressed/misc.c
linux/arch/i386/boot/compressed/misc.c
--- linux.orig/arch/i386/boot/compressed/misc.c Wed Jun 24 23:30:08 1998
+++ linux/arch/i386/boot/compressed/misc.c Fri Feb 19 14:46:07 1999
@@ -349,9 +349,9 @@
else setup_output_buffer_if_we_run_high(mv);
makecrc();
- puts("Uncompressing Linux... ");
+ /*puts("Uncompressing Linux... ");*/
gunzip();
- puts("Ok, booting the kernel.\n");
+ /*puts("Ok, booting the kernel.\n");*/
if (high_loaded) close_output_buffer_if_we_run_high(mv);
return high_loaded;
}
diff -Nur linux.orig/init/main.c linux/init/main.c
--- linux.orig/init/main.c Wed Jan 20 19:18:53 1999
+++ linux/init/main.c Fri Feb 19 14:44:42 1999
@@ -1017,6 +1017,11 @@
root_mountflags &= ~MS_RDONLY;
continue;
}
+ if (!strncmp(line,"debug=",6)) {
+ line += 6;
+ console_loglevel = simple_strtoul(line, &line, 0);
+ continue;
+ }
if (!strcmp(line,"debug")) {
console_loglevel = 10;
continue;