Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVWzU-0006Ja-A6 for mharc-grub-devel@gnu.org; Mon, 15 Feb 2016 23:11:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVWzR-0006J7-3P for grub-devel@gnu.org; Mon, 15 Feb 2016 23:11:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVWzN-0007E7-TN for grub-devel@gnu.org; Mon, 15 Feb 2016 23:11:53 -0500 Received: from prv3-mh.provo.novell.com ([137.65.250.26]:57786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVWzN-0007E1-LX for grub-devel@gnu.org; Mon, 15 Feb 2016 23:11:49 -0500 Received: from leap-t5810.suse (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by prv3-mh.provo.novell.com with ESMTP (TLS encrypted); Mon, 15 Feb 2016 21:11:34 -0700 Date: Tue, 16 Feb 2016 12:11:29 +0800 From: Michael Chang To: The development of GNU GRUB Subject: Re: [RFC] grub-install: allow none or multiple install devices on PC BIOS Message-ID: <20160216041129.GA340@leap-t5810.suse> Mail-Followup-To: The development of GNU GRUB 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <56BEDB76.1090301@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 137.65.250.26 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 04:11:54 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 chainloa= ding > >>>> from other master loader. Such image can be put on any device (or fi= le > >>>> system) and will still be able to find its $root. Currently even with > >>>> --no-bootsector grub-install optimizes image by skipping UUID search= if > >>>> possible. > >>>> > >> > >> Actually I think it is useful for all platforms. > >=20 > > As it works across all platform, os-prober should consider chanloading > > core images if possible rather than digging into grub configs. Is there > > any plan for that ? > >=20 >=20 > At least on EFI it is not possible to chainload GRUB from /boot until it I'm skeptical to this. From what I know it's possible because grub's efi 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. Honestly I didn't really test it, but glancing at the source code it sounds promoising to work to me. Thanks, Michael > supports multiboot; and even then it will be multiboot2, so it means > separate commands. We have enough issues with efi-specific linux loaders = :( >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWwqFxAAoJECE79XLnP4Ran5cIAM625FdFtg8VTGeB/KqEhMyo mGERJhhdpBrjoCpCVroF7TGOjjGWYRpURVDrX08Vmm3bXdr556ufCABzcicEKwsT P//4QjZ+f1JjP7S+0+mVKdzf/XwGiVRrYPq6F5IUNZcMQAnduFCRT76sPOVWKgbQ zBDf17RvX2B2IxRFm1pklw+jhRceX2ZeiTn5Rnjd3pyFdams/GVSH7zHjBs35Wfv NSqxj4CTASwZ1klIB6ad+CK3sDyY4dBceJ6A8/2flwAubhIyLlsql3EEeStppZiD vpndgtBOSlgqHlrZZLn/dfW2u+1hg0ZwPrI9prGiL0P10f4ajrYM08YrnAxdRT8= =mPFM -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--