unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Soren Stoutner via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Re: to save my Guix System installation
Date: Wed, 24 May 2023 15:28:45 -0700	[thread overview]
Message-ID: <8599049.t0BYu5ZxDu@soren-desktop> (raw)
In-Reply-To: <CZp4sO8VTSZN3Vu1W3ux_uuZtRDxbvWm-dpFkCcNT7yjPp2WCaEDtyQXb3x0z_YaGChwEPOnyMVeACum8SvajJQ28PME5ugejrkDc4-8Do8=@protonmail.com>

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

Gottfried,

One way to do this is to use images to copy the entire hard drive or individual partitions to 
a new location, which preserves all your data and configurations.  I have done that many 
times using Clonezilla.

https://clonezilla.org/clonezilla-live.php[1]

On Tuesday, May 23, 2023 6:09:23 PM MST Skyler wrote:
> If you declared all your packages in the file that contains your
> operating-system definition then you can just save that file and point a
> new guix installation towards it to restore your configuration. If you've
> run imperative commands (for example, `guix install some-package`) then
> you'll need to record those separately, `guix package -I` will list all of
> the packages that you've installed imperatively. I'm not sure about other
> imperative actions, I'm obsessive about doing things declaratively exactly
> because it makes this kind of situation easy to deal with (I have a habit
> of bungling up my machines and needing to install them fresh). If you can
> share more details about how you have configured your guix system then I
> might be able to offer more specific advice.
> 
> Of course, this will do nothing to save your data, if you have data
> documents or other files in your home directory that are not system
> configuration then those will need to be saved separately in either case.
> 
> Sincerely,
> Skyler
> 
> ------- Original Message -------
> 
> On Tuesday, May 23rd, 2023 at 3:50 AM, Gottfried <gottfried@posteo.de> wrote:
> > Hi,
> > 
> > I have on one harddisk Guix installed,
> > on a second harddisk GNUinOS.
> > 
> > I want to reinstall GNUinOS
> > 
> > and may be later on the same harddisk,
> > on which Guix resides, reduce the size of the harddisk
> > and install Trisquel on a second partition on it.
> > 
> > To be on the save side
> > I would like to copy... my Guix to a separate harddisk
> > in order not to loose it.
> > 
> > So that I can in the worst case replace it/I don’t know what to call it
> > 
> > What are the options.
> > 
> > I was reading the cookbook, but the procedure is not clear to me.
> > 
> > What are the commands to copy/replicate my Guix System installation
> > to an external harddisk (via USB connected) and later in case
> > recopy it.
> > 
> > 
> > Kind regards
> > 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2023-05-24 22:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23 10:50 to save my Guix System installation Gottfried
2023-05-23 16:32 ` pelzflorian (Florian Pelz)
2023-05-23 17:17   ` Felix Lechner via
2023-05-24 16:16     ` Gottfried
2023-05-24 16:38       ` Felix Lechner via
2023-05-25  0:35     ` Maxim Cournoyer
2023-05-25  9:39       ` pelzflorian (Florian Pelz)
2023-05-25  9:42         ` pelzflorian (Florian Pelz)
2023-05-24  1:09 ` Skyler
2023-05-24 22:28   ` Soren Stoutner via [this message]

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=8599049.t0BYu5ZxDu@soren-desktop \
    --to=help-guix@gnu.org \
    --cc=soren@stoutner.com \
    /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).