help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no passwd command during installation


From: Chris Marusich
Subject: Re: no passwd command during installation
Date: Wed, 01 Nov 2017 22:59:55 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Marco van Hulten <address@hidden> 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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]