From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sJ0gHng7+WWVbAEAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Mar 2024 08:15:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sJ0gHng7+WWVbAEAqHPOHw (envelope-from ) for ; Tue, 19 Mar 2024 08:15:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fedora.email header.s=aug2020 header.b=d05A72w5; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710832504; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2R+CbsgphjLI2G/5Zk2/NuC+SzCmyinElz8litKBvo8=; b=C1hFaGT8m6WaC0YLVQBZpOHL3VmzD6ahlVTSfwNmeQbShSLIFVVLSVGPlam5vFFb2VzCjb EVHIxSq6Dma9droWz9/tJL7VCzIJ9axVgJwr04avMoD/HmX3yK6hR9I1wn/1nfU5qWCDAT 7PWnPzonhsGsC5YFJjWU1/zS2bI1NRApftNp/XVebAKKv/hUrkoAb22hzcdhqTpDuCWYSe R8o41zCQTg5xh5mSQnd/ke1HscXNz53bc+PqqdF/7JqRyQAwrtfxBGGwf0T+/AYoAalljg fpl85v9a6qqtHbY3++9TRoZBGW8ZcByk7GfRFR+942i9b1/fnRE6qv7riVdJ0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710832504; a=rsa-sha256; cv=none; b=MJsK+JPzhh3Xb3okTSktw+I52uwpYHzG3TxsN8GWNK9rIX3ZmDhsPwQR/vsZ7/nGYrNA4N Jw4eX/Emr/xSVD0+yTytUjOml5/OYA325dZxdCbASFlHKTzhXnTcTrq5YmIkgU6XHosg3F 7RcPdBHnSwH1bU6nRIQyOtOdn+mC3lHzQ0ODNvoXQsNmdZ9wiKZFTzPncjT9opLoa2Cwc8 g2WYXCmJ8Kuc659lhpTSr/JCRZhYtARMEcyB4+7FdV9hwJQHgJki5WaPQASK1FxbIxUlVE 8WaCcscP97EeO0vq4E+DBIvcBOxAVECrsXeqcItU6Eda7DYCL2yEuvN7k5mrjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fedora.email header.s=aug2020 header.b=d05A72w5; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 16E963E14E for ; Tue, 19 Mar 2024 08:15:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmTCd-0006tJ-TU; Tue, 19 Mar 2024 02:44:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhvBv-0001sP-M7 for bug-guix@gnu.org; Wed, 06 Mar 2024 12:36:31 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhvBv-0007Tm-CA for bug-guix@gnu.org; Wed, 06 Mar 2024 12:36:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhvCP-0004ls-UF for bug-guix@gnu.org; Wed, 06 Mar 2024 12:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69588: (chain-loader) declaration will write invalid string on grub.cfg if "+1" is specified instead of an EFI file path. Resent-From: William Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Mar 2024 17:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69588 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69588@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170974657018269 (code B ref -1); Wed, 06 Mar 2024 17:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2024 17:36:10 +0000 Received: from localhost ([127.0.0.1]:51332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhvBZ-0004kZ-Ne for submit@debbugs.gnu.org; Wed, 06 Mar 2024 12:36:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:54564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhuth-0004HQ-5o for submit@debbugs.gnu.org; Wed, 06 Mar 2024 12:17:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhut3-0004y1-W1 for bug-guix@gnu.org; Wed, 06 Mar 2024 12:17:07 -0500 Received: from fedora.email ([205.185.120.125]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhut2-0000CJ-2l for bug-guix@gnu.org; Wed, 06 Mar 2024 12:17:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fedora.email; q=dns/txt; s=aug2020; bh=2R+CbsgphjLI2G/5Zk2/NuC+SzCmyinElz8litKBvo8=; h=from:subject:date:message-id:to:mime-version:content-type:content-transfer-encoding; b=d05A72w5tPOMinxQGd68YA/cDppjx5g0dtGCbgWDN+iYw1ZNvkkCM26YSXGrch4OEGSS1QUN/ UrkhxK8kZCCtIifHZ7Axf0SRC+l4uZIdeqBpRrSxRJBX9l6OfqCT8NZzwN9YHAloBd0VwaMNVVz gedbzY+ZCV8kKGruvPVI3e0= Received: from localhost ([185.242.251.197] 185.242.251.197-ip.operadors.cat) (Authenticated sender: willbilly) by fedora.email (ZoneMTA) with ESMTPSA id 18e14c4a4630000176.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 06 Mar 2024 17:16:55 +0000 X-Zone-Loop: fc627eb680036a59d4167eacd7e1f8ed642d20ddef1f X-Originating-IP: [185.242.251.197] Date: Wed, 6 Mar 2024 18:16:47 +0100 Message-ID: <20240306181647.7af71dc3@fedora.email> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=205.185.120.125; envelope-from=willbilly@fedora.email; helo=fedora.email X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 06 Mar 2024 12:36:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 19 Mar 2024 02:44:01 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: William From: William via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.97 X-Spam-Score: -5.97 X-Migadu-Queue-Id: 16E963E14E X-Migadu-Scanner: mx11.migadu.com X-TUID: /Ubid/hsVVb0 The current (chain-loader) declaration seems to only work properly when booting in EFI mode[1], as that way you have to specify a file path to chainload an operating system that's not compatible with GRUB such as Windows, but this solution will not work properly when using "+1" for the old MBR/msdos partition table that required bootstrapping, not a filesystem path, as explained in GRUB's documentation[2]. I've asked about this issue on the guix-help mail list and someone pointed out where the problem is on the source file[3], it's only a matter of submitting a patch to fix it so it parses properly when the (chain-loader) declaration has "+1" for bootstrapping instead of a path. [1]: https://guix.gnu.org/manual/en/guix.html#chain-loader [2]: https://www.gnu.org/software/grub/manual/grub/grub.html#chainloader [3]: https://lists.gnu.org/archive/html/help-guix/2024-03/msg00032.html