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 GFRVIMj+kWJo5wAAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 12:51:52 +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 UKYqIMj+kWIb6AAAauVa8A (envelope-from ) for ; Sat, 28 May 2022 12:51:52 +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 0180C6B20 for ; Sat, 28 May 2022 12:51:52 +0200 (CEST) Received: from localhost ([::1]:43302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuu2w-0006S8-HK for larch@yhetil.org; Sat, 28 May 2022 06:51:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuu2d-0006QZ-SR for help-guix@gnu.org; Sat, 28 May 2022 06:51:31 -0400 Received: from ns13.heimat.it ([46.4.214.66]:35902) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuu2c-0000rI-1D for help-guix@gnu.org; Sat, 28 May 2022 06:51:31 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 0BCC33021A1; Sat, 28 May 2022 10:51:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHdG21sHJwpB; Sat, 28 May 2022 10:51:06 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 2A9E2300F9C; Sat, 28 May 2022 10:51:06 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id B01FF1B14DEC; Sat, 28 May 2022 12:51:05 +0200 (CEST) Received: (nullmailer pid 17668 invoked by uid 1000); Sat, 28 May 2022 10:51:04 -0000 From: Giovanni Biscuolo To: kiasoc5@disroot.org, help-guix@gnu.org Subject: Re: How to install guix system from existing linux with guix package manager? In-Reply-To: <87czfzqol7.fsf@xelera.eu> Organization: Xelera.eu References: <45a3b0f65ad8a06985a6ae12289136da21c03dee@disroot.org> <87czfzqol7.fsf@xelera.eu> Date: Sat, 28 May 2022 12:51:04 +0200 Message-ID: <871qweq6av.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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=1653735112; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=V6ckRa/SVDC/ox0sno5aJjyVRPes0ZOYiEh8/cAsVB8=; b=RcLsACUeuTGn35rwoFEc86VZl297mY1DySVciGFt69OjlghNPfwij8oAtYagUi6rPvNjLP B+taid1gKPL6rbNnWBbnyooGeZjxbtzlm/MnVP/IaOtOJrXTbfcI1QllwjyUj2Wt7kuRwj rsWPEXQKcHCcIu5J0OnF39fzpwKWek3Z3hNWljnB3Uty2TfQL7Izt6Fo21m7w9AnBz8joo mUWBJCAaYeDe6uPUrwK+xx/a0MCKV+3S5W0+xuha6UdF9e1qLLvr+ba5mh0PrmPn86ULvK o4ejl6QKnqoWnbg2AWKCUYpWjFMpFowAQNH5cKUtQbgYqC98gifbQkDQjdjXkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653735112; a=rsa-sha256; cv=none; b=cZB16RO27MR7SG51by48KuPcykkmqXTWSPSIALLVee2B+lW0N+fRkPHD6u7By2/9S3+qyn /u7ADr48dl4cMJda04Vo5cWopN4Pnf8MvArw4t2en+xLICbDj2R3pip+5iSfFrQNT1PJbC rw7rHrtuxANo/ITjXLW+CmMl/v0RnduiqzQoROM/y5zpAoelBzNCszdU4a1xZgteh0QCnh NXi25a5iurULWDZzsO7zYcYWO1iDsXTwZVw9ZA2w4E3vmzS67QyHxUvsymM/rcjlfrmo3+ WTBuN2weQhe2oMtVb+arKcfij4m+AXWygJpi7mSrU5bsgeN4qIUgI9AIsycmnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 0180C6B20 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9hD/ZhLXP5eT --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello kiasoc5, this morning I realized that... Giovanni Biscuolo writes: [...] >> WDYT? any tips/suggestions? > > I never tried this, ehrm: it's false :-O Actually I'm using a shared store AND "LOCALSTATEDIR/guix/" (usually /var/guix) between my host OS and all my LXC containers, it's something I learned by adapting Ludo' and Ricardo notes on installing Guix on a cluster; please see this message (it was Feb 2019, I forgot I wrote that) for details and pointers to the relevant documentation: https://yhetil.org/guix/87h8d8dl6d.fsf@roquette.mug.biscuolo.net/ In your case the "store and state sharing" systems are not running and at the same time like on a cluster, but from a systemistic point of view it's (almost) the same thing some of us are already doing in their setup. Please pay attention: you can skip the setup of guix-daemon on client (compute) nodes since... you have no clients :-), but you should keep guix-daemon updated (as root, sudo -E...) on both dual-boot operating systems to avoid potential problems due to changes in state data format and/or API. Obviously also consider all the caveats I mentioned in my previous message. As a side note, you could also consider to switch to Guix System and keep your foreign distro running as an LXC container sharing store and state with the host, but you have to be familiar with LXC tooling [1] AND know how to "convert" a "physical" machine to an LXC container [2], giving the guests acces to the host GPU [3] for graphical applications or using remote dektop applications like SPICE or VNC... it's a little bit complex but pure fun! [...] Please keep us updated on your progress! Happy Hacking! Gio' [1] see info '(guix) Virtualization services' [2] this is a sort of howto: https://askubuntu.com/questions/680608/how-to-migrate-physical-12-04-machin= e-into-lxc [3] https://bookstack.swigg.net/books/linux/page/lxc-gpu-access =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmKR/pgMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSde4P/Am5G8z4bKUIfwOxHxnGgxCCXIGKygdTtChD0f06 ijHsJunTDLCy6u+kYZ/SNAfKfEeGRIbYwsVT+09Lmxjb0obB1jP31tDVQ7XPqufN QNNmLddOx9198i+oFYxa8+AVi28fBVrxBkqBRDo54WPjXiqaUhlH9VOjvCNTYsFb RvumdKrhJBvYwfC6HhOVTwI5TgZB8HtY9FiXvl+r2hut1WPO95LVz97OaakL76Nv TXkjDT7XqUv6KDNyBnpEDbKAbvMC+cGNCgz64Czk5ISiWWDBHpDiQrGJUCvwJDXm pcsaD3nPuc5ZFe0viW5J3hb8MgFFDVPWwiX9YzkL4zMVhBePTuxHX/1pyRwJnKPb fUJanL48mBdf6l8dN0L+pls26UXMCJkv/o7xNgZQw7UPi+sByiUwS8X738/qwasK s5MdbrX9tcN+tE5gVzH/ysfLIKAIai/gSn7tNdrNtBkEDg8DBLPoKhzoDQ11tvLb T5hdfTuypVVTlAcnkllVYVzVD8XxRce0O1fyGhe/DK2+Wuce8VySylXlajB3thmT QisPAOvZrW/zj+shPQFiFS8rWRfr4zJpOa8mwLhED4BEg04GIdobp0HugMn2w6M7 41Gi8K+8tK6nww5TbWeACKrQ5axIxEVSbbftBlX70/c3lkrE80Ixp7CbijxDRL1U oM9D =SsVs -----END PGP SIGNATURE----- --=-=-=--