unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: kiasoc5@disroot.org, help-guix@gnu.org
Subject: Re: How to install guix system from existing linux with guix package manager?
Date: Sat, 28 May 2022 12:51:04 +0200	[thread overview]
Message-ID: <871qweq6av.fsf@xelera.eu> (raw)
In-Reply-To: <87czfzqol7.fsf@xelera.eu>

[-- Attachment #1: Type: text/plain, Size: 2036 bytes --]

Hello kiasoc5,

this morning I realized that...

Giovanni Biscuolo <g@xelera.eu> 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-machine-into-lxc

[3] https://bookstack.swigg.net/books/linux/page/lxc-gpu-access


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

  reply	other threads:[~2022-05-28 10:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 22:21 How to install guix system from existing linux with guix package manager? kiasoc5
2022-05-27 10:03 ` Giovanni Biscuolo
2022-05-28 10:51   ` Giovanni Biscuolo [this message]
2022-05-28 19:56   ` kiasoc5
2022-05-30  9:14     ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qweq6av.fsf@xelera.eu \
    --to=g@xelera.eu \
    --cc=help-guix@gnu.org \
    --cc=kiasoc5@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).