Grub2 verbose mode [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Grub2 verbose mode [Solved]

Postby pepe999 » Tue Oct 19, 2010 11:30

Hi all,
Does anyone know how to set Grub2 to boot in verbose mode(no splash)? I tried to modify(add some parameters)
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT=""

in /etc/default/grub but it doesn't help. On Ubuntu wiki is a tutorial:
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

delete "quiet splash" and then you can boot in the verbose mode. On Sabayon is the line without "quiet splash" so I can't delete it. I was also looking on Gentoo wiki but found no help.
My /etc/default/grub
Code: Select all
# /etc/default/grub
# If you change this file, run 'grub-mkconfig -o /boot/grub/grub.cfg' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=saved
GRUB_DISTRIBUTOR="Sabayon"
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5

# Add your extra parameters here below
# Dear user, put your boot flags here ;-)
GRUB_CMDLINE_LINUX_DEFAULT=""
# ATTENTION ATTENTION ATTENTION
# DO NOT EDIT THIS MANUALLY NOR SET IT TO EMPTY IF IT'S ALREADY FILLED WITH
# SOMETHING (DONE BY THE INSTALLER). REALLY, DON'T !
GRUB_CMDLINE_LINUX=""
# ATTENTION ATTENTION ATTENTION

# Uncomment to disable graphical terminal (grub-pc only)
# GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1024x768

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
# GRUB_DISABLE_LINUX_RECOVERY="false"

# Default wallpaper image path
GRUB_WALLPAPER="/boot/grub/default-splash.png"

# Boot menu option normal color
GRUB_COLOR_NORMAL="white/black"

# Boot menu option "highlight" color
GRUB_COLOR_HIGHLIGHT="magenta/black"

if [ -f "/etc/default/sabayon-grub" ]; then
    # this file is placed by the Sabayon Installer and contains
    # custom GRUB_CMDLINE_LINUX parameters created at install
    # time.
    source /etc/default/sabayon-grub
fi

# DO NOT REMOVE THIS IF YOUR GRUB_CMDLINE_LINUX IS EMPTY (BACKWARD COMPAT)
if [ -z "${GRUB_CMDLINE_LINUX}" ]; then
    if [ ! -e "/proc/cmdline" ]; then
        echo "ATTENTION ATTENTION ATTENTION" >&2
        echo "GRUB_CMDLINE_LINUX is not set inside /etc/default/grub" >&2
        echo "  cannot generate a bootable configuration." >&2
    else
        echo "ATTENTION ATTENTION ATTENTION" >&2
        echo "GRUB_CMDLINE_LINUX is not set inside /etc/default/grub" >&2
        echo "  grub is going to use your /proc/cmdline content" >&2
        GRUB_CMDLINE_LINUX="`cat /proc/cmdline | sed -e 's#BOOT_IMAGE=.* ro ##g'`"
    fi
fi

Thanks pepe999
Last edited by pepe999 on Wed Oct 20, 2010 12:11, edited 1 time in total.
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024
User avatar
pepe999
Advanced Hen
 
Posts: 250
Joined: Fri Mar 06, 2009 19:24
Location: Manchester

Re: Grub2 verbose mode

Postby Fitzcarraldo » Tue Oct 19, 2010 12:46

Have you tried the following in the /etc/default/grub file?:

Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="nosplash"

and then run:

Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7340
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Grub2 verbose mode

Postby pepe999 » Wed Oct 20, 2010 1:16

Thank Fitzcarraldo,
Unfortunately no luck...
I tried mode=verbose, verbose, splash, nosplash, quiet. I can't remember that option but it worked before. I've just sold my old SDD(with my old system) and now I can't remember the parameter..

edit: Solved!

Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="splash=verbose"
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024
User avatar
pepe999
Advanced Hen
 
Posts: 250
Joined: Fri Mar 06, 2009 19:24
Location: Manchester

Re: Grub2 verbose mode [Solved]

Postby MALsPa » Sat Jul 07, 2012 17:07

Glad I found this old thread! Thank you pepe999 for the solution.

Edited /etc/default/grub:

Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="splash=verbose"


Ran the following:

Code: Select all
# grub-mkconfig -o /boot/grub/grub.cfg


Actually, this did not work for me at first, but my set-up is multi-boot with Debian Squeeze's grub2 booting the other distros. So I booted into Squeeze and ran:

Code: Select all
# update-grub


After that, Sabayon 9 boots in verbose mode. I'm new to Sabayon and also new to using grub2 to multi-boot other distros -- I've previously only used grub-legacy for that. So I think that running update-grub in the booting distro after editing /etc/default/grub in Sabayon 9 is the correct procedure -- seems to have worked here -- but if I'm missing something or posting incorrect info, someone let me know.
MALsPa
Baby Hen
 
Posts: 13
Joined: Tue Jun 26, 2012 15:57
Location: albuquerque


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests