Page 1 of 1

Grub2 booting appearance

PostPosted: Dec 14th, '13, 06:14
by laidlaws
I have just reinstalled Mga3 to get rid of a lot of "dead wood."

I am using Grub2. The boot selection screen is normal, and the progress bar that tells me how long I have to make a selection, is normal.

The booting progress line (with Mageia3 at the R H end) now comes up multipe times, interspersed with text. My Grub2 command line already contained "splash quiet" I changed that to "splash=silent quiet" with no real effect.

What do I need to do?

Re: Grub2 booting appearance

PostPosted: Dec 14th, '13, 11:28
by gohlip
Besides "splash" and "quiet", add "nokmsboot" and "vga=788".
Having "ro" is also good.
[edit] - Remove your "splash=silent quiet"

Re: Grub2 booting appearance

PostPosted: Dec 14th, '13, 15:19
by laidlaws
Thanks. I already have "nokmsboot" to make the nVidia driver work. I don't have a vga setting. Normally, I have 791. I read somewhere that these numbers are now deprecated, but they seem to be still in use. There is a separate line

GRUB_GFXMODE=1024x768x32

Re: Grub2 booting appearance

PostPosted: Dec 15th, '13, 01:58
by doktor5000
The vga= line does not apply anymore with grub2. Check e.g. http://askubuntu.com/a/54068 to find out which vesa modes your box supports.

Re: Grub2 booting appearance

PostPosted: Dec 15th, '13, 05:32
by gohlip
doktor5000 wrote:The vga= line does not apply anymore with grub2. Check e.g. http://askubuntu.com/a/54068 to find out which vesa modes your box supports.

Yes, I said as much in viewtopic.php?f=15&t=4096
vga=xxx should be deprecated, but seems to be needed for Mageia


Other than removing the "progress bar", the improvements are IMO, minimal.
This "vga=xxx" is still needed in M4.
BTW, vga= won't work in my other distros, but gfxmode will
and gfxmode won't work in Mageia; does it work in yours?

And..... don't you have vga= in your grub.cfg/menu.lst, doktor5000?

Re: Grub2 booting appearance

PostPosted: Dec 15th, '13, 12:24
by doktor5000
gohlip wrote:And..... don't you have vga= in your grub.cfg/menu.lst, doktor5000?

For menu.lst sure, but as vga= is a bootloader parameter, it should not work the same way with grub2.
Currentlly don't have any Mageia system with grub2, will maybe test with 4 Beta 2.

Check the section "Grub 2 and the VGA parameter" in https://wiki.debian.org/GrubTransition

Re: Grub2 booting appearance

PostPosted: Dec 15th, '13, 15:28
by gohlip
doktor5000 wrote:
gohlip wrote:And..... don't you have vga= in your grub.cfg/menu.lst, doktor5000?

For menu.lst sure, but as vga= is a bootloader parameter, it should not work the same way with grub2.
Currentlly don't have any Mageia system with grub2, will maybe test with 4 Beta 2.


I also thought so too. When using M3, my grub2 have vga=xxx and nokmsboot. Thinking that's strange, I proceeded to try out some changes, and per my message viewtopic.php?f=15&t=4096 , having
Code: Select all
set gfxpayload=800x600
gfxmode=800x600
eliminates the need for vga=xxx. But I was still puzzled that without above, "vga=xxx" works in grub2.

ps: yes, instead of 800x600, we can use other parameters that the monitor and grub's vbeinfo allows.

Also, now that I am in M4, eliminating "nokmsboot" (in grub2, that is) also stopped the wait time in
Code: Select all
Checking for new hardware
nvidia-xxx is installed
and it boots. (I think that (not having nokmsboot) didn't work in M3, but I am not too sure, no longer in M3, maybe you can try out)

Well, I think (but I hope it is not true, and I am definitely not sure) that Mageia, by allowing both grub-legacy and grub2 causes some "cross-firing" between the two.
For instance, in M4, after a kernel upgrade, there was an error message that my initrd file is not updated because "I have not installed a bootloader" (which I did, grub2, I uninstalled grub-legacy). But there was absolutely no error and I rebooted to new kernel without error.

Cheers.

ps: when upgrading to M4 - not fresh install - make sure you have grub-legacy, otherwise upgrade to M4 will cause errors. I upgraded to M4 from M3 (with grub2) with much hassles. Forgot how I overcame it.

Re: Grub2 booting appearance

PostPosted: Dec 16th, '13, 18:45
by laidlaws
That is all fine: use vga= foor legacy Grub but not in Grub2.

But my original question was: how do I get rid of the multiple bootup bars after the selection screen exits?

Re: Grub2 booting appearance

PostPosted: Dec 16th, '13, 19:55
by gohlip
laidlaws wrote:That is all fine: use vga= foor legacy Grub but not in Grub2.

But my original question was: how do I get rid of the multiple bootup bars after the selection screen exits?

in /etc/default/grub, change to
Code: Select all
GRUB_GFXPAYLOAD_LINUX=1024x768x32
GRUB_GFXMODE=1024x768x32

Save file and at terminal
Code: Select all
# update-grub2


Works for me.(mine is 1280x1024x32). No more progress bars, but since my monitor is 1920x1080, the mageia screen starts with white borders, flashes to full screen.

Don't need the vga=xxx and nokmsboot.
ps: I thought I said that somewhere here but with 800x600.
refer http://www.gnu.org/software/grub/manual ... gfxpayload

[edit] - just make sure your 1024x768x32 can be handled by your grub's vbeinfo. I assume your monitor can handle it.
That's why I have to use 1280x1024x32 not 1920x1080x32.