From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cEDLH2BR0mIoYQEAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 07:49:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CAagH2BR0mJhQQEAauVa8A (envelope-from ) for ; Sat, 16 Jul 2022 07:49:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 134642BEA4 for ; Sat, 16 Jul 2022 07:49:20 +0200 (CEST) Received: from localhost ([::1]:52308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCag3-0007Wv-5k for larch@yhetil.org; Sat, 16 Jul 2022 01:49:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCafm-0007WO-RL for bug-guix@gnu.org; Sat, 16 Jul 2022 01:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCafm-0008Ld-Au for bug-guix@gnu.org; Sat, 16 Jul 2022 01:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCafm-0007Gp-4q for bug-guix@gnu.org; Sat, 16 Jul 2022 01:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56582: Installer does not detect or allow detection of other bootable partitions Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Jul 2022 05:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56582 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Peter , 56582@debbugs.gnu.org Received: via spool by 56582-submit@debbugs.gnu.org id=B56582.165795049227889 (code B ref 56582); Sat, 16 Jul 2022 05:49:02 +0000 Received: (at 56582) by debbugs.gnu.org; 16 Jul 2022 05:48:12 +0000 Received: from localhost ([127.0.0.1]:42764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCaex-0007Fk-Fy for submit@debbugs.gnu.org; Sat, 16 Jul 2022 01:48:11 -0400 Received: from lepiller.eu ([89.234.186.109]:44262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCaeq-0007F4-ED for 56582@debbugs.gnu.org; Sat, 16 Jul 2022 01:48:09 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 6c50de1e; Sat, 16 Jul 2022 05:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=X9SbCed3PCUc odpLAds6bRDLkzHTsVpsz/WTDGK487c=; b=dvOp8AtyrTw6t0qgHrBv9S+q5qQ+ ad2C3Lj8snhJ30YG3NA7BRwl0hHOaIBX6RezvRD0HgxhRjvxeCIUs2We03rKeebt yEbkCPYlerWNiDX1Q00xoqG/WkTDt8K6K7VyoiWqQi+/2YT9ixC87I114GM3XjEU 0uJurwcJjvhvpHE+idkKseFwRAWA1eua1EcHfMKXc7IEE156tKj7GfShw/IhPeIG +fkqwToyCHTxlqOTMmuD8Ocd7ZG6sZlz8HgO6BtSykD2311Uk7RwCYeLPtTfJIq/ 00GjYwNJHrO0M73XVht+J1/ufGNcjZ5tWlmPqc9lebCy5W6WuW0MmBJuRA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 0dbc999c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 16 Jul 2022 05:48:01 +0000 (UTC) Date: Sat, 16 Jul 2022 07:46:18 +0200 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <93F87F3F-F349-4152-829D-328F4FB078D4@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----9LJLFT9UNE81DIKK41AXE0IJEMQALZ Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657950560; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=X9SbCed3PCUcodpLAds6bRDLkzHTsVpsz/WTDGK487c=; b=P2oyPvR1uSd7IcJW9shLKB3un1AgmhxqnLzjSB7KrPlN5nMt13JpF0SwPgxXWACJ2bWTc3 SV/lBLtsjdzy5HxSZWsHdPqK+gwEYbZXuc48df5JpMzmR6ZyH5rvbWN1mTlOEyi6x5a9FI Sd0LRYPUMaWzlIc5zE3ruZf51MQ1PP8t55uwdU0zP2MRimmdwt81F+riXUdcQmCZO7vQmB qZbK/WjyJhjzf/csL0yPB7uVd5CQGrvcPfjcc5LGv2OmxowQxctKLoBhZ+ebarQIJS/Y8i bhiX1JGhcvW7+Q9/zblxgkiibflY0tM5sYXg8F6XPIsV4SG+/xbnzpoO0n0nSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657950560; a=rsa-sha256; cv=none; b=K5VlPeYn+bhdZOyI7Y/OCa98Ve5Uj5hijQISznhljtFadzwEYvaEqsBj68zfoNZdnmloEL DQpBrpZ6nRLHaQ6p728IDL/Uz0PRBpRKzoxaGqMVuLsdtEYizVnwMePdGc/V4cXXtHQ920 tRRWtmREuI7kD4jJpbTQe0wNzqP0LJz6JWKpnix8fB6l6uGO5aob2l8SRIAlQM/Wqo5x9c CD8SlhBhDBNI/qMbIlA6v5CGvbtxvUh/QmCxXCcFH2tGx4L6ZaIOW9nXEs+4Mfb9FdKQGy LgeS4kMMesSBbkmivLuwyRIJDPHHfF+MnwvPOHw2kKpWJm/RBu1rWAycT2r6Og== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dvOp8Aty; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dvOp8Aty; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 134642BEA4 X-Spam-Score: 5.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: EP0RgXjRZ7SK ------9LJLFT9UNE81DIKK41AXE0IJEMQALZ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Peter, This is indeed not nice=2E Guix does not provide a useful package that wou= ld reinstall boot configuratipn because boot configuration is managed toget= her with the rest of the system configuration=2E You need to update your /etc/config=2Escm to declare more entries, and rec= onfigure=2E Here are the relevant chapters in the manual: https://guix=2Egnu=2Eorg/manual/devel/en/html_node/Bootloader-Configuratio= n=2Ehtml (in particular, see menu-entry) https://guix=2Egnu=2Eorg/manual/devel/en/html_node/Invoking-guix-system=2E= html (see reconfigure) Of course this is only a workaround I'm proposing, we should fix the insta= ller to detect other OSs=2E HTH! Le 15 juillet 2022 22:10:46 GMT+02:00, Peter a =C3= =A9crit=C2=A0: >Hi, > >This is a particularly AWFUL user experience bug=2E Installing GUIX to a >partition only lists GUIX in the grub boot menu afterward despite the >existence of other bootable OSes on the drive=2E > >Ok fine thinks I, I will just need to manually run grub's mkconfig to for= ce >re-detection=2E But this command does not exist in GUIX=2E Installing gru= b did >not create grub2-mkconfig=2E Installing osprober wasn't helpful=2E > >I did not see documentation on how to make GUIX detect and add other >operating systems to the boot menu from userland=2E After much time waste= d, I >needed to download another distro, install it so it would repair the boot >menu, and then be able to boot into my main partition=2E > >Recommendation: >Installer needs to detect and add to the menu the other OSes=2E >Documentation needs to show how to do it manually via a different method = if >GUIX does not include grub2-mkconfig otherwise it needs to warn upfront >that this distro should not be used on multi-boot PCs=2E > >Best, >Peter ------9LJLFT9UNE81DIKK41AXE0IJEMQALZ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Peter,

This is indeed not nice=2E Guix d= oes not provide a useful package that would reinstall boot configuratipn be= cause boot configuration is managed together with the rest of the system co= nfiguration=2E

You need to update your /etc/config=2Escm to declare = more entries, and reconfigure=2E Here are the relevant chapters in the manu= al:

https://guix=2Egnu=2Eorg/manual/devel/en/htm= l_node/Bootloader-Configuration=2Ehtml (in particular, see menu-entry)<= br>
https://guix=2Egnu=2Eorg/manual/devel/en/html_node/I= nvoking-guix-system=2Ehtml (see reconfigure)

Of course this is o= nly a workaround I'm proposing, we should fix the installer to detect other= OSs=2E

HTH!

Le 15 juillet 2022 22= :10:46 GMT+02:00, Peter <sunspark@gmail=2Ecom> a =C3=A9crit=C2=A0:
Hi,

This is a parti= cularly AWFUL user experience bug=2E Installing GUIX to a partition only li= sts GUIX in the grub boot menu afterward despite the existence of other boo= table OSes on the drive=2E

Ok fine thinks I, I will just need = to manually run grub's mkconfig to force re-detection=2E But this command d= oes not exist in GUIX=2E Installing grub did not create grub2-mkconfig=2E I= nstalling osprober wasn't helpful=2E

I did not see documentat= ion on how to make GUIX detect and add other operating systems to the boot = menu from userland=2E After much time wasted, I needed to download another = distro, install it so it would repair the boot menu, and then be able to bo= ot into my main partition=2E

Recommendation:
Installer needs to detect and add to the menu the other OSes=2E
=
Documentation needs to show how to do it manually via a different meth= od if GUIX does not include grub2-mkconfig otherwise it needs to warn upfro= nt that this distro should not be used on multi-boot PCs=2E

Be= st,
Peter

------9LJLFT9UNE81DIKK41AXE0IJEMQALZ--