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)



Reply via email to