From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uGEyGJ9MKWH7YgEAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 22:35:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YMS4E59MKWFxVgAAB5/wlQ (envelope-from ) for ; Fri, 27 Aug 2021 20:35:43 +0000 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 F01A81F605 for ; Fri, 27 Aug 2021 22:35:42 +0200 (CEST) Received: from localhost ([::1]:59600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJiZg-0006T5-L2 for larch@yhetil.org; Fri, 27 Aug 2021 16:35:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJiZV-0006Su-AM for help-guix@gnu.org; Fri, 27 Aug 2021 16:35:29 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:51286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJiZT-0008GP-Bb for help-guix@gnu.org; Fri, 27 Aug 2021 16:35:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=zmvUU+8103Jdy ecPOGI43Y0QzAdG3op7vjx8KMT9ESM=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=jbpKjEfybu78pcWwU03CyXWjxNpp+F3LBuCalXsfc tAb6qHXGb/OUiBzIr0Q1HSJaC03K9qlfwY3gZ2xR0TxJjjtqRi3dnh0pjyEqPGC7LEAeQE zLIJTef2owM4PoIKrCBFRe0GiPxO9XjaXxEfdbHN5HaFd8txhfPcfdqjaWWAjEg/N83B82 XjeI3GkwAimMwlcd/3li48Eb1//T685QM5hJLoArb91Bc7yNIPvpnD3BWToLP/RhlTl0Pg G6hgX+0NXsCZZDI2pTWkdf/3xfw+WGqbp4TT3cM/Ur4pxljpFABwdAsv2MoPjfXSiQ0Wtp 7gPSlYqDjQv1xLZ118Ujg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 99a2d8d2; Fri, 27 Aug 2021 20:35:20 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 27 Aug 2021 22:35:20 +0200 From: Tobias Geerinckx-Rice To: znavko@disroot.org Cc: help-guix Subject: Re: Boot Guix from Grub on Coreboot laptop In-Reply-To: <8469fea0041309a3a5df02a65d61a9e7@disroot.org> References: <8469fea0041309a3a5df02a65d61a9e7@disroot.org> Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630096543; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zmvUU+8103JdyecPOGI43Y0QzAdG3op7vjx8KMT9ESM=; b=YVxNPCkp0051N5mV8rYgylK0cxwPdwcz0PGehRzApScOSv5HZRYlUK+OZJ17B7hzXAuctC +StZCVbovNSRon7E5Htmes8zm1FjRXCGb+w015OWPrgC/Z/SK2At61ig1vI9X+N4oqLwM2 KlE1hbK2hFXwHKxgWa4NaXODCHaXrh3izTQkZzlFoB13vA/vJd7G5mjw2Sl+S2dWThGTMb hg4TSaLxkELBtN7w8KqoEb5PRHFIPrRpkwQW8AUQQOY7GMEBYTgoRFw4mY9OzLsEjzpt3J mzLSSTuNSrnce6AFySx4JN93FUsWeHPMS+/oEO+zIqql0LoIgfn7P/by2DuZ8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630096543; a=rsa-sha256; cv=none; b=fjHwNiodqwcr98t0LO1IAt02EAIgEHDY087t+xinthME6LpMcKs3IjAKVnzoK60YULsmiR m7sexYFp45Z0YoJvZ3dxhX5tl/1xE1ImJppoNSGI5V0zQnPiwqEgEFHtc5Pw+KM9OpaWbF dI97lsJV+rJr6DZlvSI2WqDZ2SZh2UMO6MyEUFN088p+bAWBbIsfAuzTT7Fe1mmPo9kSeN 01rbqKULefWJ9oSpHhHWjqujE+l5kWE5CUtQkjca676LX1Akj1XrqQAZpOqiTvHeC+u4uy IsLKp2wgRX8SyCeV6tyoiB06qwFkhFPFUClk4jDPbVGcGL5OecXv/pXviJpG7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=jbpKjEfy; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=jbpKjEfy; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: F01A81F605 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: QCwK48fap1pk Hi znavko, TL;DR: see 'configfile' below. On 2021-08-27 21:52, znavko--- via wrote: > I burned an usb-stick that is booting perfectly on my PC, but it does > not boot on the coreboot laptop. When I choose from the menu "Search > ISO linux menu (USB)" it does not start booting from usb. If that's a verbatim quote, that's one unclear menu entry! I wonder if it's trying to refer to ISOLINUX[0], software we don't use at all. Maybe it's just an awkward way of saying "search for .iso image files, on a file system, on a USB drive"...? I'm just guessing here, but can't think of a reading that would be relevant to booting a correctly-created Guix installer and would disregard this option as irrelevant. > And I enter grub command line and type: >> ls > ... (usb1) (usb1,msdos2) >> set root=(usb1,msdos2) >> chainloader /efi/boot/bootx64.efi > error: unrecognized payload type. You need a UEFI 'OS' like Tianocore to run .efi programmes. Your other laptop boots one, your Coreboot one doesn't, by design. That's OK: GRUB doesn't need UEFI, nor does Linux. Don't try to chainload the GRUB on the USB drive at all. Instead, simply let Coreboot's GRUB parse the Guix installer's configuration file directly like so: configfile (usb1,something)/boot/grub/grub.cfg I can't say for sure what the exact drive + file name should be, but it will be very close. Then Coreboot will display Guix's menu instead of its own, and you should be able to boot Guix with it. Separately setting $root has never been necessary IME. > I do not know what to do here. > I also tried to find 'vmlinuz' and 'initrd' on '(usb1)' but it's hard > to find them there. (...who still uses 'vmlinuz'? Anyway, Guix doesn't.) Even then, this approach won't work. The kernel and initrd file names alone aren't enough to boot the system. See the Guix ISO's grub.cfg's 'linux ...' line. > Can you help? Could Guix OS boot under Coreboot? Yes, but only if you call it by its name 'Guix System' from now on :o) Here's a guide from someone who does so, although it seems to assume you use LUKS and Libreboot: Good luck! T G-R [0]: https://wiki.syslinux.org/wiki/index.php?title=ISOLINUX