From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MqABW-0004rG-TP for mharc-grub-devel@gnu.org; Tue, 22 Sep 2009 14:33:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqABU-0004r3-I1 for grub-devel@gnu.org; Tue, 22 Sep 2009 14:33:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqABQ-0004qX-1V for grub-devel@gnu.org; Tue, 22 Sep 2009 14:33:52 -0400 Received: from [199.232.76.173] (port=56261 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqABP-0004qU-S2 for grub-devel@gnu.org; Tue, 22 Sep 2009 14:33:47 -0400 Received: from mail-pz0-f201.google.com ([209.85.222.201]:40674) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqABP-0000vq-F2 for grub-devel@gnu.org; Tue, 22 Sep 2009 14:33:47 -0400 Received: by pzk39 with SMTP id 39so258pzk.15 for ; Tue, 22 Sep 2009 11:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Vz0u2r6KGMdW4C2tekZllLjdf3GGnhGfrNOG1YgBxrk=; b=h5BUgxdQdnWS3ZTDt4NaDBDtOQqZmzEEarJFmJA1X1qcyIAj50dXE0b9iC0MPz+BPu t8k75sC4tUXzdMdPjOAXcEZhm5B2ioT6hN7EG9XerUkyZO6DB58GvHFPlmwNAKaGpGt8 a6GQAQlRNWa8qsD2s7iqvdSyuN4WbOHn8uBwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AtrPFFhAWJcis2tw/BSkMKEEUW7Z059bonx8zlVS6HfkwOZ51ZJo2C1Ke8pWZzXGHA Oj6BQB5HwelGlPYg3G72JPn/tZVAAT4X88V83WfwsOSRJcl3WIV5WnBK64N0AGuJhZQ3 KiW261ZxEqJ4sCaJKIjqMznN2jlTm0ou5+qlo= MIME-Version: 1.0 Received: by 10.140.202.12 with SMTP id z12mr73074rvf.112.1253644028609; Tue, 22 Sep 2009 11:27:08 -0700 (PDT) In-Reply-To: <4AB90F3F.7020904@zbh.uni-hamburg.de> References: <4AB65A8C.9020809@zbh.uni-hamburg.de> <4AB7ECDD.8030007@zbh.uni-hamburg.de> <4AB8E0DE.4040908@zbh.uni-hamburg.de> <4AB8EA28.5010209@zbh.uni-hamburg.de> <4AB90A90.7000703@zbh.uni-hamburg.de> <1253641375.2840.32.camel@fz.local> <4AB90F3F.7020904@zbh.uni-hamburg.de> Date: Wed, 23 Sep 2009 02:27:08 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Grub2 and Efi (MacBook 5,1) 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: Tue, 22 Sep 2009 18:33:53 -0000 On Wed, Sep 23, 2009 at 1:54 AM, Stefan Bienert wrote: > Felix Zielcke wrote: >> Am Dienstag, den 22.09.2009, 19:34 +0200 schrieb Stefan Bienert: >>> Michal Suchanek wrote: >>>> Unfortunately. grub refuses to pass on vga=ask for me. >> >> vga=ask only works with the old linux loader, linux16. >> But that isn't avaible in EFI because in EFI you can't load the kernel >> with its 16 bit entry point. >> >> >>>> I am not sure what vbios is supposed to do for you. There is also the >>>> question when the graphics card is switched to vga. Normally the >>>> kernel expects the card to be in vga state so it should be probably >>>> done by grub. >>> OK...so, do we have any more dense tips, here? Sounds like the two of us >>> are somehow lost ;-) I tried playing around with video=... without any >>> success. Where can I find some docu on grub2 video and vga options? >>> > >> you're searching in the wrong place. video and vga are options for the >> Linux kernel. >> Though vga= is parsed by grub, because the kernel excepts it's value in >> a different format then in the standard commandline. >> Note that `set gfxpayload=1024x768x16' (or whatever resolution/depth you >> want) is now the prefered way with the new Linux loader. > > AHA! Well, confusion rises ... > > So, my grub-legacy configuration uses none of video or vga options...is > there a way to test if efifb is working with my kernel, anyway? I think > a hint where to search should be enough. > > Just to get this right: If I use any framebuffer beside efifb, I need to > load a video bios? > > And last, but not least: What does "Linux loader" mean? Hi, You can try my repo at at http://github.com/bean123/grub/, I believe it has some uncommitted patches for the EFI platform. You can use the following menuentry: menuentry "Gentoo Linux 3 NOAGB NOEFI" { root=(hd1,3) fakebios linux /boot/kernel-2.6.27-gentoo-r8-n root=/dev/sda4 video=efifb noefi acpi=force initrd /boot/... } loadbios is only useful if you want to use accelerated graphic driver for some ati or intel card, mb 5.1 has nvidia card, so fakebios would do. noefi is used to work around a bug in 2.6.27-2.6.28 amd64 kernel. However, if you use noefi, you must also use fakebios/loadbios otherwise the keyboard is not responsive after boot. But fakebios/loadbios would cause problem in some new mb model. If that's the case, you can try the 2.6.26 amd64 kernel without fakebios and noefi option. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/