From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVk6P-0005L5-R8 for mharc-grub-devel@gnu.org; Tue, 16 Feb 2016 13:11:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVk6N-0005GX-CL for grub-devel@gnu.org; Tue, 16 Feb 2016 13:11:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVk6J-0006p1-7J for grub-devel@gnu.org; Tue, 16 Feb 2016 13:11:55 -0500 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:36478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVk6I-0006ow-Vw for grub-devel@gnu.org; Tue, 16 Feb 2016 13:11:51 -0500 Received: by mail-lb0-x231.google.com with SMTP id x1so23403017lbj.3 for ; Tue, 16 Feb 2016 10:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type; bh=wQsU4q3tMY4Jx0vaR30KozX0nV/jhdsPwxlsBRWjqlM=; b=CUgVBki7DdqSwJRmI6clPdDVgxw6SEvj9SaCEWZsJNcHj/8RaSra6VOTfC2zqB80DG 5O+aDxUv54uw/jvTnBqwimkExhwDUYDwIjLe3+te+ErACuBJqIANZCt/opiGM/01uez5 BMd6J5VAR9A8lialOxgQm+j0HJdrxUwQJAO39PQgp9Pnblx0CoDgEHNt2Ui/QM7jA5jb Gc9EV4Rymdh01VLkRDM2NFoRat0PI6uOG2RkYhAhcZQ8ezPbl7+qH2vQ0K0thV+pf0xm NI4WsUbuxEEvB3ADtsCTFJl9qIuFIZ81/XXH4aE9RKmh7WYmGv84LhasfWPcxHMDbZq5 xVbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=wQsU4q3tMY4Jx0vaR30KozX0nV/jhdsPwxlsBRWjqlM=; b=eqk6ux3/iQ54dLymr6P00lLewyec6HwUDZUjftVqGmuSUhdJ23HO2Z4DAR29PJG7+V e6mpoWbW1yF970n20nVTMKyv682paM1ufb5dN8vDK7INSj3nNC5s74sAdzze1obPv4bD FoUlZFI4G+iBlx91QJ0VB7NnWvSo4SnUzXCSnFUm/g3aQYZb6p/Qwcv714Oplnc1LTYC 4i5DxB9bEbnfaSGl3BJdA0+KrMKAFzQz4y6+NJkYevgj5WHK7oSFRO3JWumR24sZRJLA xkZtz0+gecEb9OfPgV6emfwDpc34QxONqtOds7Of9Ya5SQePHcQD8Mgp4QErpsa8P90x ly7g== X-Gm-Message-State: AG10YOQGyF0DSAW92n6T9AqLUliApdnEcx6VUPkqD1lS2S3vnFU6BGZBHNECYfaR16Al+Q== X-Received: by 10.112.149.2 with SMTP id tw2mr10505155lbb.75.1455646308876; Tue, 16 Feb 2016 10:11:48 -0800 (PST) Received: from [192.168.1.41] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id f184sm4567091lfe.6.2016.02.16.10.11.47 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 10:11:47 -0800 (PST) Subject: Re: [RFC] grub-install: allow none or multiple install devices on PC BIOS To: grub-devel@gnu.org References: <1431111221-32399-1-git-send-email-arvidjaar@gmail.com> <20150512105222.GA7529@linux-dsax.tai.apac.novell.com> <20150512145700.195e76a7@opensuse.site> <20150512152206.GA10504@linux-dsax.tai.apac.novell.com> <56BEDB76.1090301@gmail.com> <20160216041129.GA340@leap-t5810.suse> From: Andrei Borzenkov Message-ID: <56C36662.3080005@gmail.com> Date: Tue, 16 Feb 2016 21:11:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160216041129.GA340@leap-t5810.suse> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="I0TOilIe7URoaNePgw9Qr2w03VtrUfd92" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::231 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: Tue, 16 Feb 2016 18:11:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --I0TOilIe7URoaNePgw9Qr2w03VtrUfd92 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 16.02.2016 07:11, Michael Chang =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Sat, Feb 13, 2016 at 10:29:58AM +0300, Andrei Borzenkov wrote: >> 12.05.2015 18:22, Michael Chang =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> On Tue, May 12, 2015 at 02:57:00PM +0300, Andrei Borzenkov wrote: >>>> =D0=92 Tue, 12 May 2015 18:52:22 +0800 >>>> Michael Chang =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>>> >>>>> On Fri, May 08, 2015 at 09:53:41PM +0300, Andrei Borzenkov wrote: >>>>>> There are two main applications. >>>>>> >>>>>> 1. Omit install device to create generic image intended for chainl= oading >>>>>> from other master loader. Such image can be put on any device (or = file >>>>>> system) and will still be able to find its $root. Currently even w= ith >>>>>> --no-bootsector grub-install optimizes image by skipping UUID sear= ch if >>>>>> possible. >>>>>> >>>> >>>> Actually I think it is useful for all platforms. >>> >>> As it works across all platform, os-prober should consider chanloadin= g >>> core images if possible rather than digging into grub configs. Is the= re >>> any plan for that ? >>> >> >> At least on EFI it is not possible to chainload GRUB from /boot until = it >=20 > I'm skeptical to this. From what I know it's possible because grub's ef= i > chainloader reads efi image via it's own filesystem support, so that it= > did not limited by what firmware could offer. And LoadImage can accept > SourceBuffer as an option to pass the pointer of loaded image buffer > directly. >=20 > Honestly I didn't really test it, but glancing at the source code it > sounds promoising to work to me. >=20 Yes, indeed. I'm not sure what went wrong last time I tried it; I had problem with device path. Still, this is core.img vs. core.elf, which means it is platform dependen= t. --I0TOilIe7URoaNePgw9Qr2w03VtrUfd92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlbDZmIACgkQR6LMutpd94yxtQCgjipg2uRT/WD7VVp7NfXXMJnb HpAAoNTLBri/AGWPEWEBdHnk5xxIhrjO =2gQm -----END PGP SIGNATURE----- --I0TOilIe7URoaNePgw9Qr2w03VtrUfd92--