From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 22899138010 for ; Fri, 12 Oct 2012 13:23:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2D7AE0484; Fri, 12 Oct 2012 13:23:26 +0000 (UTC) Received: from icp-osb-irony-out4.external.iinet.net.au (icp-osb-irony-out4.external.iinet.net.au [203.59.1.220]) by pigeon.gentoo.org (Postfix) with ESMTP id 1E0CCE035C for ; Fri, 12 Oct 2012 13:22:20 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkAFAGEYeFA6B6RB/2dsb2JhbABEhhK2D4M6gQiCIAEBBSNmCw0LAgImAgJXiBynRJJugSGKMYMcgg+BEgOIVpJ5Ioosgno X-IronPort-AV: E=Sophos;i="4.80,576,1344182400"; d="scan'208";a="44733671" Received: from unknown (HELO moriah.localdomain) ([58.7.164.65]) by icp-osb-irony-out4.iinet.net.au with ESMTP; 12 Oct 2012 21:22:19 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id EB44A277A93 for ; Fri, 12 Oct 2012 21:22:18 +0800 (WST) X-Virus-Scanned: amavisd-new at lan.localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.lan.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iRmiU_wJvkDG for ; Fri, 12 Oct 2012 21:22:15 +0800 (WST) Received: from [192.168.43.110] (claire [192.168.43.110]) by moriah.localdomain (Postfix) with ESMTP id D5D0F271DC7 for ; Fri, 12 Oct 2012 21:22:15 +0800 (WST) Message-ID: <1350048135.11186.6.camel@rattus> Subject: Re: [gentoo-user] UEFI boot, again From: Bill Kenworthy To: gentoo-user@lists.gentoo.org Date: Fri, 12 Oct 2012 21:22:15 +0800 In-Reply-To: <5077D5C0.70105@xunil.at> References: <50770F01.1040805@xunil.at> <1350006756.27331.9.camel@troll> <5077D5C0.70105@xunil.at> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 097a26ce-7feb-4553-b055-213518158694 X-Archives-Hash: 8ac622518b74dd51202e3e4d62a704df On Fri, 2012-10-12 at 10:33 +0200, Stefan G. Weichinger wrote: > Am 12.10.2012 03:52, schrieb Bill Kenworthy: > > > > I am currently fighting this on a macbook air ... efi is crap, at least > > the old grub was much easier to fix when it went wrong ... > > > > if you are using grub 2 (I tried refit/refind/grub2/efi kernel and > > finally settled on grub2) > > > > try: > > mount /boot > > mount /boot/efi > > `grub2-install --target=x86_64-efi` > > `grub2-mkconfig -o /boot/efi/EFI/gentoo/grub.conf` > > # have to sort this out one day, which is it using? > > `cp /boot/efi/EFI/gentoo/grub.conf /boot/grub2/grub.cfg` > > > > Sounds like your install line is what you are missing ... > > Thanks a lot, Bill, I will look into this later this day. > > What do mean by "install line" ? > > Stefan > > The grub2-install command above - with efi you have to "announce" the the information to boot with. I look at it as similar to grub installing into the MBR, but thats a very loose metaphor :) The problem you are describing might be that this "announcement" is missing/corrupted. The EFI directory is Apples (this is a macbook air), the grub2-mkconfig searches for all the bootable kernels and builds a menu for them. I think this is close to default efi in layout as "EFI" seems to be in the spec. BillK