From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Automatically detect other OSs and generate grub entries Date: Wed, 30 Aug 2017 12:18:02 +0200 Message-ID: <87fuc92wbp.fsf@gnu.org> References: <87zic36v7y.fsf@gnu.org> <874lua2hfw.fsf@gnu.org> <5d344b4e.ADkAAC1SuZUAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZpb8_@mailjet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn04Y-0003F3-1t for guix-devel@gnu.org; Wed, 30 Aug 2017 06:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn04S-0001T9-DL for guix-devel@gnu.org; Wed, 30 Aug 2017 06:18:10 -0400 In-Reply-To: <5d344b4e.ADkAAC1SuZUAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZpb8_@mailjet.com> (Arun Isaac's message of "Wed, 30 Aug 2017 00:53:01 +0530") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Arun Isaac Cc: guix-devel@gnu.org Hi Arun, Arun Isaac skribis: > Ludovic Court=C3=A8s writes: > >> Amirouche Boubekki skribis: >> >>> On Mon, Jul 17, 2017 at 3:39 PM Ludovic Court=C3=A8s wro= te: >>> >>>> Arun Isaac skribis: >>>> >>>> > Instead of having to manually specify custom grub entries in config.= scm, >>>> > can Guix use os-prober to automatically detect other operating system >>>> > and generate grub entries? >>>> > >>>> > https://joeyh.name/code/os-prober/ >>>> >>>> I think there is value in having everything in the GuixSD config, which >>>> can then be put under version control. >>>> >>>> Now, I have a single OS on my machines so I=E2=80=99m probably not par= t of the >>>> target audience. :-) >>> >>> My understanding is that os-probe could generate part of GuixSD config. >> >> Ah yes, that=E2=80=99d be easy and useful. The first step would be to m= ake a >> package for it. > > I have packaged os-prober. > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28281 I guess a next step could be to document it in the installation manual. Or we could write a new tool that creates an =E2=80=98operating-system=E2= =80=99 template based on =E2=80=98os-prober=E2=80=99 output? Thoughts? Ludo=E2=80=99.