From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VpIe7-0002CO-A7 for mharc-grub-devel@gnu.org; Sat, 07 Dec 2013 09:14:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIe0-0002C3-N2 for grub-devel@gnu.org; Sat, 07 Dec 2013 09:14:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpIdv-00004x-B8 for grub-devel@gnu.org; Sat, 07 Dec 2013 09:14:08 -0500 Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]:62154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpIdv-00004s-3x for grub-devel@gnu.org; Sat, 07 Dec 2013 09:14:03 -0500 Received: by mail-ee0-f54.google.com with SMTP id e51so757785eek.41 for ; Sat, 07 Dec 2013 06:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=GWg+RJe3ElT1KuG2L7LJUqeymCox2eHWUbK79ybqyrI=; b=myglDSKb40pIJqgztmOyH+cwJCZORoglZblImPY03kXkWaa3EYPeyatANSi1x+4RrD HK6idnwUmmuMARBXNzKvVeDbAuxwqd5C2aI05i6XbuuwRWYGl0mzjQtmZRjev1rcPPQ6 PutWbttQDeB9BgqACwVnyqLG1xGnNxuj35PjYl2WtANYWcnnDwYrGUk7zsCNeRArSIyu Robr5gvMIvIPNczdbBAIpWJebuMvPsK/OxgM1ZXsNv2AYSCxIGMMvO31UPfpL/IKog9+ ine0H4X+BWFN/3UKnK0vbDEn3GWOghnZdGgw/U0VndNcK4mRnXrvw76690oK/5DHnEJi xaBg== X-Received: by 10.14.150.5 with SMTP id y5mr830241eej.73.1386425642093; Sat, 07 Dec 2013 06:14:02 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id g47sm6827079eeo.19.2013.12.07.06.14.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Dec 2013 06:14:01 -0800 (PST) Message-ID: <52A32D28.1010001@gmail.com> Date: Sat, 07 Dec 2013 15:14:00 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device References: <52A2EDA1.7020303@gmail.com> <1386411585-31020-1-git-send-email-arvidjaar@gmail.com> <52A32791.7020008@gmail.com> <20131207175901.1802ddd6@opensuse.site> In-Reply-To: <20131207175901.1802ddd6@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2VGXHLXOTXBEVOPUKCNES" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::236 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 14:14:14 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2VGXHLXOTXBEVOPUKCNES Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07.12.2013 14:59, Andrey Borzenkov wrote: > =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: >=20 >> On 07.12.2013 11:19, Andrey Borzenkov wrote: >>> grub-install already resolved passed install device to grub device. S= o do the >>> same as grub-setup and strip parenthesis if we get legacy (hdX). >>> >> Did you test it with both syntaxes? >=20 > Yes. >=20 Go ahead for both parts. Colin told on IRC that he's ok with this patch as well. > linux-cor4:~ # /usr/local/grub2/sbin/grub-install '(hd1)' > FATAL: Error inserting efivars (/lib/modules/3.11.6-4-pae/kernel/driver= s/firmware/efi/efivars.ko): No such device > /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/us= r/local/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/driver= s/firmware/efi/efivars.ko): No such device > /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/us= r/local/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-Q= EMU_HARDDISK_QM00002 > FATAL: Error inserting efivars (/lib/modules/3.11.6-4-pae/kernel/driver= s/firmware/efi/efivars.ko): No such device > /usr/local/grub2/sbin/grub-install: warning: cannot open directory `/us= r/local/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 >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2VGXHLXOTXBEVOPUKCNES Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKjLSgACgkQmBXlbbo5nOv4IQD/ZBSkKAZe9g8HNxfF57I/ifL+ OVxObivWGMt30WJpQNAA/AsIkbCoXSB1pfMLBR+NqHUCICw3QJSZu6oymQlxvV85 =He3j -----END PGP SIGNATURE----- ------enig2VGXHLXOTXBEVOPUKCNES--