LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   suppress or cover boot messages from grub or syslinux (https://www.linuxquestions.org/questions/linux-software-2/suppress-or-cover-boot-messages-from-grub-or-syslinux-910414/)

Person_1873 10-27-2011 02:29 AM

suppress or cover boot messages from grub or syslinux
 
Hi
I'm running arch x86_64 and have installed plymouth as the boot splash.
I really would rather see no text as my machine boots but don't want to change to ubuntu or winblows.
My machine has a pretty BIOS splash that covers all POST messages but then i get messages from grub or syslinux announcing their presence which i would rather not see.
After plymouth finishes i see the syslinux or grub messages again before gdm loads which again is not preferable.
I would rather not switch bootloader yet again but if there is no work around i guess it's an option and i'll accept any suggestions (though my experiences with grub2 have been less than pleasant)

bigrigdriver 10-27-2011 08:37 PM

As root, edit file /etc/grub.d/00_header.

Change this:
Code:

make_timeout ()
{
    if [ "x${1}" != "x" ] ; then
        if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
            verbose=
        else
            verbose=" --verbose"
        fi
        cat << EOF

to this:
Code:

make_timeout ()
{
    if [ "x${1}" != "x" ] ; then
        if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
            verbose=
        else
            verbose=" --quiet"
        fi
        cat << EOF

Then open a terminal and run, as root, update-grub. Then reboot to verify that worked.

If not, then try this edit:
Code:

make_timeout ()
{
    if [ "x${1}" != "x" ] ; then
        if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
            verbose="--quiet"
        else
            verbose=
        fi
        cat << EOF

then update-grub and try the reboot again.

Person_1873 10-28-2011 08:01 PM

hi bigrigdriver,

i dont presently use grub2 and personally would rather not use it, at this point i'm ok with syslinux or grub legacy or potentially even lilo, though if grub2 is the only way to achieve this outcome then i suppose i should learn to deal with it

bigrigdriver 11-01-2011 11:54 PM

Apologies for the late reply. In grub legacy, edit /boot/grub/menu.lst. In the kernel line of the menu stanza for Linux entries, and the word "quiet" (without quotes) to the kernel line to turn off the scrolling text. To turn it back on, change "quite" to "verbose".

Person_1873 11-27-2011 08:15 AM

i already did this, but grub still has it's own output i'd rather not see, syslinux has less but it's still there...


All times are GMT -5. The time now is 10:50 PM.