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

Debbugs page

Eric Bavier wrote 10 years ago
(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
Ludovic Courtès wrote 10 years ago
(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
?
Your comment

This issue is archived.

To comment on this conversation send an email to 20722@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 20722
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help