From: li@dotdot.li
To: help-guix@gnu.org
Subject: "guix system init" from regular system fails
Date: Fri, 28 Oct 2022 23:29:26 +0200 [thread overview]
Message-ID: <878rkzljrd.fsf@dotdot.li> (raw)
Hello,
I am trying to prepare a new system on new drive from my current Guix
installation, i.e., the first way mentioned in (info "(guix)System
Images"). The documentation at (info "(guix)Invoking guix system)") is
sparse, so I followed those in (info "(guix)Manual Installation"), which
I have successfully done before a couple of times.
I have made sure the partitions are mounted (/ and /boot/efi @ /mnt
and /mnt/boot/efi) and that that they are correctly configured in
/mnt/etc/config.scm.
The only difference is that I did not run "herd start cow-store /mnt".
That service is only available when using the installer. I also believe
that it is not necessary because the documentation says that
> This makes ‘/gnu/store’ copy-on-write, such that packages added to it
> during the installation phase are written to the target disk on ‘/mnt’
> rather than kept in memory. This is necessary because the first phase
> of the ‘guix system init’ command (see below) entails downloads or
> builds to ‘/gnu/store’ which, initially, is an in-memory file system.
In this case /gnu/store is not an in-memory file system, so I assume
this is not necessary. But maybe something equivalent is necessary?
"sudo guix system init /mnt/etc/config.scm /mnt" succeeds quickly
with output:
<...snip...>
/gnu/store/dhk4hrjpqfcph2alliwg18iiqwc3j86x-system
/gnu/store/q6b71455an8dl1hg8y859rkja22fxk4j-grub.cfg
initializing operating system under '/mnt/'...
copying to '/mnt'...
populating '/mnt'...
The following derivation will be built:
/gnu/store/sjg10gcq9m88ad7q3znqxfc7qyq4aq8j-install-bootloader.scm.drv
building /gnu/store/sjg10gcq9m88ad7q3znqxfc7qyq4aq8j-install-bootloader.scm.drv...
guix system: bootloader successfully installed on /boot/efi
After this /mnt/gnu/store is populated and the bootloader also appears
to be installed. However, this is not a usable system. /mnt/{bin,etc,
home,run} are all empty (except for /mnt/etc/config.scm). Where did I
go wrong?
Thanks for your help!
L
next reply other threads:[~2022-10-28 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 21:29 li [this message]
2022-10-28 21:42 ` "guix system init" from regular system fails Tobias Geerinckx-Rice
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=878rkzljrd.fsf@dotdot.li \
--to=li@dotdot.li \
--cc=help-guix@gnu.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).