-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01/28/2015 06:08 PM, Stefan G. Weichinger wrote: > On 28.01.2015 23:51, Tom H wrote: > >> 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. > > I don't know why. > > What I did: > > cd /boot rm -fr * gummiboot install grub2-install > --target=x86_64-efi --efi-directory=/boot/efi > --bootloader-id=grub_uefi --recheck > > (and maybe run kerninst to actually put a kernel and its initrd > there) > > > The grub2-install-command was just taken from shell history. It > might be *wrong* ... yes. At least it says it runs without > errors. > > > When I run: > > # grub2-install --target=x86_64-efi --bootloader-id=grub_3 > --recheck > > Installing for x86_64-efi platform. grub2-install: error: cannot > find EFI directory. > > >> 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. > > grub2-mkconfig did not detect any kernel, yes. > > That doesn't matter btw ... the reason to have grub2 in parallel is > just the feature to boot iso-files (rescue media ...). > > All this additional grub2-fiddlery is basically learning how to > make it work and getting the convenience of not having to insert a > CD now and then. > > For daily work I am perfectly happy with gummiboot *just* booting > my kernel(s) ... which works already! > > thanks, regards, Stefan > > (leaving now ... late here as mentioned) >
You have mounted your ESP on /boot, so you need to tell grub *that* is your ESP, not "/boot/efi", like so: # grub2-install --target=x86_64-efi --efi-directory=/boot Once you do that, everything should pretty much Just Work. - -- Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUyt+NAAoJEEIQbvYRB3mgolYP/1g9YlZ/IYaLlKNFOMiEKaIa KrsF+ne2vmITUXtLsVtwCDZNIQyHj6c/Ma7zHpm9Kbzn2OxpKt8dduDNdpA8QLwx E3TM3pV0AfCYRDazH6pZmHRpDc7gVTtz4yQA/uGJyyFynwqJ3LlPYqMzTv6zFUrf lJSBBHuNBU340xAukPf6iEMrNh5CbdT9bzzJGyEPfsGcAM3kDO0DlQC1jf8hgCwr YJsH/WB+EBJ4TR4phzYvAdGOJF04PAwtqTkBjmbyjTwNYy1oaZILu5qjEaHuA+PH Eybba4Dj3/ItIEyG8cy0Qw7fjUXby01OAYtnLUXMhBH7lxSsBFzcSvihxv3bpt+u HvHiOi3M+jWYpfhF1rUEGcK3pF8X7gDiQTaDkERzv+EcDLHG19McZPDb3Gpva6qi oot3O+ky5MQLuG9euhavalEMm2mDCQmSMkS7gVQff5tGUCeUc5fzLKXd1Sywj4Ze tSBctEU1gMpHenl0XO2FJ7OdgkAAeMYKSBkJJhLhYg8iXe7oBC09VmQeoPBvuwAR IMzOYJkD6+FY8pOdXQujRWnM47H9/r0434B+2nLujPQ1fgc/MHpVrv7LGwFMEocU 3UloQH4Mh927WNa/F9ilBwl5R0b8vh2hhymj8VENZmsPPB6hV5ZSsvGQ6somL+/r 4ULEtTdoNWUrIVVUvMjF =IoH5 -----END PGP SIGNATURE-----