From: Andrey Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: j.e.vasquez.v@gmail.com
Subject: Re: [grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo
Date: Mon, 16 Dec 2013 06:22:01 +0400 [thread overview]
Message-ID: <20131216062201.45b549a4@opensuse.site> (raw)
In-Reply-To: <CALUrRGcSvwThPsg3Vr=of-qetPmx_69=AoY0+YGteJbk6fC8Ag@mail.gmail.com>
В Sun, 15 Dec 2013 13:24:14 -0600
Javier Vasquez <j.e.vasquez.v@gmail.com> пишет:
> Hi,
>
> With latest git repo, after compiling/installing:
>
> % sudo grub-install --boot-directory=/boot --recheck /dev/sdb
> FATAL: Error inserting efivars
> (/lib/modules/3.12.5/kernel/drivers/firmware/efi/efivars.ko): No such
> device
> Installation finished. No error reported.
>
The message comes from modprobe because platform is not EFI. grub tries
to load efivars exactly to verify whether we are on EFI or not. So
while it is harmless it is indeed not nice.
Hmm ... I'm not sure we really need it at all (in
grub_install_get_default_x86_platform). Directory /sys/firmware/efi is
not created by module efivars and we check whether this directory
exists. I think it can safely be removed.
next prev parent reply other threads:[~2013-12-16 2:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-15 19:24 [grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo Javier Vasquez
2013-12-15 21:49 ` Javier Vasquez
2013-12-16 2:22 ` Andrey Borzenkov [this message]
2013-12-16 18:20 ` [PATCH 0/2] allow redirect of stderr in grub_util_exec* Andrey Borzenkov
2013-12-16 18:20 ` [PATCH 1/2] consolidate grub_util_exec code Andrey Borzenkov
2013-12-16 18:20 ` [PATCH 2/2] use grub_util_exec_redirect_all to silence "moprobe efivars" Andrey Borzenkov
2013-12-16 18:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131216062201.45b549a4@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=j.e.vasquez.v@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).