From: Chris Marusich <cmmarusich@gmail.com>
To: Marco van Hulten <marco@hulten.org>
Cc: help-guix@gnu.org
Subject: Re: no passwd command during installation
Date: Wed, 01 Nov 2017 22:59:55 -0700 [thread overview]
Message-ID: <871slhgqzo.fsf@gmail.com> (raw)
In-Reply-To: 20171101215852.6eab2d53@graviton.instanton
[-- Attachment #1: Type: text/plain, Size: 2366 bytes --]
Marco van Hulten <marco@hulten.org> writes:
> Hello,
>
> During the installation process of GuixSD 0.13.0, I'd like to login
> from another system. After setting up the network, I start the SSH
> server through
>
> herd start ssh-daemon
>
> as described on
> https://www.gnu.org/software/guix/manual/html_node/Preparing-for-Installation.html
> .
>
> Then I want to set the root password. The manual tells me to use
> passwd, but Bash returns "command not found". There is also no
> ssh-keygen to create SSH keys.
These commands are present in a recent version of the installation
image. Perhaps the version you used is old enough that they are not
present? Since Wayne also seems to have seen the same problem, I wonder
if perhaps it's an issue with an old image being hosted somewhere?
Where did you get the installation image?
I verified that the commands are present by running the following
commands from a system that has a recent version of Guix:
$ guix system vm gnu/system/install.scm
...
/gnu/store/zrcjqk520wlbq0m9rq8ss60sj24hjpjg-run-vm.sh
$ /gnu/store/zrcjqk520wlbq0m9rq8ss60sj24hjpjg-run-vm.sh
The commands "passwd" and "ssh-keygen" were present at
/run/setuid-programs/passwd and
/run/current-system/profile/bin/ssh-keygen, respectively.
> Additionally, it could be useful if the scp or ssh were available from
> the installation prompt.
Similar to above, I can confirm that the programs "ssh" and "scp" are
present in a recent version of the installation image.
> SSH in either direction would give me a way to copy config.scm to a
> system where I can e-mail from. That would be useful, because I am
> having problems installing GuixSD (unionfs of 2.1G gets full during
> guix system init /mnt/etc/config.scm /mnt --fallback; the last option
> was suggested by guix when it couldn't fetch some package).
That sounds frustrating! Maybe you can try first installing the "bare
bones" operating system (the example file for this is located at
/etc/configuration/bare-bones.scm in the installation image). After
you've booted into that initial bare bones operating system, you could
run "guix system reconfigure" using the actual operating system
configuration file you want. That might help if the issue is lack of
storage space in the installation image.
--
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-11-02 6:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-01 20:58 no passwd command during installation Marco van Hulten
2017-11-02 1:09 ` Wayne DePrince Jr.
2017-11-02 5:59 ` Chris Marusich [this message]
2017-11-02 8:34 ` Marco van Hulten
2017-11-02 9:58 ` Chris Marusich
2017-11-02 10:14 ` Chris Marusich
2017-11-07 9:16 ` Ludovic Courtès
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=871slhgqzo.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=help-guix@gnu.org \
--cc=marco@hulten.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).