On 29/03/15 09:24, Andrei Borzenkov wrote:
В Sat, 28 Mar 2015 23:27:23 +0000
Barry Jackson <[email protected]> пишет:

How can I stop this happening?


Currently you can't. Drop a mail to grub-devel with good use case for
it. Workaround is to use --efidir=/tmp (or any other directory).

Thanks Andrei,
I tried various directories but all error:

[root@localhost baz]# grub2-install --efi-directory=/tmp
Installing for x86_64-efi platform.
grub2-install: error: failed to get canonical path of `tmpfs'.

[root@localhost baz]# grub2-install --efi-directory=/dev/null
Installing for x86_64-efi platform.
grub2-install: error: failed to get canonical path of `devtmpfs'.

[root@localhost baz]# grub2-install --efi-directory=/home/baz
Installing for x86_64-efi platform.
grub2-install: error: /home/baz doesn't look like an EFI partition.

Any ideas?

I get an error: no multiboot header found


That's correct, this is EFI PE, not multiboot, and you need to use

chainloader /boot/grub2/x86_64-efi/core.efi

Yes that works fine


Not sure how easy would be to have common multiboot image
under /boot/grub. But it makes sense indeed, to make chainloading
easier.

I will post to -dev ML.

Cheers,
Barry


_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to