Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MqI8e-0005rl-9W for mharc-grub-devel@gnu.org; Tue, 22 Sep 2009 23:03:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqI8c-0005qv-Ts for grub-devel@gnu.org; Tue, 22 Sep 2009 23:03:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqI8X-0005qh-I0 for grub-devel@gnu.org; Tue, 22 Sep 2009 23:03:25 -0400 Received: from [199.232.76.173] (port=45769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqI8X-0005qe-CI for grub-devel@gnu.org; Tue, 22 Sep 2009 23:03:21 -0400 Received: from mail-pz0-f181.google.com ([209.85.222.181]:56933) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqI8W-00040s-PY for grub-devel@gnu.org; Tue, 22 Sep 2009 23:03:20 -0400 Received: by pzk11 with SMTP id 11so262069pzk.14 for ; Tue, 22 Sep 2009 20:03:20 -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 :content-transfer-encoding; bh=WpS1PpxA9VY7WuzAI2d+IXypk8YpQ4gUqWpy2Box4F4=; b=JWvlffYwZ8c3DVwAO34OLYYP9weR2Dl15rWBy79+tlyEumQlj3frkRnF+4dgAA9a6H h8l3WjIbyzq5XD4cbQ0TzJzH3pht9bDU8hsHhVD42L0c2EJ+edrXZeHgYbBUGGh6zDIE 2UoOTfQO8Lh/Lkq6IvyV4RbHQp21TXu+7Eefw= 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:content-transfer-encoding; b=Fjs7T+TJ/BW39m7BOrHWLNUJzmjKYc9zUjKfcRKK5VlOQKZ4uVbGOACHPgFVRmiuWc 7QOlQH8hRt67YVW//s1ChKw2rADAfA3FF29lutldpRUc4iQ75pLqUqzL59lj+pgwad3H fJZkaPF927IKc2+ef3bNY9C3hFyCXFQ4dJkD0= MIME-Version: 1.0 Received: by 10.140.148.15 with SMTP id v15mr101618rvd.22.1253674999967; Tue, 22 Sep 2009 20:03:19 -0700 (PDT) In-Reply-To: <4AB92F99.3020302@zbh.uni-hamburg.de> References: <4AB65A8C.9020809@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> <4AB92F99.3020302@zbh.uni-hamburg.de> Date: Wed, 23 Sep 2009 11:03:19 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 23 Sep 2009 03:03:27 -0000 On Wed, Sep 23, 2009 at 4:12 AM, Stefan Bienert 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" >> { >> =A0 =A0 root=3D(hd1,3) >> =A0 =A0 fakebios >> =A0 =A0 linux /boot/kernel-2.6.27-gentoo-r8-n root=3D/dev/sda4 video=3De= fifb >> noefi acpi=3Dforce >> =A0 =A0 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 --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/