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.
(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: OpenPGP_0x47280B4EFC5FC701.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to