All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bean <bean123ch@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub2 and Efi (MacBook 5,1)
Date: Wed, 23 Sep 2009 11:03:19 +0800	[thread overview]
Message-ID: <ca0f59980909222003v3a48c967n6ec8a8f7fb8e4248@mail.gmail.com> (raw)
In-Reply-To: <4AB92F99.3020302@zbh.uni-hamburg.de>

On Wed, Sep 23, 2009 at 4:12 AM, Stefan Bienert
<bienert@zbh.uni-hamburg.de> wrote:
>> 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.
>>
>
> Thanks for the reply. I cloned your repo to my hard disk, compiled and
> now I'm at image generation:
>
> grub-mkimage -o grub.efi acpi affs afs_be afs appleldr befs_be befs
> bitmap blocklist boot bufio cat chain cmp configfile cpio crc datehook
> date dm_nv echo efi_fb elf ext2 extcmd fat fixvideo font fs_file fshelp
> fs_uuid gfxmenu gfxterm gptsync gzio halt handler hello help hexdump hfs
> hfspbless hfsplus iso9660 jfs jpeg keystatus linux loadbios loadenv
> loopback ls lspci lua lvm mdraid memrw minicmd minix mmap msdospart
> normal ntfscomp ntfs part_acorn part_amiga part_apple part_bsd part_gpt
> part_msdos part_sun part_sunpc parttool password pci png probe raid5rec
> raid6rec raid read reboot reiserfs scsi search setjmp sfs sh sleep tar
> terminfo test tga trig true udf ufs1 ufs2 utf video_fb video videotest
> xfs xnu xnu_uuid zfsinfo zfs
>
> But I get an error message:
>
> grub-mkimage: error: unresolved symbol grub_get_datetime
>
> Any suggestions?

Hi,

The following modules should be enough:

minicmd part_msdos part_gpt fat ext2 hfsplus ntfs reiserfs xfs iso9660
ls search loopback linux chain reboot halt appleldr help configfile
hexdump loadbios fixvideo sh

-- 
Bean

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



  reply	other threads:[~2009-09-23  3:03 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-20 16:38 Grub2 and Efi (MacBook 5,1) Stefan Bienert
2009-09-20 16:49 ` Robert Millan
2009-09-20 16:56   ` Stefan Bienert
2009-09-20 20:00 ` Vladimir 'phcoder' Serbinenko
2009-09-21 18:34   ` Stefan Bienert
2009-09-21 21:15     ` Stefan Bienert
2009-09-22 14:01       ` Michal Suchanek
2009-09-22 14:36         ` Stefan Bienert
2009-09-22 14:41           ` Michal Suchanek
2009-09-22 15:15             ` Stefan Bienert
2009-09-22 15:29               ` Michal Suchanek
2009-09-22 17:34                 ` Stefan Bienert
2009-09-22 17:42                   ` Felix Zielcke
2009-09-22 17:54                     ` Stefan Bienert
2009-09-22 18:07                       ` Felix Zielcke
2009-09-22 18:27                       ` Bean
2009-09-22 20:12                         ` Stefan Bienert
2009-09-23  3:03                           ` Bean [this message]
2009-09-24 18:36                             ` Stefan Bienert
2009-09-26 12:34                               ` Macbook, Efi, Display mode Stefan Bienert
2009-09-26 13:13                                 ` Bean
2009-09-26 19:12                                   ` Seth Goldberg
2009-09-26 19:54                                   ` Stefan Bienert
2009-09-26 19:59                                     ` Felix Zielcke
2009-09-27 11:40                                   ` Stefan Bienert
2009-09-27 11:48                                     ` Michal Suchanek
2009-09-27 13:00                                       ` Stefan Bienert
2009-09-27 15:11                                         ` Bean
2009-09-27 15:44                                           ` Stefan Bienert
2009-09-27 16:15                                             ` Michal Suchanek
2009-09-27 16:49                                               ` Stefan Bienert
2009-09-27 18:39                                             ` Bean
2009-09-27 18:49                                               ` Stefan Bienert
2009-10-03 19:10                                                 ` Stefan Bienert
2009-10-03 20:17                                                   ` Bean
2009-10-03 20:55                                                     ` Stefan Bienert
2009-10-04  2:58                                                       ` Peter Cros
2009-10-04 14:45                                                         ` Stefan Bienert
2009-10-04 14:49                                                           ` Bean
2009-10-04 17:27                                                             ` Stefan Bienert
2009-10-04 20:10                                                               ` Bean
2009-10-04 20:43                                                                 ` Stefan Bienert
2009-10-05  1:56                                                                   ` Peter Cros
2009-10-09 17:44                                                                 ` Michal Suchanek
2009-10-09 17:53                                                                   ` Stefan Bienert
2009-10-09 20:54                                                                     ` Michal Suchanek
2009-10-09 21:49                                                                       ` Stefan Bienert
2009-10-19 20:04                                                                       ` Stefan Bienert
2009-10-20  3:31                                                                         ` Bean
2009-10-24 10:09                                                                           ` Stefan Bienert
2009-10-24 10:17                                                                             ` Bean
2009-10-24 10:30                                                                               ` Stefan Bienert
2009-10-24 10:38                                                                                 ` Bean
2009-10-24 12:07                                                                                   ` Stefan Bienert
2009-10-24 23:33                                                                                   ` Stefan Bienert
2009-10-25  0:34                                                                                     ` richardvoigt
2009-10-25  0:38                                                                                       ` Stefan Bienert
2009-10-25  0:52                                                                                         ` richardvoigt
2009-10-25 17:41                                                                                           ` Stefan Bienert
2009-09-26 14:25                                 ` Vladimir 'phcoder' Serbinenko
2009-09-26 19:55                                   ` Stefan Bienert
2009-09-26 20:01                                     ` Felix Zielcke
2009-09-26 20:48                                       ` Stefan Bienert
2009-09-27 10:39                                         ` Felix Zielcke
2009-09-27 11:11                                           ` Stefan Bienert
2009-09-27 11:14                                             ` Felix Zielcke

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=ca0f59980909222003v3a48c967n6ec8a8f7fb8e4248@mail.gmail.com \
    --to=bean123ch@gmail.com \
    --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.