Subject: Re: bug#38821: Can't run guix from external drive.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 02 Jan 2020 19:37:43 +0100

Hi,

Jan <[email-masked]> skribis:

> I tried running "guix install" from my USB hard drive and that's what I
> got:
>
> user@machine /media/user/Backup$
> Backtrace:
>            4 (apply-smob/1 #<catch-closure 7f9a0f679340>)
> In ice-9/boot-9.scm:
>     705:2  3 (call-with-prompt ("prompt") #<procedure 7f9a0f6902e0 …> …)
> In ice-9/eval.scm:
>     619:8  2 (_ #(#(#<directory (guile-user) 7f9a0f309140>)))
> In ice-9/command-line.scm:
>    189:23  1 (load/lang "/home/lain/.config/guix/current/bin/guix")
> In unknown file:
>            0 (getcwd)
>
> ERROR: In procedure getcwd:
> In procedure getcwd: There's no such a file or directory

It most likely means that the current working directory,
/media/user/Backup, was unmounted or somehow disappeared in the
meantime.

Can you confirm that this is the case?

Thanks,
Ludo’.