help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a master grub2 in UEFI


From: Barry Jackson
Subject: Re: Using a master grub2 in UEFI
Date: Sun, 29 Mar 2015 11:36:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

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

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:

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

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

address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]