Hello,

I try to create a qcow2 image from a system configuration.


This is the config

### START

;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu))
(use-service-modules networking ssh desktop)
(use-package-modules tmux lxqt librewolf ssh xorg package-management)

(operating-system
  (host-name "netvm")
  (timezone "Europe/Athens")
  (locale "el_GR.utf8")

  (keyboard-layout (keyboard-layout "us,el" #:options '("grp:alt_shift_toggle")))

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets '("/dev/sdX"))))

  ;; It's fitting to support the equally bare bones ‘-nographic’
  ;; QEMU option, which also nicely sidesteps forcing QWERTY.
  (kernel-arguments (list "console=ttyS0,115200"))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "konstantinos")
                (comment "Konstantinos' main account")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video")))
               %base-user-accounts))


  ;; Globally-installed packages.
  (packages (append (list tmux lxqt librewolf) %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (append (list (service dhcp-client-service-type)
                          (service lxqt-desktop-service-type))
                    %base-services)))

### END


I build the config with the following command


guix system image --image-type=qcow2 --image-size=10G system.scm


But during building I get the following error


-builder for `/gnu/store/a5yfcnbkh6l5azsnsd6xx5ghjjc0qy4k-console-keymap.us-el.drv' failed with exit code 1 build of /gnu/store/a5yfcnbkh6l5azsnsd6xx5ghjjc0qy4k-console-keymap.us-el.drv failed


And the drv file contains the following

/gnu/store/bgrrik798z5zgm6gckwcmk68ihswlhvh-console-setup-1.212/bin/ckbcomp: Can not find file "symbols/el" in any known directory
Backtrace:
           1 (primitive-load "/gnu/store/jqgd55xlvamadnh2k54pxfy19j9…")
In ice-9/boot-9.scm:
   2007:7  0 (error _ . _)

ice-9/boot-9.scm:2007:7: In procedure error:
failed to create console keymap for keyboard layout "us,el"


I am new to guix so it may be my error.


Thanks,

Konstantinos






Reply via email to