1 |
On Fri, 2012-10-12 at 10:33 +0200, Stefan G. Weichinger wrote: |
2 |
> Am 12.10.2012 03:52, schrieb Bill Kenworthy: |
3 |
> > |
4 |
> > I am currently fighting this on a macbook air ... efi is crap, at least |
5 |
> > the old grub was much easier to fix when it went wrong ... |
6 |
> > |
7 |
> > if you are using grub 2 (I tried refit/refind/grub2/efi kernel and |
8 |
> > finally settled on grub2) |
9 |
> > |
10 |
> > try: |
11 |
> > mount /boot |
12 |
> > mount /boot/efi |
13 |
> > `grub2-install --target=x86_64-efi` |
14 |
> > `grub2-mkconfig -o /boot/efi/EFI/gentoo/grub.conf` |
15 |
> > # have to sort this out one day, which is it using? |
16 |
> > `cp /boot/efi/EFI/gentoo/grub.conf /boot/grub2/grub.cfg` |
17 |
> > |
18 |
> > Sounds like your install line is what you are missing ... |
19 |
> |
20 |
> Thanks a lot, Bill, I will look into this later this day. |
21 |
> |
22 |
> What do mean by "install line" ? |
23 |
> |
24 |
> Stefan |
25 |
> |
26 |
> |
27 |
|
28 |
The grub2-install command above - with efi you have to "announce" the |
29 |
the information to boot with. I look at it as similar to grub |
30 |
installing into the MBR, but thats a very loose metaphor :) |
31 |
|
32 |
The problem you are describing might be that this "announcement" is |
33 |
missing/corrupted. |
34 |
|
35 |
The EFI directory is Apples (this is a macbook air), the grub2-mkconfig |
36 |
searches for all the bootable kernels and builds a menu for them. I |
37 |
think this is close to default efi in layout as "EFI" seems to be in the |
38 |
spec. |
39 |
|
40 |
BillK |