bug-guix
[Top][All Lists]
Advanced

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

bug#21068: guix system: error: build failed: path `/gnu/store/..-grub.cf


From: Germano Gabbianelli
Subject: bug#21068: guix system: error: build failed: path `/gnu/store/..-grub.cfg' is not valid
Date: Sun, 26 Jul 2015 15:25:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0


On 16/07/15 15:37, Ludovic Courtès wrote:
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 did not fiddle with those directory. I only removed them to reinstall guix.
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
I did it, for the third time. I always get the same error:

guix system: error: build failed: path `/gnu/store/kv217jzyir2wx0lwwxl7ljpwc4fzafpi-grub.cfg' is not valid

This time I used guix 0.8.3.

   (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.
I tried removing that line, but if I do I get an error saying "missing field initializers (bootloader)". So I also tried to specify a non existent disk (i.e. /dev/sdb), so it does not complain about the bootloader options, but I still get the "path 'grub.cfg' is not valid" error.






reply via email to

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