From: BandiPat <magicpage91@earthlink.net>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Video mode fixes in linux loader
Date: Sat, 02 May 2009 20:03:23 -0400 [thread overview]
Message-ID: <49FCDF4B.6050100@earthlink.net> (raw)
In-Reply-To: <20090502153201.GI28362@thorin>
Robert Millan wrote:
> On Sat, May 02, 2009 at 01:31:14PM +0200, Robert Millan wrote:
>>>>> "vga=ask" is not a warning now. It causes "error: You need to load the
>>>>> kernel first", apparently from initrd. In other words, the "linux"
>>>>> command fails and there is no visible warning.
>>>> Sounds like my error code is wrong, but we could turn it into a warning
>>>> like you suggested.
>>> I was editing the command line from the menu, so I could not see the
>>> message. Waiting for input is a fair game for an option that implies
>>> waiting for input.
>> Spot on. Will do that.
>
> Fixed.
>
> See also this new patch. It restructures the checks so that
> "vid_mode == 0" indicates lack of "vga=" parameter. For user requesting
> text mode (vga=normal or vga=0) we already have GRUB_LINUX_VID_MODE_NORMAL
> so there's no need to handle both values in GRUB.
>
> It also introduces the GRUB_ASSUME_LINUX_HAS_FB_SUPPORT macro, which allows
> easy override of the "fallback to text mode" setting.
>
>
>
> ------------------------------------------------------------------------
This may follow the last little problem we are having getting the splash
screen to show in Zenwalk. We were in IRC last weekend trying to come
up with a solution as to why we had to use linux16 & initrd16 with the
vga= command in the grub.cfg, but nothing he suggested seemed to work.
Here is a section from my grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=10
set root=(hd0,1)
search --fs-uuid --set 82d81803-e0a2-487d-9c83-ec6d8d35cf2a
if loadfont /usr/share/grub/ascii.pf2 ; then
set gfxmode=1024x768x32
insmod gfxterm
insmod video
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod png
background_image /boot/grub/ZenBlack.png
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Zenwalk 6.0 GNU/Linux" {
set root=(hd0,1)
search --fs-uuid --set 82d81803-e0a2-487d-9c83-ec6d8d35cf2a
linux16 /boot/vmlinuz root=/dev/sda1 ro resume=/dev/sda4 splash=silent
vga=794
initrd16 /boot/initrd.splash
}
-------------------------
My first question for you Robert is; will your vid_mode.diff correct the
need for using vga= and linux16 to get the splash screen to display in
the correct resolution? Second, what is needed in the grub.cfg to be
able to not use the deprecated linux16 & vga= anymore? Does someone
have a sample grub.cfg for x86 Linux that works to display the splash
screen using linux, but without the vga= ? If you do, please send it to
me, so I might try your solution. I can't believe this is as big a
problem as it appears to be, but no one seems to have mentioned a viable
solution yet!
Thanks for your help!
Pat
next prev parent reply other threads:[~2009-05-03 0:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 15:34 [PATCH] Video mode fixes in linux loader Pavel Roskin
2009-04-07 0:31 ` Yoshinori K. Okuji
2009-04-07 0:49 ` Pavel Roskin
2009-04-07 7:31 ` phcoder
2009-04-07 22:04 ` Pavel Roskin
2009-04-12 19:11 ` phcoder
2009-04-12 20:43 ` Pavel Roskin
2009-04-13 14:16 ` Robert Millan
2009-04-13 14:45 ` Robert Millan
2009-04-13 15:41 ` Pavel Roskin
2009-04-13 19:05 ` Robert Millan
2009-04-13 23:20 ` Pavel Roskin
2009-04-14 0:02 ` phcoder
2009-05-02 11:38 ` Robert Millan
2009-05-02 11:31 ` Robert Millan
2009-05-02 15:32 ` Robert Millan
2009-05-03 0:03 ` BandiPat [this message]
2009-05-03 15:53 ` Robert Millan
2009-05-04 15:15 ` BandiPat
2009-05-04 16:01 ` Robert Millan
2009-05-04 18:16 ` BandiPat
2009-05-04 18:16 ` Felix Zielcke
2009-05-04 20:30 ` Robert Millan
2009-05-04 21:59 ` BandiPat
2009-05-13 20:47 ` Robert Millan
2009-05-04 18:04 ` Robert Millan
2009-05-03 13:18 ` Isaac Dupree
2009-05-03 15:50 ` Robert Millan
2009-04-13 15:16 ` Pavel Roskin
2009-04-13 18:59 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49FCDF4B.6050100@earthlink.net \
--to=magicpage91@earthlink.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.