all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Germano Gabbianelli <tyrion.mx@gmail.com>
Cc: 21068@debbugs.gnu.org
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	[thread overview]
Message-ID: <87y4igw7eq.fsf@gnu.org> (raw)
In-Reply-To: <55A69EEB.3050400@gmail.com> (Germano Gabbianelli's message of "Wed, 15 Jul 2015 19:56:59 +0200")

Germano Gabbianelli <tyrion.mx@gmail.com> 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 ‘guix gc’ 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’s a mistake here: it should be “/dev/sda” (say), not “/dev/sda9”
(the latter designates a partition, whereas the former designates a
disk.)  It doesn’t matter here since you passed --no-grub, but it would
otherwise lead to a ‘grub-install’ failure.

HTH,
Ludo’.

  reply	other threads:[~2015-07-16 13:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-15 17:56 bug#21068: guix system: error: build failed: path `/gnu/store/..-grub.cfg' is not valid Germano Gabbianelli
2015-07-16 13:37 ` Ludovic Courtès [this message]
2015-07-26 13:25   ` Germano Gabbianelli
2015-07-26 19:51     ` Germano Gabbianelli
2015-07-27  8:18     ` Alex Kost

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4igw7eq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=21068@debbugs.gnu.org \
    --cc=tyrion.mx@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.