From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: Automatically detect other OSs and generate grub entries Date: Tue, 18 Jul 2017 01:29:41 +0530 Message-ID: <1272df80.AEEANfr63OcAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZbRc4@mailjet.com> References: <87zic36v7y.fsf@gnu.org> 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]:54209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <1272df80.AEEANfr63OcAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZbRc4@bnc3.mailjet.com>) id 1dXCBS-0003ju-Hq for guix-devel@gnu.org; Mon, 17 Jul 2017 15:59:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <1272df80.AEEANfr63OcAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZbRc4@bnc3.mailjet.com>) id 1dXCBP-0003aw-RT for guix-devel@gnu.org; Mon, 17 Jul 2017 15:59:58 -0400 Received: from o177.p9.mailjet.com ([87.253.234.177]:43947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <1272df80.AEEANfr63OcAAAAAAAAAAAOtZhgAAAACwQwAAAAAAAW9WABZbRc4@bnc3.mailjet.com>) id 1dXCBP-0003ZS-B0 for guix-devel@gnu.org; Mon, 17 Jul 2017 15:59:55 -0400 In-reply-to: <87zic36v7y.fsf@gnu.org> 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: Ludovic =?iso-8859-1?q?Court=E8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > Arun Isaac skribis: > >> Instead of having to manually specify custom grub entries in config.sc= m, >> 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 part= of the > target audience. :-) > > Thoughts? I too now only have a single OS. So, I don't really need this feature either. But, I do think we should offer an user experience as close as possible to other distros. Hence, I think automatic os detection and grub generation is worthwile. It's nice to have the grub work automagically out of the box. Also, I noticed that custom grub entries are a problem for the proposed "guix system delete-generations" https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00194.html Would automatic grub generation solve, or at least alleviate, this problem?