From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M0P8b-0004qJ-3Z for mharc-grub-devel@gnu.org; Sat, 02 May 2009 20:00:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0P8Z-0004pq-E5 for grub-devel@gnu.org; Sat, 02 May 2009 20:00:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0P8V-0004n9-7q for grub-devel@gnu.org; Sat, 02 May 2009 20:00:55 -0400 Received: from [199.232.76.173] (port=48594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0P8V-0004n2-60 for grub-devel@gnu.org; Sat, 02 May 2009 20:00:51 -0400 Received: from elasmtp-banded.atl.sa.earthlink.net ([209.86.89.70]:39292) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0P8U-0003ft-L4 for grub-devel@gnu.org; Sat, 02 May 2009 20:00:50 -0400 Received: from [24.148.247.152] (helo=[192.168.0.199]) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1M0P8T-00020x-JJ for grub-devel@gnu.org; Sat, 02 May 2009 20:00:49 -0400 Message-ID: <49FCDF4B.6050100@earthlink.net> Date: Sat, 02 May 2009 20:03:23 -0400 From: BandiPat Organization: Magic Page Products User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: The development of GRUB 2 References: <1239032043.8986.27.camel@mj> <20090413141657.GE12170@thorin> <20090413144558.GA22165@thorin> <1239637296.3549.9.camel@mj> <20090413190546.GB24072@thorin> <1239664820.13208.50.camel@mj> <20090502113114.GA28362@thorin> <20090502153201.GI28362@thorin> In-Reply-To: <20090502153201.GI28362@thorin> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: c85a64c14a050764b95206241ab561599ef193a6bfc3dd4898945d7169a1dbfa2718813a4b57af0293caf27dac41a8fd350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.148.247.152 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Subject: Re: [PATCH] Video mode fixes in linux loader X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 May 2009 00:00:55 -0000 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