unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Saku Laesvuori <saku@laesvuori.fi>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Error building with guix system image
Date: Tue, 25 Apr 2023 20:16:41 +0300	[thread overview]
Message-ID: <20230425171641.bmpsexbocakxvoqr@X-kone> (raw)
In-Reply-To: <87y1mmyazi.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

> > (define %operating-system
> >   (operating-system
> >    (host-name "image-test")
> >    (bootloader (bootloader-configuration
> >                 (bootloader grub-bootloader)
> >                 (targets '("/dev/sdX"))))
> >    (file-systems (cons*
> >                   (file-system
> >                    (mount-point "/")
> >                    (device "/dev/sdX1")
> >                    (type "ext4"))
> >                   %base-file-systems))))
> 
> Do you correctly substitute /dev/sdX for your real device name (e.g.,
> /dev/sda) ?

I did try with that too, but it failed with the same error. Today I
almost accidentally found out that this error was caused by a corrupt
store item and was fixed by running `guix gc --verify=contents,repair`.

The error message could certainly be improved (or rather, a error
message about a corrupt store could be added), but I didn't find the
actual failing check so that I can't send a patch.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-04-25 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 10:51 Error building with guix system image Saku Laesvuori
2023-04-20 12:49 ` Maxim Cournoyer
2023-04-25 17:16   ` Saku Laesvuori [this message]
2023-05-01  1:45     ` Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20230425171641.bmpsexbocakxvoqr@X-kone \
    --to=saku@laesvuori.fi \
    --cc=help-guix@gnu.org \
    --cc=maxim.cournoyer@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).