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 APoVO10j02LQEAAAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 22:45:18 +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 KL0lO10j02LA+wAAauVa8A (envelope-from ) for ; Sat, 16 Jul 2022 22:45:17 +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 956762B7AA for ; Sat, 16 Jul 2022 22:45:17 +0200 (CEST) Received: from localhost ([::1]:53614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCof6-0004XF-M1 for larch@yhetil.org; Sat, 16 Jul 2022 16:45:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCoes-0004VB-H4 for bug-guix@gnu.org; Sat, 16 Jul 2022 16:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCoes-0002OC-86 for bug-guix@gnu.org; Sat, 16 Jul 2022 16:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCoer-0006fQ-TD for bug-guix@gnu.org; Sat, 16 Jul 2022 16:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56582: Installer does not detect or allow detection of other bootable partitions Resent-From: Peter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Jul 2022 20:45:01 +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: Julien Lepiller Cc: Josselin Poiret , 56582@debbugs.gnu.org Received: via spool by 56582-submit@debbugs.gnu.org id=B56582.165800427825581 (code B ref 56582); Sat, 16 Jul 2022 20:45:01 +0000 Received: (at 56582) by debbugs.gnu.org; 16 Jul 2022 20:44:38 +0000 Received: from localhost ([127.0.0.1]:46202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCoeT-0006eW-Hi for submit@debbugs.gnu.org; Sat, 16 Jul 2022 16:44:38 -0400 Received: from mail-lj1-f170.google.com ([209.85.208.170]:36448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCoeQ-0006eH-46 for 56582@debbugs.gnu.org; Sat, 16 Jul 2022 16:44:36 -0400 Received: by mail-lj1-f170.google.com with SMTP id o12so9365817ljc.3 for <56582@debbugs.gnu.org>; Sat, 16 Jul 2022 13:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e6zBglruexKzuDydDbzqE6gfjhh/80z2nyGVDuVpRDc=; b=EQrddTobH4RBKRlszYax3+mOXjR5XaRwvTPuDfUN3K0FY0My4/GzJLNgoXRh6Qyohj 7WnyyaQOa6B8/J1lu8ionI6gYPBFMoiJijyl2DYUp4/of0Jd778bOJTGrM1v6Ef7Ij/+ UZx2s3ggF0fKTQvsOTB/vosTZ7P0p4MPHo2ZVcFN6WJzO1wiAnAxSi9rf4nBgMm9ywDr N6R6H7O8NQh9tLDgx438Wg12RiB9c6ghJq8Zn+oWxrK/meWm+ant2Or/Ngyl2rHSpqXQ FRCZKz444qjDwallbMRyKAGUCEmyscLnfaonZn2atql1S8IZUMYH8TBnujOBuqhPObZV yqPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e6zBglruexKzuDydDbzqE6gfjhh/80z2nyGVDuVpRDc=; b=VfWkaa+k2r7S2QEP1ZcvpVWdJd2gClwRtmgHB7F+ot5JGCdtbnlr7HL168taWtg80h QlwdzpdN0PLt8ju5xp3HqcOFKURP/28wqO3l9MQjHbkD0lLE4lmOMXng+7B/dtwD6kL6 3Bt41cmEhMvuUtFg5jUpewFtxbHSrgSYEvTkQ8fM6DkL++N8ltLLgw1MjXbzZrEpeOpD 5FYEE1BV9fa15jo1O4o4qbEug/BWO01XxBvJgTU8sgNxUDgt/DBgZmJhYT4ZLmdo1Vbs xzgCkFYqPXXKN3gqa/Q5zStXfw0a+Sb8VB7yPPRadJNW7wwg+koO7ML1TTF91ueAhnt+ OYLg== X-Gm-Message-State: AJIora8aS70h7i9ld3TYgQiiqK7R+Gcu24dFLcPp83eb0hH8jobaorRm Sms1Eh9RbyMuyl0FdcGZKYiFfTt/sO+BGz3A6Yg= X-Google-Smtp-Source: AGRyM1vBCiC6GDUh+J8eNafMafBrkiJIeqgwWhN/k9fLvINKLvDyJ3GFSiUx+0W10xMdRCsjcokw/V/eL0a5xp8VB8w= X-Received: by 2002:a05:651c:54a:b0:25d:6c19:448 with SMTP id q10-20020a05651c054a00b0025d6c190448mr10149439ljp.239.1658004267899; Sat, 16 Jul 2022 13:44:27 -0700 (PDT) MIME-Version: 1.0 References: <93F87F3F-F349-4152-829D-328F4FB078D4@lepiller.eu> <877d4dz8ce.fsf@jpoiret.xyz> In-Reply-To: From: Peter Date: Sat, 16 Jul 2022 16:44:17 -0400 Message-ID: Content-Type: multipart/alternative; boundary="0000000000006ca1c305e3f2333d" 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=1658004317; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=e6zBglruexKzuDydDbzqE6gfjhh/80z2nyGVDuVpRDc=; b=AQAiRwWK/YKHI1Guz1HaHGUrdLwA33KTqrJQb/X3pKZu0u8H5RRCNW78FDddBPjpsXiQo8 HBYNCyfrjn70DcCtEqK/Rj5y0ZXsBE2/0KXWGRmFB01av0lMQshYdhtfhXbWqHYqETS9v+ rghLATxiO0BArXcZ7lTZUf8tct8NRbJkajKPc7H6s2UGBgvwzDCBF3xuYshWl++G6L8KG8 H0ietFUllCBesVopI2eLfIURdCvfFAlOUD7RdCY7hEVox9maiCIioko50WbBLr60/hAdYf 0D3q/50gNFJALOcg7ThN2txHsTI696wbeOQUWH2Xw50ja+vqxU0WdmnYgd+h9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658004317; a=rsa-sha256; cv=none; b=L+v054meNDy/VVLc0HHriHPlyLbK7gYiRrX/mm1EwmPKwhDkTIscDPk0qUasiaVCvsbcJH PGAvefBFTBiAoirgP+HB6W25Ji04AvBMcXDTAi+RlLZ+FwoD5NIuVy0ShLmDZQec5CLapO JEMUSyCAtqYltdnEzJ7R7nACuq0m1GW4PbWI+RtbeRsbBsYVnPWQuwjcp93QAYGjOjPU8l xMLf6aVek9hRi7qJdpvUN8LhOw3mI/ZXwo9VKCoPW3ogdJq6SWL0oV8Ma+26B7WQxT+bPZ BfjTzaeP2oVQZoR6XXdemGBvPbzogIFytbw3dsfEpMAHEcKAi3FM7DRqSA6efw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQrddTob; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EQrddTob; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 956762B7AA X-Spam-Score: 5.56 X-Migadu-Scanner: scn0.migadu.com X-TUID: ueXuJ8Jvn5Vw --0000000000006ca1c305e3f2333d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, My concern is that what is written in the manual for bootloader-config and invoking-guix-system does not clearly communicate what needs to be done for those who have no exposure to either Guix or Scheme. I did actually view those entries at first, but it seemed theoretical at first glance and I kept moving because I was looking for an expected binary. To expand on this, Guix installs GRUB. This is undeniable, and this is where the problem begins.. over many years users are accustomed to GRUB working in a certain way with specific tools.. when they encounter a grub installation without grub-mkconfig, etc. they are at a loss, because it's a binary they expected to find and it's just not present. I think an argument could be made here that this behaviour breaks user space because it's established software, but changed to function differently as opposed to being something entirely new. It's like wearing your shoes on the opposite foot. You can do it, but it feels wrong. The way Debian and other distros manage Grub is via mkconfig, and the boot menu presented is very similar to Guix's, the only difference is that there's an extra row entry in the grub menu for the Windows bootloader to be launched. Personally, I dislike Grub because I feel it complicates things. I would love to use only UEFI and use only the bios boot menu to switch, but for whatever reason in a single internal drive system, this isn't easily done. Giving an example, awhile back, I tried installing a distro to an external usb drive.. it worked.. but the problem is that it installed grub to the internal drive.. and if you removed the usb drive from the pc, things would break because now a device it was expecting to see wasn't there. A workaround suggested was to disconnect the internal drive, do the setup, this way Grub would be on the external drive, then reconnect the internal drive and then I guess use the bios uefi menu to switch between, a lot of bother for a tightly sealed unit. The way MS's bootloader works is nice because one of the menu options it has is to pick a physical device so you can actually boot from a valid bootable USB flash drive device and it launches that device directly. Maybe the solution is just to create an EFI partition at the front of all drives including external as Apple does and then it doesn't matter what bootloader you use or do not use, because you could always just use the UEFI menu to point to a device. Not using a bootloader would reduce complexity of maintenance.. if MS's bootloader is there, people can use it if they want to point to the device, and if it is not there, then they can use the uefi bios menu. In theory. MBR folks would still need to continue using a bootloader of course. Best, Peter On Sat, Jul 16, 2022 at 6:32 AM Julien Lepiller wrote: > If anything, you also need to chainload to boot on haiku, which is free > software. So no reason not to implement it. > > Le 16 juillet 2022 11:59:29 GMT+02:00, Josselin Poiret > a =C3=A9crit : >> >> Hello both of you, >> >> Julien Lepiller writes: >> >>> Of course this is only a workaround I'm proposing, we should fix the in= staller to detect other OSs. >>> >> Just adding that we don't have any Guix bootloader entry field to >> chainload into another bootloader, needed for some non-free system :) >> this would need to be added as well. >> >> I personally don't mind, and use my UEFI boot menu instead if I want to >> boot into said non-free OS. >> >> Best, >> -- >> Josselin Poiret >> >> --0000000000006ca1c305e3f2333d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

My concern is that what = is written in the manual for bootloader-config and invoking-guix-system doe= s not clearly communicate what needs to be done for those who have no expos= ure to either Guix or Scheme. I did actually view those entries at first, b= ut it seemed theoretical at first glance and I kept moving because I was lo= oking for an expected binary.

To expand on this, Guix in= stalls GRUB. This is undeniable, and this is where the problem begins.. ove= r many years users are accustomed to GRUB working in a certain way with spe= cific tools.. when they encounter a grub installation without grub-mkconfig= , etc. they are at a loss, because it's a binary they expected to find = and it's just not present. I think an argument could be made here that = this behaviour breaks user space because it's established software, but= changed to function differently as opposed to being something entirely new= . It's like wearing your shoes on the opposite foot. You can do it, but= it feels wrong.

The way Debian and other distros manage = Grub is via mkconfig, and the boot menu presented is very similar to Guix&#= 39;s, the only difference is that there's an extra row entry in the gru= b menu for the Windows bootloader to be launched.

<= div>Personally, I dislike Grub because I feel it complicates things. I woul= d love to use only UEFI and use only the bios boot menu to switch, but for = whatever reason in a single internal drive system, this isn't easily do= ne. Giving an example, awhile back, I tried installing a distro to an exter= nal usb drive.. it worked.. but the problem is that it installed grub to th= e internal drive.. and if you removed the usb drive from the pc, things wou= ld break because now a device it was expecting to see wasn't there. A w= orkaround suggested was to disconnect the internal drive, do the setup, thi= s way Grub would be on the external drive, then reconnect the internal driv= e and then I guess use the bios uefi menu to switch between, a lot of bothe= r for a tightly sealed unit.

The way MS's bootloader= works is nice because one of the menu options it has is to pick a physical= device so you can actually boot from a valid bootable USB flash drive devi= ce and it launches that device directly.

Maybe the soluti= on is just to create an EFI partition at the front of all drives including = external as Apple does and then it doesn't matter what bootloader you u= se or do not use, because you could always just use the UEFI menu to point = to a device. Not using a bootloader would reduce complexity of maintenance.= . if MS's bootloader is there, people can use it if they want to point = to the device, and if it is not there, then they can use the uefi bios menu= . In theory.

MBR folks would still need to continue using= a bootloader of course.

Best,
Peter=


On Sat, Jul 16, 2022 at 6:32 AM Julien Lepiller &l= t;julien@lepiller.eu> wrote:
If anything,= you also need to chainload to boot on haiku, which is free software. So no= reason not to implement it.

Le 16 juille= t 2022 11:59:29 GMT+02:00, Josselin Poiret <dev@jpoiret.xyz> a =C3=A9crit=C2=A0:
Hello both of you,

Julien Lepiller <julien@lepiller.eu> wri= tes:
Of course this is= only a workaround I'm proposing, we should fix the installer to detect= other OSs.
Just adding that we don't have any Guix boo= tloader entry field to
chainload into another bootloader, needed for som= e non-free system :)
this would need to be added as well.

I perso= nally don't mind, and use my UEFI boot menu instead if I want to
boo= t into said non-free OS.

Best,
--
Josselin Poiret
--0000000000006ca1c305e3f2333d--