On Wed, Jan 28, 2015 at 5:20 PM, Stefan G. Weichinger <li...@xunil.at> wrote:


> I rm`ed the ESP and started over.
>
> gummiboot boots fine again.
>
> I added some entries to /etc/grub.d/40_custom
> (some pointers to isos etc)
>
> and ran
>
> grub2-mkconfig -o /boot/efi/EFI/grub_uefi/grub.cfg
>
> When I chose grub_uefi at boot time ... it skips again and boots via
> gummiboot (nice in the end .. but .. )

How?!


> And they say things get *easier* !!! ;-)
>
> # ls -RF
> .:
> e55a6b6a09bd2b1c50216272545a8d1f/  EFI/  grub/  loader/

There's no longer an 'efi' so that's good.


> ./e55a6b6a09bd2b1c50216272545a8d1f:
> 3.19-rc6/
>
> ./e55a6b6a09bd2b1c50216272545a8d1f/3.19-rc6:
> initrd*  kernel*
>
> ./EFI:
> Boot/  EFI/  gummiboot/
>
> ./EFI/Boot:
> BOOTX64.EFI*

All OK.


> ./EFI/EFI:
> grub_uefi/
>
> ./EFI/EFI/grub_uefi:
> grub.cfg*  grubx64.efi*

Why two EFIs?

One of them's unnecessary but if you want to have both, you have to
have them both in the efibootmgr invocation.


> ./EFI/gummiboot:
> gummibootx64.efi*
>
> ./grub:
> fonts/  grubenv*  locale/  themes/  x86_64-efi/
>
> ./grub/fonts:
> unicode.pf2*
>
> ./grub/locale:
> de.mo*
>
> ./grub/themes:
> starfield/
>
> ./grub/themes/starfield:
> blob_w.png*        boot_menu_nw.png*  COPYING.CC-BY-SA-3.0*
>
> [...]
>
> ./grub/x86_64-efi:
> acpi.mod*              disk.mod*             geli.mod*
> macbless.mod*     parttool.lst*         test.mod*
> adler32.mod*           div_test.mod*         gettext.mod*
> macho.mod*
>
> [...]
>
> ./loader:
> entries/  loader.conf*
>
> ./loader/entries:
> e55a6b6a09bd2b1c50216272545a8d1f-3.19-rc6.conf*

All OK again.


Can you create an entry for your kernel in 40_custom and test it?

Take a look at grub.cfg. I doubt that grub-mkconfig looks for a kernel
in '/boot/machine_id/kernel_version/' or that it recognizes 'kernel'
and 'initrd' as valid names for a kernel and an initramfs.

Reply via email to