[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub2 and Efi (MacBook 5,1)

From: Bean
Subject: Re: Grub2 and Efi (MacBook 5,1)
Date: Wed, 23 Sep 2009 02:27:08 +0800

On Wed, Sep 23, 2009 at 1:54 AM, Stefan Bienert
<address@hidden> 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.
>>>, 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
> 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?


You can try my repo at at, I believe
it has some uncommitted patches for the EFI platform.

You can use the following menuentry:

menuentry "Gentoo Linux 3 NOAGB NOEFI"
    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

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.


gitgrub home:
my fork page:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]