You are not logged in.

#1 2010-05-17 04:25:24

CrazyPandar
Member
Registered: 2010-04-15
Posts: 10

How to disable dsiplaying messages from initrd

When I boot my archlinux, I saw ":: Loading Initramfs". I want to disable this message at boot time.
so I read the initcpio scripts in /lib/initcpio and found a script named init_functions.

# This file contains common functions used in init and in hooks

msg () {
    [ "${quiet}" != "y" ] && echo $@
}
err () {
    echo "ERROR: $@"
}
...

At line  4, a variable named quiet seems to be able to disable the message.
The problem is how can I set quiet to "y" at boot time.

Offline

#2 2010-05-17 07:21:46

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: How to disable dsiplaying messages from initrd

I don't think this message is displayed by the initramfs, I'd say it's the kernel that displays it when it starts loading the initramfs...  Have you tried appending the "quiet" option to the "kernel" line in grub?


V=RI sweet V=RI

Offline

#3 2010-05-17 07:23:04

Ber
Member
From: Belgium
Registered: 2006-07-05
Posts: 80
Website

Re: How to disable dsiplaying messages from initrd

Or with a quick search : http://bbs.archlinux.org/viewtopic.php?id=67380

(which tells me that my previous assumtpion was wrong, sorry)

Last edited by Ber (2010-05-17 07:25:03)


V=RI sweet V=RI

Offline

#4 2010-05-17 07:36:44

CrazyPandar
Member
Registered: 2010-04-15
Posts: 10

Re: How to disable dsiplaying messages from initrd

If I just modify the script, after update mkinitcpio the message will be back.
I want a way that after updating mkinitcpio, the message can still be hidden.

Offline

Board footer

Powered by FluxBB