From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VsNp9-0005Ss-VU for mharc-grub-devel@gnu.org; Sun, 15 Dec 2013 21:22:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsNp0-0005Q2-6U for grub-devel@gnu.org; Sun, 15 Dec 2013 21:22:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsNor-0004w5-QS for grub-devel@gnu.org; Sun, 15 Dec 2013 21:22:14 -0500 Received: from mail-la0-x234.google.com ([2a00:1450:4010:c03::234]:44791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsNor-0004vT-Ht for grub-devel@gnu.org; Sun, 15 Dec 2013 21:22:05 -0500 Received: by mail-la0-f52.google.com with SMTP id y1so2383092lam.39 for ; Sun, 15 Dec 2013 18:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=28KthZ0z+UEOLQEGrHPm6zwKGrvsduYwnbnAAS5lE9w=; b=QKwoBgCHA7u/DWRa+69Ml5sTnh8l69OJsgDRrZHuSVZRn16Q0TkStttWkwiuX2Wyrv B5Zn0lXBg6Z53aNkNOA6/rZ/jEi3ZcyE2HN1b6O4VWQ5YGORBdke3pNzaOdZa1zVoGEQ 0su43JyGEsY0hVMNu+cGKhkn5us2q1wtp8mdJKItAR6mlxrlD05/MtF+RHtdtW/+IzLH 8B80vhzDxiyR+pvPrKS2x8wqwYvGU7ELteZia6dItzoA9T71dX+004KN/MAC+ZCcxwnx QpDKD9D0Ysz7LwQw7qDt7/OVl7e2+mykJVxTX8M138aSV80/Fv8Fga0iTFp6vsMyirvd h7/w== X-Received: by 10.112.172.69 with SMTP id ba5mr1797799lbc.55.1387160524514; Sun, 15 Dec 2013 18:22:04 -0800 (PST) Received: from opensuse.site (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id di11sm18617885lac.0.2013.12.15.18.22.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 15 Dec 2013 18:22:03 -0800 (PST) Date: Mon, 16 Dec 2013 06:22:01 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: [grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo Message-ID: <20131216062201.45b549a4@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::234 Cc: j.e.vasquez.v@gmail.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 02:22:22 -0000 В Sun, 15 Dec 2013 13:24:14 -0600 Javier Vasquez пишет: > 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.