grub-devel
[Top][All Lists]
Advanced

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

Re: Macbook, Efi, Display mode


From: Bean
Subject: Re: Macbook, Efi, Display mode
Date: Sat, 26 Sep 2009 21:13:03 +0800

On Sat, Sep 26, 2009 at 8:34 PM, Stefan Bienert
<address@hidden> wrote:
> Hi again,
>
> 2 days of booting with grub2 in EFI mode and still happy...
>
> Now I have several further questions:
>
> - Depending on whether an USB disk is connected, or not, the hd numbers
> change. Is there a setup to avoid changing the numbers in the entries on
> boot?

Hi,

You can use search command to locate the root device. Something like this:

search --set /vmlinuz
linux /vmlinuz ...
initrd /initrd.img

>
> - The menu is rather small, is it possible to expand the display to
> 1280x800?
>
> - Since I own a Macbook, I want my boot manager nice and shiny. How do I
> set the looks? E.g. Background image? Couldn't find helpful info in the
> manual-draft.

If you use my repo, you can enable graphic mode for EFI, it even
allows you to set a background image. Add these lines in grub.cfg:

set gfxmode="0x0"
loadfont /unifont.pf2
terminal_output.gfxterm
background_image /splash.png

You need to include these modules when generating grub.efi: video
efi_fb gfxterm font png jpeg

unifont.pf2 is the font file, you can generate it using grub-mkfont,
or just download it here:

http://grub4dos.sourceforge.net/unifont.pf2

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/




reply via email to

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