From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VpIPi-0007Rb-Og for mharc-grub-devel@gnu.org; Sat, 07 Dec 2013 08:59:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIPZ-0007Qe-1r for grub-devel@gnu.org; Sat, 07 Dec 2013 08:59:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpIPQ-0004D7-Ko for grub-devel@gnu.org; Sat, 07 Dec 2013 08:59:13 -0500 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:36354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIPQ-0004D0-Bu for grub-devel@gnu.org; Sat, 07 Dec 2013 08:59:04 -0500 Received: by mail-lb0-f170.google.com with SMTP id w7so724437lbi.29 for ; Sat, 07 Dec 2013 05:59:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type; bh=zzU84pgSkwk9Idzdvhs6XwKkv0s1FdmTcXCzhIQmaF8=; b=VBR/pxvjCsdMQkT6qQD060XbX5HWD9Qpbg+tZnCauYFnruO6gunnzID/9Ur4g4tJWI Y194rj0uZNUXx7ESpvhg2W9I67YLleaEUYJ4GpjRuTz7H8TDVQVksuXb/wHIj9LPWBSL ISdE7gdMIdNJSEgQfIOqwEd3b+kbIVggR/b/NSWV9tW5qeDXel+7eXecvPc8u9MZ2486 YhOi0CoUtjOPFDUHAG3/Bf0sfRmca2LUBwZ+OfixgmpsyGAZjCeNgiRhetQqlsEA93eP ehMluWB+nNeHa+5DlH7PuJAq7SRyiOd5h+ibo3y27C2V5CIithQmF4yQq1Afz42r85uG w01Q== X-Received: by 10.152.120.7 with SMTP id ky7mr1241lab.83.1386424743164; Sat, 07 Dec 2013 05:59:03 -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 t9sm3054890lat.1.2013.12.07.05.59.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 07 Dec 2013 05:59:02 -0800 (PST) Date: Sat, 7 Dec 2013 17:59:01 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device Message-ID: <20131207175901.1802ddd6@opensuse.site> In-Reply-To: <52A32791.7020008@gmail.com> References: <52A2EDA1.7020303@gmail.com> <1386411585-31020-1-git-send-email-arvidjaar@gmail.com> <52A32791.7020008@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/zsIW6M0pIHQNtU5jhCjOOVZ"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22a 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: Sat, 07 Dec 2013 13:59:21 -0000 --Sig_/zsIW6M0pIHQNtU5jhCjOOVZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Sat, 07 Dec 2013 14:50:09 +0100 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > On 07.12.2013 11:19, Andrey Borzenkov wrote: > > grub-install already resolved passed install device to grub device. So = do the > > same as grub-setup and strip parenthesis if we get legacy (hdX). > >=20 > Did you test it with both syntaxes? Yes. linux-cor4:~ # /usr/local/grub2/sbin/grub-install '(hd1)' FATAL: Error inserting efivars (/lib/modules/3.11.6-4-pae/kernel/drivers/fi= rmware/efi/efivars.ko): No such device /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/usr/lo= cal/grub2/share/locale': No such file or directory. Installation finished. No error reported. linux-cor4:~ # /usr/local/grub2/sbin/grub-install /dev/sdb FATAL: Error inserting efivars (/lib/modules/3.11.6-4-pae/kernel/drivers/fi= rmware/efi/efivars.ko): No such device /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/usr/lo= cal/grub2/share/locale': No such file or directory. Installation finished. No error reported. linux-cor4:~ # /usr/local/grub2/sbin/grub-install /dev/disk/by-id/ata-QEMU_= HARDDISK_QM00002 FATAL: Error inserting efivars (/lib/modules/3.11.6-4-pae/kernel/drivers/fi= rmware/efi/efivars.ko): No such device /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/usr/lo= cal/grub2/share/locale': No such file or directory. Installation finished. No error reported. linux-cor4:~ # cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 (hd1) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00002 linux-cor4:~ # exit --Sig_/zsIW6M0pIHQNtU5jhCjOOVZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlKjKaUACgkQR6LMutpd94z4DwCfV/fpmcUakPX3YtVxnbB21YLJ iqEAoJIr95M6iYorPK+OBBlvXaUSus9I =XIz7 -----END PGP SIGNATURE----- --Sig_/zsIW6M0pIHQNtU5jhCjOOVZ--