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 EDFhNQT+j2L/UwEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 00:24:04 +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 cLdINQT+j2JV7AAAauVa8A (envelope-from ) for ; Fri, 27 May 2022 00:24:04 +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 7113736E for ; Fri, 27 May 2022 00:24:04 +0200 (CEST) Received: from localhost ([::1]:41822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuLtg-0007Pr-OT for larch@yhetil.org; Thu, 26 May 2022 18:24:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuLrK-0004ja-U3 for help-guix@gnu.org; Thu, 26 May 2022 18:21:35 -0400 Received: from knopi.disroot.org ([178.21.23.139]:47922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuLrI-00089Z-RY for help-guix@gnu.org; Thu, 26 May 2022 18:21:34 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1964643949 for ; Fri, 27 May 2022 00:21:30 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vepFMo_TICKl for ; Fri, 27 May 2022 00:21:29 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1653603689; bh=wCFg69jBAeDKWVsYVpkzDGePfw+u3AHak7L7hVfDAlo=; h=Date:From:Subject:To; b=Hf5IC+DZYdCarPq0KBuIqSuNR2uGrXeh3jQxhZG+q0mkWazq5GIgBk/TNnoro0QLC 4EClo6yEEqH3tPbcmC/PBx6UWBWRchAHMxFAc0ejOAReDe70k2lbhUJlIAGVB+XBXM H1vvN0mvvlDZNK5bx3jy6fa0qNqf20jutB30cG9Q/kxTj+a6nQ+9mSwUzrbvrhdPZs mwDmCCFLD5LCfFEEGQB23EGopMwJYrW1KxBPH7MRYQPTo9WVV/sTUsWyLhDdgWskRm o+SixJCgcXINBdfZBD6KHjphe9AHb4JTkzbjt+C2BmL/stJtPbjG8PPmuTQeF87h4v YpnFCau6HlZNQ== Date: Thu, 26 May 2022 22:21:28 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: kiasoc5@disroot.org Message-ID: <45a3b0f65ad8a06985a6ae12289136da21c03dee@disroot.org> Subject: How to install guix system from existing linux with guix package manager? To: help-guix@gnu.org Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org 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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-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=1653603844; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=h68YKXi6nhU/fePQRddVKKu+00kYrvMOocNk7PRWLUg=; b=OioeoqW0mMjM5mXw0YsP+fzMWqJ/89NpZfbCrFHyGnUNTqHBzevl++T6OnT8Y5Yg4fb9Tk KIrd3J90BoxJlURp/hOTXBOg0cV+8tRWGVLUZyBZF/oKqT/ciZ6FzInoh8D7yOy29wyTHR 9Qf9cjP5+2/Jy0Byr5xQ9QrGFOCoYoerZsdNDNnATqpAeLsEFYat5z+BTlI0XvUG7R5gKv 8TMZLGiMYDaYSRmvzAZS9XMg0PtJ/qoJgwKMjN4Oa3IdFd+/oQoQ06Prv/fSW+OTyk2HxF goM21TmuyK0r2HceFTHg50hq1H6kgDNPE1LdyC+ZUnqzMm0GCSN8bc5MPiMxoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653603844; a=rsa-sha256; cv=none; b=j58yW1taqLLuwqRDGN+OFBl/pUibKc8OMZzfA8meHmmInucv98pn5NbBTELa0Ixv+VdVJq B7jKHNJdI/Vp+/mACZ+6Tgu2Dj4NrdOE+DmaATogQDMQIQgDJ8XWEEqq8XoHxq+ihiYuCQ 9DimVoZrYDMr7lZ7HNaqk3qZW04RoKKA2EqO0lPMi/Ph79/lo66FDSBlJdpBatKt98+t/M Hfa0KV9kipWqmorO6QSxJK9vVulA27MDRZr/A/+jPT97kc685nmYiuH7VuiLuwdojzA2gU S73QMrho81rDL4zTehKoiFChbL8etOBK4Ay0Y6418tw8w33fiA35+4FxVePBLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=Hf5IC+DZ; dmarc=pass (policy=quarantine) header.from=disroot.org; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=Hf5IC+DZ; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: 7113736E X-Spam-Score: -1.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: QtT3Qn0EhXTM How would I install Guix system from an existing Linux that has the guix = package manager on it (aka from a foreign distro)? Specifically I have Guix installed on Arch Linux on an encrypted btrfs ss= d. I have a @home subvolume mounted on /home. Currently /gnu/store is not= a subvolume, but I'd like to reuse it for guix system. I also have the e= fi system partition for uefi boot. What I'd like to do is install Guix system and boot from a subvolume. Ide= ally the guix fstab would be like this: @guix-root is mounted on / on guix system @gnu-store is mounted on /gnu/store on guix system and shared between arc= h and guix @home is mounted on /home and shared between arch and guix So I think the steps are as follows: 0. backup data (just in case) 1. move /gnu/store to subvolume 2. install Guix system manually with the following file systems: (mapped-devices (list (mapped-device (source (uuid "my-uuid")) (target "cryptroot") (type luks-device-mapping)))) (file-systems (append (list (file-system (device (file-system-label "cryptroot")) (mount-point "/") (type "btrfs") (options "subvol=3D@guix-root") (dependencies mapped-devices)) (file-system (device (file-system-label "cryptroot")) (mount-point "/gnu/store") (type "btrfs") (options "subvol=3D@gnu-store") (dependencies mapped-devices)) (file-system (device (file-system-label "efi")) (mount-point "/boot/efi") (type "vfat"))) %base-file-systems)) 3. configure uefi to boot guix grub by default WDYT? any tips/suggestions?