From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +AtrMcP12mFMfgEAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 15:48:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UK8rKsP12mGmUwEAG6o9tA (envelope-from ) for ; Sun, 09 Jan 2022 15:48:35 +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 358883A3D7 for ; Sun, 9 Jan 2022 15:48:35 +0100 (CET) Received: from localhost ([::1]:44494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6ZUo-0005vf-CQ for larch@yhetil.org; Sun, 09 Jan 2022 09:48:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6XiK-000416-9E for help-guix@gnu.org; Sun, 09 Jan 2022 07:54:24 -0500 Received: from sender11-of-o52.zoho.eu ([31.186.226.238]:21565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6XiH-0002Ez-5D for help-guix@gnu.org; Sun, 09 Jan 2022 07:54:23 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1641732858; cv=none; d=zohomail.eu; s=zohoarc; b=hwVWqGkOLnyYQGlWLFwCss0kGBiWQUqMpNqji9V3DF2Q5VkZBIJDErORszi3UoE6SNI35CngrClnFHOQ5BQQowyajc61FHetK09lRorpOKZteMJbLlXUDX7FGK/6+yXv4qmdYBDxJyKFixoFM6RRxB/FF3EkHRnpY8LaDKcDVD8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1641732858; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=K/mKav4ppzBX7I1NZqAxP1tGGHjFMA4zgMuhShdhqgI=; b=Jcnz3mEjRUpE7jrQZBXb4P7C0wPYvhsU5KdlgR1zh+q/ABDVKHRVs0r5zYwv48U2fG3ElcZFKVe69TMS41UTmuDX9BkiUZrN6LvtP+Ni5/mqaOOr1smAfpmoYhQm22zfHKpp7lyckkjDgMqbDyiYogsPetCwUq6H4stdjnT0GaQ= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=youni.world; spf=pass smtp.mailfrom=git@youni.world; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641732858; s=zmail; d=youni.world; i=git@youni.world; h=Date:From:To:Cc:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type; bh=K/mKav4ppzBX7I1NZqAxP1tGGHjFMA4zgMuhShdhqgI=; b=AMpDz4i1qaffIvGDGj7GH6bMD9ri2nrsvHwSIOhqk/rtqDFxmoebWCk23snHMlBj Ouci3QOsvz0i51lfpLRecgsstflHmD/UZRicK+PGXa6lJsciYnNLPT2WiaGhQfFNSVZ UJXpzaei9JA9YlD34nhL9xGtWgqN66+uJwKaFM/w= Received: from mail.zoho.eu by mx.zoho.eu with SMTP id 1641732855749296.04820545902703; Sun, 9 Jan 2022 13:54:15 +0100 (CET) Date: Sun, 09 Jan 2022 13:54:15 +0100 From: Youni Git To: "raingloom" Message-Id: <17e3ee757b0.b39b2bc9207746.3901897334257848757@youni.world> In-Reply-To: <20211229011137.23a3af92@riseup.net> References: <17df916775a.b9f446de119133.5335570200781620566@youni.world> <20211229011137.23a3af92@riseup.net> Subject: Re: Devuan replaced grub and runs before Guix MIME-Version: 1.0 Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=31.186.226.238; envelope-from=git@youni.world; helo=sender11-of-o52.zoho.eu X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 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, FROM_SUSPICIOUS_NTLD=0.498, HTML_MESSAGE=0.001, PDS_OTHER_BAD_TLD=1.859, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 09 Jan 2022 09:47:09 -0500 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641739715; 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=km7M9H/SFiQRtGOEJa2klioQOZ4V1/eR+1yIZnVZ2pU=; b=sMoD/g+Lx2isEwyYihOLcoNx0EzxP+sCpP/T0IaX5o1Uyr+LMUpt55NlQVQdSkzY1la1uz j2AISm/r9m3dnaDCvAq5ROFwF+jmESP8JdFFzG21Ix55PAIJbbPW0E5A0s8uZ6/1B/M3Ny 09xfmjt3Wu1++c/DRPnGZIC9akYsuyK42QFpP6MbA0TvNCwJbX5/tgTuvIl33cHap3twI1 l7DOltyL5N+zXYAtDZ1eaDokbgH4+wrlLgXqnKBezNm2P/bFWt6Mz3sH8WAssLPycIuU6i flg17PR6cOAS/EbiC23vBRP9NAK+h/VG2Maj1+iJDBGPxPXMeHZ77VXYfUp9KA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1641739715; a=rsa-sha256; cv=fail; b=L2ORtOy8JecOcWVOQzY+tzLf7cPWB99ezH7gr3kkQtkyYy1W36bxF30QD6OBjYSufCe6oj xWqTc2hq/Y8LByIsOawsIZmOhYzw6QW6AGv312PKmWG2f5WCXUrxAZQ3LNbwXqQRxZ9vgw 3l1Jbh3OG0oG6RD8HSoXm/nEkvhz8vZMnGcKcgXk7JnfmRLePbEFtPiuPF9nXRM8Kwecpp cluXnQJifJ/au2/MueoAtEzilxvqploAsx1ZbcU+68Q45kjlVbfN6T6g1OezAfn+1FmNzW 52CGKN7mbw+4cdKq2wYr3k/KWNL+dsmHJL4vSNJb8aTelyunUt0SmmOO9zQYgw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=youni.world header.s=zmail header.b=AMpDz4i1; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); dmarc=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: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=youni.world header.s=zmail header.b=AMpDz4i1; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.eu:reject}"); dmarc=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: 358883A3D7 X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: sULgjdHgIFgo I had this Guix grub entry in Guix OS: https://ibb.co/Btq1pV7 I created this grub menu entry in devuan: https://ibb.co/WH7hggw vim /etc/grub.d/40_custom menuentry "Guix" { =C2=A0 search --set=3Droot --fs-uuid 24c6dcca-d831-4f0a-ad59-efa1035be093 =C2=A0 search --file --set /gnu/store/y0dz7jdw78q3kgcjc8xy8zncxyl31k5p-linu= x-libre-5.13.13/bzImage =C2=A0 linux /gnu/store/y0dz7jdw78q3kgcjc8xy8zncxyl31k5p-linux-libre-5.13.1= 3/bzImage --root=3D/dev/sda2 --system=3Dvar/guixprofiles/system-33-link --l= oad=3D/var/guix/profiles/system-33-link/boot modprobe.blacklist=3Dpcspkr,sn= d_pcsp,bluetooth,btusb,ath3k =C2=A0 initrd /gnu/store/ccvhwm8h7h5xijab6gi65bjirz3nyxbv-raw-initrd/initrd= .cpio.gz } update-grub But I got Guix OS stops on here: https://ibb.co/JRZmCFK I found kernel, initrd and parameters like you advised. But actually hash d= iffers from that guix is using in parameters. And I don't know why it does not boot stopping on usb-bluetooth mouse detec= tion. I also tried to remove modprobe.blacklist and boot but also Guix stop= s on mouse detection. I just added 'search --set=3Droot' line is that a rea= son? May be I need to use --root UUID instead of /dev/sda2 ? find /gnu/store -maxdepth 1 -name '*-system' ...many entries ...-guix-system /gnu/store/vxzzh5rz9isqfx5krn3iq5ygzxbafbdi-system ls /gnu/store/vxzzh5rz9isqfx5krn3iq5ygzxbafbdi-system activate=C2=A0 boot=C2=A0 channels.scm=C2=A0 configuration.scm=C2=A0 etc=C2= =A0 initrd=C2=A0 kernel=C2=A0 locale=C2=A0 parameters=C2=A0 profile=C2=A0 p= rovenance root@antelope ~# ls -l /gnu/store/vxzzh5rz9isqfx5krn3iq5ygzxbafbdi-system/k= ernel lrwxrwxrwx 2 root root 51 Jan=C2=A0 1=C2=A0 1970 /gnu/store/vxzzh5rz9isqfx5= krn3iq5ygzxbafbdi-system/kernel -> /gnu/store/b64c0c8hw526b5742w75xii0ny0i4= 009-profile root@antelope ~# ls -l /gnu/store/b64c0c8hw526b5742w75xii0ny0i4009-profile/= bzImage=20 lrwxrwxrwx 2 root root 73 Jan=C2=A0 1=C2=A0 1970 /gnu/store/b64c0c8hw526b57= 42w75xii0ny0i4009-profile/bzImage -> /gnu/store/8xfrsfgdbfs1hyr49apzgmg66gg= c5khf-linux-module-database/bzImage root@antelope ~# ls -l /gnu/store/vxzzh5rz9isqfx5krn3iq5ygzxbafbdi-system/i= nitrd=20 lrwxrwxrwx 2 root root 69 Jan=C2=A0 1=C2=A0 1970 /gnu/store/vxzzh5rz9isqfx5= krn3iq5ygzxbafbdi-system/initrd -> /gnu/store/ccvhwm8h7h5xijab6gi65bjirz3ny= xbv-raw-initrd/initrd.cpio.gz root@antelope ~# cat /gnu/store/87vv0rknchgwghm3j2bqqpk2rqv2lxqx-parameters (boot-parameters (version 0) (label "GNU with Linux-Libre 5.13.13") (root-d= evice "/dev/sda2") (kernel "/gnu/store/y0dz7jdw78q3kgcjc8xy8zncxyl31k5p-lin= ux-libre-5.13.13/bzImage") (kernel-arguments ("modprobe.blacklist=3Dpcspkr,= snd_pcsp,bluetooth,btusb,ath3k")) (initrd "/gnu/store/ccvhwm8h7h5xijab6gi65= bjirz3nyxbv-raw-initrd/initrd.cpio.gz") (bootloader-name grub-efi) (bootloa= der-menu-entries ((menu-entry (version 0) (label "Devuan") (device #f) (dev= ice-mount-point #f) (linux "(hd1,gpt2)/vmlinuz") (linux-arguments ("root=3D= /dev/sdb2")) (initrd "(hd1,gpt2)/initrd.img")))) (locale "en_US.utf8") (sto= re (device #f) (mount-point "/") (directory-prefix #f) (crypto-devices ()))= )root@antelope ~#=20 ---- On Wed, 29 Dec 2021 01:11:37 +0100 raingloom wr= ote ---- On Mon, 27 Dec 2021 00:32:18 +0100=20 Youni Git wrote:=20 =20 > Hello, dear developers! Merry Christmas and Happy New year!I would=20 > like to ask questions I did not dug in the web, I hope there are=20 > short answers.I had Guix OS installed on /dev/sda and i had grub=20 > bootloader there configured to run guix and devuan from another sdd,=20 > my=20 > config:https://gitgud.io/youni/guix-configs/-/blob/master/config-wpa2-wlp= 5-wf-blacklist--my-desktop-services--isp.conf#L91Everything=20 > worked fine, i could boot to Guix or choose Devuan from the grub menu=20 > controlled by Guix.But i made Devuan 3 to Devuan 4 upgrades. And=20 > Devuan replaced grub and now i have no guix in the menu.I think i can=20 > add Guix to devuan grub menu, but I'm not sure I can find /vmlinuz=20 > and /initrd files in the Guix partitions.I have 3 questions:1. How to=20 > boot Guix manually from grub command line?2. How can I add Guix OS to=20 > devuan grub menu, which files i need to use for linux image and=20 > initrd, where to find them on Guix?3. Can I easy replace back grub by=20 > Guix making guix controls grub again?Thank you.=20 =20 Oh heck, I used to manually kexec Guix, but it was on a different drive=20 with its own GRUB install.=20 /run/current-system seems to point to store entries ending in -system.=20 So to find the store item:=20 find /gnu/store -maxdepth 1 -name '*-system'=20 Within the store item:=20 kernel/bzImage: this is the kernel image to boot.=20 initrd: this is the initramfs=20 =20 That should be enough info to build a GRUB menu entry. There are=20 some other options like modprobe.blacklist but I'm not sure where=20 they are in the store.=20 =20 Oh there is also the init binary. Uh. Not sure where that is.=20 =20 But I think this is a good enough starting point, hopefully you can=20 figure out the rest.=20 =20 Alternatively, maybe try chrooting into the Guix partition and running=20 reconfigure again?=20 =20 In any case, good luck!