From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UiRx0-00032D-1D for mharc-grub-devel@gnu.org; Fri, 31 May 2013 12:13:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRwv-0002zT-Ev for grub-devel@gnu.org; Fri, 31 May 2013 12:13:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiRwq-0003go-AN for grub-devel@gnu.org; Fri, 31 May 2013 12:13:05 -0400 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:52819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiRwq-0003fX-48 for grub-devel@gnu.org; Fri, 31 May 2013 12:13:00 -0400 Received: by mail-ea0-f178.google.com with SMTP id q15so1875527ead.9 for ; Fri, 31 May 2013 09:12:58 -0700 (PDT) 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:x-enigmail-version:content-type; bh=01OhGlwj+BF7Yi+cAJJoMSgnBtGypnbdW2bTt4iYGZc=; b=uJ9+WK0sE/1RDweCntq3U1r6POyXTex4OD6HckJQhEC1euPPC5W2AljwjMHyNSC5XH Z07hHU02ydQcXlqwYUQxaOW2kzHbpBsOwPMkbYdrHa0pjn/PY7eTAp6G8Cp803IsF74+ o+ycD8zrbd6iBBHkwItRgynweDeqHIzYRul8oZQpXNv5LSuriiUYkeDIvySh1SvA4G+2 wCH5o/YZrtyWoy4O1tDL0dzLzK1oYXxljF56LVsxA7MdIqS4ot5lf4RcHsWWLl2vN5bM zclzZ1znNt8S1ruigtVUINnKXdhdg7FFD9lpgPbhSmPNQPsCMEQnqaHsuxe5cbfPTn7L zR6A== X-Received: by 10.14.210.5 with SMTP id t5mr14079019eeo.52.1370016778698; Fri, 31 May 2013 09:12:58 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id bo9sm54165588eeb.9.2013.05.31.09.12.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 09:12:58 -0700 (PDT) Message-ID: <51A8CC08.8060303@gmail.com> Date: Fri, 31 May 2013 18:12:56 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [RFC] Support for UEFI ESP in os-prober References: <1348931070.2008.14.camel@opensuse.site> <20130531184843.235759e8@opensuse.site> In-Reply-To: <20130531184843.235759e8@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2PKDLPUSJDJWJXOEDDTUT" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::232 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: Fri, 31 May 2013 16:13:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2PKDLPUSJDJWJXOEDDTUT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 31.05.2013 16:48, Andrey Borzenkov wrote: > =D0=92 Mon, 1 Oct 2012 13:25:50 +0200 > "Vladimir 'phcoder' Serbinenko" =D0=BF=D0=B8=D1=88=D0= =B5=D1=82: >=20 >> I haven=E2=80=98t had time to view in details but os-prober isn=E2=80=98= t managed by us but >> by debian-boot team so you need to contact them. Also I=E2=80=98d pref= er more of >> detection to be done on runtime than it=E2=80=98s done in current mode= l >=20 > In the meantime os-prober part is integrated in Debian as of 1.58. > The patch adds missing part from grub2 side. How does it look like? >=20 Go ahead. I must say I'm generally disappointed with os-prober and have ideas to move away from it. I'll start another topic for it. > --- > ChangeLog | 5 +++++ > util/grub.d/30_os-prober.in | 16 ++++++++++++++++ > 2 files changed, 21 insertions(+) >=20 > diff --git a/ChangeLog b/ChangeLog > index e9ef17e..798369d 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,8 @@ > +2013-05-31 Andrey Borzenkov > + > + * util/grub.d/30_os-prober.in: Add support for probing EFI > + System Partition (as of os-prober 1.58). > + > 2013-05-30 Josh Triplett > =20 > * grub-core/normal/cmdline.c (grub_cmdline_get): Fix Ctrl-u > diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in > index 04f32a1..5e3c5d8 100644 > --- a/util/grub.d/30_os-prober.in > +++ b/util/grub.d/30_os-prober.in > @@ -149,6 +149,22 @@ EOF > } > EOF > ;; > + efi) > + > + EFIPATH=3D${DEVICE#*@} > + DEVICE=3D${DEVICE%@*} > + onstr=3D"$(gettext_printf "(on %s)" "${DEVICE}")" > + cat << EOF > +menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class windows = --class os \$menuentry_id_option 'osprober-efi-$(grub_get_device_id "${DE= VICE}")' { > +EOF > + save_default_entry | sed -e "s/^/\t/" > + prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/" > + > + cat < + chainloader ${EFIPATH} > +} > +EOF > + ;; > linux) > if [ "x$BTRFS" =3D "xbtrfs" ]; then > LINUXPROBED=3D"`linux-boot-prober btrfs ${BTRFSuuid} ${BTRFSs= ubvol} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`" >=20 ------enig2PKDLPUSJDJWJXOEDDTUT 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.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlGozAgACgkQNak7dOguQgmUiQD8Do/H1B95gQzvaJyPRIlLwedI VZGR4WzVLnLYXaRf9XsBALGM2n6feAXNe63cEW6SYr6Mvqm1lFj/MX2WYWu07OQX =vBIb -----END PGP SIGNATURE----- ------enig2PKDLPUSJDJWJXOEDDTUT--