From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21068: guix system: error: build failed: path `/gnu/store/..-grub.cfg' is not valid Date: Thu, 16 Jul 2015 15:37:01 +0200 Message-ID: <87y4igw7eq.fsf@gnu.org> References: <55A69EEB.3050400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFjMQ-0007Fq-T6 for bug-guix@gnu.org; Thu, 16 Jul 2015 09:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFjMP-0002Jt-Rz for bug-guix@gnu.org; Thu, 16 Jul 2015 09:38:02 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:49350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFjMP-0002Jl-PR for bug-guix@gnu.org; Thu, 16 Jul 2015 09:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZFjMP-0002mf-Aq for bug-guix@gnu.org; Thu, 16 Jul 2015 09:38:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <55A69EEB.3050400@gmail.com> (Germano Gabbianelli's message of "Wed, 15 Jul 2015 19:56:59 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Germano Gabbianelli Cc: 21068@debbugs.gnu.org Germano Gabbianelli skribis: > tyrion ~$ sudo guix system init --no-grub /mnt/etc/config.scm /mnt > [sudo] password for tyrion: > warning: failed to install locale: Invalid argument > /gnu/store/q32xg8nmyjwrl5yc18hj7ay5h4rgzkgy-system > > initializing operating system under '/mnt'... > guix system: error: build failed: path > `/gnu/store/hill6gywff6p2c3h1zbc7h5xj0cr4yn2-grub.cfg' is not valid This could be due to how you fiddled manually with /gnu/store and /var/guix. In general, one should never manually touch these directories; instead, one should use =E2=80=98guix gc=E2=80=99 and similar = commands. > I also trying reinstalling guix by deleting /gnu, /var/guix, and > /var/log/guix (and also wiping the partition with rm) To be safe, could you start anew again, and report back? sudo rm -rf /gnu /var/guix # reinstall from binary tarball > (bootloader (grub-configuration (device "/dev/sda9"))) There=E2=80=99s a mistake here: it should be =E2=80=9C/dev/sda=E2=80=9D (sa= y), not =E2=80=9C/dev/sda9=E2=80=9D (the latter designates a partition, whereas the former designates a disk.) It doesn=E2=80=99t matter here since you passed --no-grub, but it w= ould otherwise lead to a =E2=80=98grub-install=E2=80=99 failure. HTH, Ludo=E2=80=99.