Grub2 booting appearance

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Grub2 booting appearance

Postby laidlaws » Dec 14th, '13, 06:14

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?
laidlaws
 
Posts: 292
Joined: May 24th, '11, 04:58

Re: Grub2 booting appearance

Postby gohlip » Dec 14th, '13, 11:28

Besides "splash" and "quiet", add "nokmsboot" and "vga=788".
Having "ro" is also good.
[edit] - Remove your "splash=silent quiet"
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Grub2 booting appearance

Postby laidlaws » Dec 14th, '13, 15:19

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
laidlaws
 
Posts: 292
Joined: May 24th, '11, 04:58

Re: Grub2 booting appearance

Postby doktor5000 » Dec 15th, '13, 01:58

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Grub2 booting appearance

Postby gohlip » Dec 15th, '13, 05:32

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?
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Grub2 booting appearance

Postby doktor5000 » Dec 15th, '13, 12:24

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Grub2 booting appearance

Postby gohlip » Dec 15th, '13, 15:28

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: Grub2 booting appearance

Postby laidlaws » Dec 16th, '13, 18:45

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?
laidlaws
 
Posts: 292
Joined: May 24th, '11, 04:58

Re: Grub2 booting appearance

Postby gohlip » Dec 16th, '13, 19:55

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.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest