From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eFh1KNWny2HwvQAAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 01:12:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aD7tJdWny2FnHQEA9RJhRA (envelope-from ) for ; Wed, 29 Dec 2021 01:12:05 +0100 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 7E3E95E7D for ; Wed, 29 Dec 2021 01:12:04 +0100 (CET) Received: from localhost ([::1]:41254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2MZX-0001fV-JG for larch@yhetil.org; Tue, 28 Dec 2021 19:12:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2MZI-0001d2-2b for help-guix@gnu.org; Tue, 28 Dec 2021 19:11:48 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2MZF-0002Mc-Rp for help-guix@gnu.org; Tue, 28 Dec 2021 19:11:47 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4JNsJs2y3PzDv49; Tue, 28 Dec 2021 16:11:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1640736701; bh=EW5E9DG2JWx8L9nXtlfpEeIbGLZV/uUAzX79bJCcAvc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fTof/J6PAhtXsLdvDtkvGPYu3ESkBqXH3sA4H2Z/GtMmCMQ1lmZLCe50rohubd4KC DFo2D7VxxB7nIVeJ5k0MtjkB7tohltZkc2ECJ2UUUGh7Wxq7wq6WrVyI5iWlPE3Jmx W34dJjmzjvSiTDvHT3ZOr5BekgK1MOaMmhJHZjLA= X-Riseup-User-ID: F75C014BC02FFD5E39CBF73DFDB28ADC7CF2EABA6E1CA6052EBC5602A01C9774 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4JNsJr38NRz1yT2; Tue, 28 Dec 2021 16:11:40 -0800 (PST) Date: Wed, 29 Dec 2021 01:11:37 +0100 From: raingloom To: Youni Git Subject: Re: Devuan replaced grub and runs before Guix Message-ID: <20211229011137.23a3af92@riseup.net> In-Reply-To: <17df916775a.b9f446de119133.5335570200781620566@youni.world> References: <17df916775a.b9f446de119133.5335570200781620566@youni.world> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640736725; 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=EW5E9DG2JWx8L9nXtlfpEeIbGLZV/uUAzX79bJCcAvc=; b=nETo1p7FB68BUq40/c2K0XfH9FkyrUOWkszW9DGq2grEyWIYW31FPqdGQthFbPvy77x/f2 4BZM4uVLAPD8sL2/YtYkmkvXcIJwAlf9H11EDrQftz0vIFamuuPAoX1S1XQlnJpbkoUcsZ CxmvpUz2a6BLB9yWKSQVV3twa0uCpcH0y3oVcoHgJpu6TxDwB9vBXZNEX2z/O31/KxgYYi /qTBIayC6xQ7GuwArZZuoK+onWrZ9KNba9b/lXLYPemQJ7t/LXnxUsWWiqMSCjcmtqrVeo eoE9f0ULUQtusi1hWB6VZ5IqA6tf4IcYNVtRWPf+QPOT+1hOjzaFntf4wUeaRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640736725; a=rsa-sha256; cv=none; b=h0LUOA85f87+gah4cPWNID/IUt8g1PUQAPSmAEg9fqcgXuNC3NwaXs5X530ouqE6CWDwVv nClFHTOtVJyI9stXQZesVHRHXxIdSiVr3MUj0KyTOx/yx0DkUE3oZKFJ2Trxkgrw1QjqD+ KP5/fEiM9NnP48ZP4KT9FtmUsD9afo/ibLb/fmxiqBp1tBNsKfCduHDXxhWLpiMita2DkF 1rGoooz3lh/h9W63tAB29o5MEZgpA04zGNESxSLq+ryTtXyKwycc6//6BBH6fUifvAFWtv EUR7j6EHsW0Cqs1wOdDQNTLfh7CKeNZ2NgzMv6kuaGtAT1+o9fjycvP5qpaevA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="fTof/J6P"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="fTof/J6P"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7E3E95E7D X-Spam-Score: -2.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: gmRpLs/QeRSu On Mon, 27 Dec 2021 00:32:18 +0100 Youni Git wrote: > Hello, dear developers! Merry Christmas and Happy New year!I would > like to ask questions I did not dug in the web, I hope there are > short answers.I had Guix OS installed on /dev/sda and i had grub > bootloader there configured to run guix and devuan from another sdd, > my > config:https://gitgud.io/youni/guix-configs/-/blob/master/config-wpa2-wlp5-wf-blacklist--my-desktop-services--isp.conf#L91Everything > worked fine, i could boot to Guix or choose Devuan from the grub menu > controlled by Guix.But i made Devuan 3 to Devuan 4 upgrades. And > Devuan replaced grub and now i have no guix in the menu.I think i can > add Guix to devuan grub menu, but I'm not sure I can find /vmlinuz > and /initrd files in the Guix partitions.I have 3 questions:1. How to > boot Guix manually from grub command line?2. How can I add Guix OS to > devuan grub menu, which files i need to use for linux image and > initrd, where to find them on Guix?3. Can I easy replace back grub by > Guix making guix controls grub again?Thank you. Oh heck, I used to manually kexec Guix, but it was on a different drive with its own GRUB install. /run/current-system seems to point to store entries ending in -system. So to find the store item: find /gnu/store -maxdepth 1 -name '*-system' Within the store item: kernel/bzImage: this is the kernel image to boot. initrd: this is the initramfs That should be enough info to build a GRUB menu entry. There are some other options like modprobe.blacklist but I'm not sure where they are in the store. Oh there is also the init binary. Uh. Not sure where that is. But I think this is a good enough starting point, hopefully you can figure out the rest. Alternatively, maybe try chrooting into the Guix partition and running reconfigure again? In any case, good luck!