all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tiantian <typ22@foxmail.com>
To: 57307@debbugs.gnu.org
Subject: bug#57307: guix system reports an error when uuid is used in menu-entry
Date: Sat, 20 Aug 2022 18:08:21 +0800	[thread overview]
Message-ID: <tencent_D8459481524DC143BF10352342BC0906A606@qq.com> (raw)


[-- Attachment #1.1.1.1: Type: text/plain, Size: 1006 bytes --]

I want to add an menu-entry in bootloader-configuration. I use uuid to 
specify the partition in device field of menu-entry , because my 
partition has no label. But when I use 'guix system reconfigure', guix 
system reports an error: "guix system: error: #<<uuid> type: dce bv: 
#vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid 
G-expression input"

After asking friends in #guixcn, I still can't get more error messages. 
It's the only error message. I can't find its reason.

To find the problem, I also simplified my configuration file and tried 
to use ‘git bisect’ to find it, but I failed. I couldn't find a good 
commit. I rolled back to c1719a0 commit in git repository, but I still 
got the error message after building and using './pre-inst-env guix 
system build ./config-test.scm'. I had to give up solving it and just 
send an email to report the bug.

My English is poor. I use translation software. If the grammar is wrong, 
please forgive me.

[-- Attachment #1.1.1.2: Type: text/html, Size: 1430 bytes --]

[-- Attachment #1.1.2: config-test.scm --]
[-- Type: text/x-scheme, Size: 1498 bytes --]

(use-modules (gnu)
             (gnu system nss)
             (gnu system linux-initrd)
             (gnu bootloader grub)
             (guix gexp)
             (guix channels)
             (guix inferior)
             (srfi srfi-1))
(use-service-modules desktop xorg mail nix networking sddm docker)
(use-package-modules certs gnome fonts xfce linux)


(operating-system
 (host-name "guix-pc")
 (timezone "Asia/Shanghai")
 (locale "zh_CN.utf8")
 (keyboard-layout (keyboard-layout "cn"))
 (bootloader (bootloader-configuration
              (bootloader grub-efi-bootloader)
              (target "/boot/efi")
	      (menu-entries
	       (list
		;; (menu-entry
		;;   (label "archlinux")
		;;   (device (uuid "1C31-A17C" 'fat))
		;;   (chain-loader "/EFI/ArchLinux/grubx64.efi"))
		(menu-entry
		 (label "test")
		 (device (uuid "6d5b13d4-6092-46d0-8be4-073dc07413cc"))
		 (linux "/rootfs/gnu/store/7rbmca2wcgsbxhdh4w1whmz7q6rndmlm-linux-5.18.14/bzImage")
		 (initrd "/rootfs/gnu/store/22zfdzd6c7blr2k009armbdwgji20a4b-raw-initrd/initrd.cpio.gz"))))
              (keyboard-layout keyboard-layout)))
 (file-systems (cons*
		(file-system
		 (device (file-system-label "guix-root"))
		 (mount-point "/")
		 (type "btrfs")
		 (options "subvol=rootfs,ssd,discard,compress"))
		(file-system
		 (device (file-system-label "Linux_home"))
		 (mount-point "/home")
		 (type "ext4"))
		(file-system
		 (device (uuid "1C31-A17C" 'fat))
		 (mount-point "/boot/efi")
		 (type "vfat"))
		%base-file-systems))
 )

[-- Attachment #1.1.3: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 4233 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

             reply	other threads:[~2022-08-20 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-20 10:08 tiantian [this message]
2022-08-21  8:39 ` bug#57307: guix system reports an error when uuid is used in menu-entry Josselin Poiret via Bug reports for GNU Guix
2022-08-21  8:41   ` bug#57307: [PATCH 1/2] bootloader: Convert device in menu-entry to proper sexp Josselin Poiret via Bug reports for GNU Guix
2022-08-21  8:41   ` bug#57307: [PATCH 2/2] tests: Add test for menu-entry roundtrips as sexps Josselin Poiret via Bug reports for GNU Guix
     [not found]   ` <016c770e-b5d6-e2ab-b6b3-552b83496cc9@foxmail.com>
     [not found]     ` <tencent_2CD86BF61F4285B61885E32B31122D6A0C09@qq.com>
2022-08-21 13:03       ` bug#57307: guix system reports an error when uuid is used in menu-entry Josselin Poiret via Bug reports for GNU Guix
2022-08-28 21:46   ` Marius Bakke

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=tencent_D8459481524DC143BF10352342BC0906A606@qq.com \
    --to=typ22@foxmail.com \
    --cc=57307@debbugs.gnu.org \
    /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.