From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: guix fail to reconfigure the system Date: Thu, 26 Apr 2018 01:05:03 +0200 Message-ID: <87h8nyc2g0.fsf@lassieur.org> References: <877eov2pqj.fsf@gmx.com> <87tvrzow3s.fsf@gnu.org> <87tvrzq946.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBTTL-000636-KZ for help-guix@gnu.org; Wed, 25 Apr 2018 19:05:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBTTK-0001IR-IH for help-guix@gnu.org; Wed, 25 Apr 2018 19:05:11 -0400 In-reply-to: <87tvrzq946.fsf@gmx.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Matija Obid Cc: help-guix@gnu.org Hi Matija, Matija Obid writes: > ludo@gnu.org (Ludovic Courtès) writes: > >> Hello Maitja, >> >> Maitja Obid skribis: >> >>> I have freshly installed guixsd distribution. Afer running guix pull and >>> system build i was trying to switch into newly built system with >>> system reconfigure which gives me next error: >>> >>> root@hostname ~# guix system reconfigure /etc/config.scm >>> guix system: error: stat: No such file or directory: "system" >>> >>> What can be wrong? >> >> No idea at first sight. Could you share your config.scm? >> >> Thanks, >> Ludo’. [...] > (bootloader (bootloader-configuration > (bootloader grub-bootloader) > (target "/dev/sda"))) > > (file-systems (cons (file-system > (device "system") > (mount-point "/") > (type "ext4")) > %base-file-systems)) The meaning of 'device' depends of 'title', whose default value is 'device. So right now Guix looks for a node under /dev, but there is no /dev/system. You probably forgot to add (type 'label), if "system" refers to the file system label name. Or alternatively you could use (device "/dev/sdaX"). You can have a look at https://www.gnu.org/software/guix/manual/guix.html#index-file_002dsystem for more details. Good luck! Clément