[opensuse] configuring grub2
Hello, 1) I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times). nothing seems to works... according to https://doc.opensuse.org/documentation/html/openSUSE_122/opensuse-reference/... * yast2 have a corresponding line, but making this line empty do not stay (the option come again) * setting /etc/sysconfig/bootloader option to ="" do not give any change * /etc/default/grub is nearly empty and have nothing relevant * Scripts under /etc/grub.d/ scripts have no "splash" in them and are pretty complex, so I don't know how to do there * grub2-mkconfig -o /boot/grub2/grub.cfg rebuild the grub.cfg file... with the options I try to remove 2) osprober add the menus for my main /dev/sda disk, but not for my other /dev/sdb disk (system is on /dev/sdc) os-prober /dev/sdb /dev/sda1:Windows 7 (loader):Windows:chain /dev/sda4:Windows Recovery Environment (loader):Windows1:chain /dev/sda6:openSUSE 13.2 (x86_64):SUSE:linux I now it's a script, but much too hard for me :-( thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
02.01.2016 14:11, jdd пишет:
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times).
And your openSUSE version is ... ?
nothing seems to works... according to
https://doc.opensuse.org/documentation/html/openSUSE_122/opensuse-reference/...
* yast2 have a corresponding line, but making this line empty do not stay (the option come again)
* setting /etc/sysconfig/bootloader option to ="" do not give any change
* /etc/default/grub is nearly empty and have nothing relevant
* Scripts under /etc/grub.d/ scripts have no "splash" in them and are pretty complex, so I don't know how to do there
* grub2-mkconfig -o /boot/grub2/grub.cfg rebuild the grub.cfg file... with the options I try to remove
2) osprober add the menus for my main /dev/sda disk, but not for my other /dev/sdb disk (system is on /dev/sdc)
os-prober /dev/sdb /dev/sda1:Windows 7 (loader):Windows:chain /dev/sda4:Windows Recovery Environment (loader):Windows1:chain /dev/sda6:openSUSE 13.2 (x86_64):SUSE:linux
I now it's a script, but much too hard for me :-(
thanks jdd
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/01/2016 13:32, Andrei Borzenkov a écrit :
02.01.2016 14:11, jdd пишет:
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times).
And your openSUSE version is ... ?
sorry, this is for leap 42.1 jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
02.01.2016 18:00, jdd пишет:
Le 02/01/2016 13:32, Andrei Borzenkov a écrit :
02.01.2016 14:11, jdd пишет:
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times).
And your openSUSE version is ... ?
sorry, this is for leap 42.1
jdd
Linux kernel arguments is set in /etc/default/grub in variable GRUB_CMDLINE_LINUX_DEFAULT. Please show grep -v '^#' /etc/default/grub -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/01/2016 16:47, Andrei Borzenkov a écrit :
Linux kernel arguments is set in /etc/default/grub in variable GRUB_CMDLINE_LINUX_DEFAULT. Please show
first thing I did. Works now (after several reboots), don't know why it didn't à first thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, Am Samstag, 2. Januar 2016, 12:11:39 schrieb jdd:
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times). [...]
did you try to edit /etc/default/grub and change "splash=silent" to "splash=verbose" and run grub2-mkconfig? Greetings Willi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/01/2016 15:07, Wilhelm Boltz a écrit :
did you try to edit /etc/default/grub and change "splash=silent" to "splash=verbose" and run grub2-mkconfig?
I used he grub command line to do this. But now the grub menu is back to what I needed, after several reboots, I don't know why I have only one Leap install, so as (see elsewhere) it boots only randomly test are difficult, but right now I could boot it, so good jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/02/2016 06:07 AM, Wilhelm Boltz wrote:
Hello,
Am Samstag, 2. Januar 2016, 12:11:39 schrieb jdd:
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times). [...] did you try to edit /etc/default/grub and change "splash=silent" to "splash=verbose" and run grub2-mkconfig?
Greetings Willi I did this and I see boot messages up until a boot message comes up that says "Switch Root". There are more boot messages that are being hidden after the Switch Root message displays. If you press ESC right before "Switch Root" displays, the rest of the messages are displayed. If you don't, you just get a black screen until sddm comes up. Is there a way to see all the boot messages? I played with the verbosity level but it only seemed to affect the verbosity of the messages before "Switch Root".
sdm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
SDM composed on 2016-02-02 11:00 (UTC-0800):
Wilhelm Boltz wrote:
jdd composed:
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times). [...] did you try to edit /etc/default/grub and change "splash=silent" to "splash=verbose" and run grub2-mkconfig?
I did this and I see boot messages up until a boot message comes up that says "Switch Root". There are more boot messages that are being hidden after the Switch Root message displays. If you press ESC right before "Switch Root" displays, the rest of the messages are displayed. If you don't, you just get a black screen until sddm comes up. Is there a way to see all the boot messages? I played with the verbosity level but it only seemed to affect the verbosity of the messages before "Switch Root".
Just an idea, as I don't allow Plymouth to be installed on my own systems: Try adding plymouth.enable=0 to kernel cmdline. If it works, do as you did with splash. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/02/2016 21:45, Felix Miata a écrit :
SDM composed on 2016-02-02 11:00 (UTC-0800):
Wilhelm Boltz wrote:
jdd composed:
nothing on the message quoted is from me :-( jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 02/01/2016 12:11, jdd a écrit :
Hello,
1)
I try to configure grub2 simply to remove the unuseful options on the kernel line, specially splash=silent, because I need to see the logs (leap do not start most of the times).
works now. Don't know why there where a problem, may be something needs several reboots? this have yet no solution:
2) osprober add the menus for my main /dev/sda disk, but not for my other /dev/sdb disk (system is on /dev/sdc)
os-prober /dev/sdb /dev/sda1:Windows 7 (loader):Windows:chain /dev/sda4:Windows Recovery Environment (loader):Windows1:chain /dev/sda6:openSUSE 13.2 (x86_64):SUSE:linux
I now it's a script, but much too hard for me :-(
^^^ I know :-( thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
Felix Miata
-
jdd
-
SDM
-
Wilhelm Boltz