Cannot rerun 'guix system init'

  • Done
  • quality assurance status badge
Details
2 participants
  • Eric Bavier
  • Ludovic Courtès
Owner
unassigned
Submitted by
Eric Bavier
Severity
normal
E
E
Eric Bavier wrote on 2 Jun 2015 18:43
(address . bug-guix@gnu.org)
3f30776452649ca3f636862dc408109b@openmailbox.org
Hello Guix,

I ran into this issue while doing a fresh install of Guix 0.8.2. I had
a typo in my declaration of the grub device (I had unintentionally left
out the leading "/" on "/dev/sda"), so 'guix system init' failed when
setting up grub. I fixed the typo in the OS config and reran 'guix
system init' but was greeted by an error about existing store
directories.

I ended up needing to remove the /mnt/var, /mnt/grub, and /mnt/gnu/store
before being able to successfully rerun 'guix system init'.

It would be useful for newcomers if recovering from mistakes were more
trivial.

--
`~Eric
L
L
Ludovic Courtès wrote on 10 Jun 2015 14:12
(name . Eric Bavier)(address . ericbavier@openmailbox.org)(address . 20722-done@debbugs.gnu.org)
87bngniwxg.fsf@gnu.org
Eric Bavier <ericbavier@openmailbox.org> skribis:

Toggle quote (11 lines)
> I ran into this issue while doing a fresh install of Guix 0.8.2. I
> had a typo in my declaration of the grub device (I had unintentionally
> left out the leading "/" on "/dev/sda"), so 'guix system init' failed
> when setting up grub. I fixed the typo in the OS config and reran
> 'guix system init' but was greeted by an error about existing store
> directories.
>
> I ended up needing to remove the /mnt/var, /mnt/grub, and
> /mnt/gnu/store before being able to successfully rerun 'guix system
> init'.

Fixed by 78acff7, thanks!

Ludo’.
Closed
?